qsym2/bindings/python/projection/
mod.rs

1//! Python bindings for QSym² symmetry projection via representation theory.
2//!
3//! See [`crate::drivers::projection`] for more information.
4
5use pyo3::FromPyObject;
6
7pub mod density;
8pub mod slater_determinant;
9
10/// Python-exposed enumerated type to handle the union type `str | int`.
11#[derive(FromPyObject)]
12pub enum PyProjectionTarget {
13    Symbolic(String),
14    Numeric(usize),
15}