triqs.atom_diag.atom_diag.quantum_number_eigenvalues_checked
- triqs.atom_diag.atom_diag.quantum_number_eigenvalues_checked()
Dispatched C++ function(s).
[1] (op: Operator, atom: AtomDiagReal) -> [[float]] [2] (op: Operator, atom: AtomDiagComplex) -> [[float]]
Tabulate the eigenvalues \(q_{B,i}\) of a quantum-number operator \(\hat Q\), also checking that the operator is diagonal in the eigenbasis.
Same as quantum_number_eigenvalues, but also verifies that the supplied operator is diagonal in the eigenbasis of the Hamiltonian. If it is not, an exception is raised. Useful when constructing a quantum number from scratch and one wants to confirm that it really is a conserved quantity of atom.
- Parameters:
- opOperator, Operator
Observable operator; expected to be a quantum number (otherwise an exception is raised).
- atomAtomDiagReal, AtomDiagComplex
Solved diagonalization problem.
- Returns:
- [[float]]
Eigenvalues \(q_{B,i}\) grouped by invariant subspace \(B\).