Class spinhalfSC#

Class Documentation#

class spinhalfSC#

Spin-half impurity model in a superconducting or spin-only basis.

This model constructs a charge- and spin-conserving impurity problem in a reduced local basis used for spin-only sectors and superconducting extensions.

Public Functions

inline spinhalfSC(double teps, double tUint, double tmag)#

Construct the spin-half superconducting impurity model.

Parameters:
  • teps – Onsite impurity energy.

  • tUint – Hubbard interaction strength.

  • tmag – Zeeman splitting field.

inline void addSCDelta(double delta)#

Add a superconducting pairing term to the impurity Hamiltonian.

Parameters:

delta – Pairing amplitude added to the effective mean-field term.

inline std::vector<std::vector<int>> get_basis() const#
inline std::vector<std::vector<double>> get_eigenvaluesQ() const#
inline std::vector<double> get_chi_Q() const#

Return the parity factor associated with each symmetry sector.

void set_chi_Q()#

Update the parity factors for the active basis.

Public Members

std::vector<qOperator> f_dag_operator#

Fermion creation operators in the rotated symmetry basis.

std::vector<std::vector<double>> eigenvalues_Q#

Eigenvalues stored by symmetry block.

std::vector<double> chi_Q#

Parity sign for each sector.

std::vector<std::vector<int>> n_Q#

Quantum-number labels for each block.