quchip.approximations¶
Explicit strategies for reducing an authored Hamiltonian.
Functions
|
Validate a public approximation value without Boolean coercion. |
Classes
Immutable engine strategy applied after the engine assembles the authored physics. |
|
|
Keep every term in the authored finite-dimensional Hamiltonian. |
|
First-order structural rotating-wave selection. |
- class quchip.approximations.Approximation[source]¶
Bases:
ABCImmutable engine strategy applied after the engine assembles the authored physics.
- class quchip.approximations.Exact[source]¶
Bases:
ApproximationKeep every term in the authored finite-dimensional Hamiltonian.
- class quchip.approximations.RWA(keep_bands=None)[source]¶
Bases:
ApproximationFirst-order structural rotating-wave selection.
The default keeps bands whose energy-level index weights sum to zero. This counts levels, not energy. Uneven spectra can have near-resonant transitions in discarded bands. Compare with
Exact()or supplykeep_bands, which replaces the default selection.- Parameters:
keep_bands (iterable of tuple[int, ...] or None, default None) – Operator-band weights to keep.
Nonekeeps only bands whose weights sum to zero. Tuples follow the operator support order. Each tuple must be non-empty and integral, with its negated tuple also present. This adjoint closure preserves Hermiticity.
References
Cohen-Tannoudji, Dupont-Roc & Grynberg, Atom-Photon Interactions (Wiley, 1992), Ch. IV.