pairinteraction
A Rydberg Interaction Calculator
Parity.py.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2024 Pairinteraction Developers
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
4#include "./Parity.py.hpp"
5
7
8#include <nanobind/nanobind.h>
9
10namespace nb = nanobind;
11using namespace pairinteraction;
12
13void bind_parity(nb::module_ &m) {
14 nb::enum_<Parity>(m, "Parity")
15 .value("ODD", Parity::ODD)
16 .value("EVEN", Parity::EVEN)
17 .value("UNKNOWN", Parity::UNKNOWN);
18}
void bind_parity(nb::module_ &m)
Definition: Parity.py.cpp:13