qrunch.quantum.operators.second_quantization
Module containing operators used in the second quantization formulation.
Currently, fermionic and paired hardcore bosonic operators are supported.
Module Attributes
Type Alias of an expression of FermionOperators or an expression of HardcoreBosonOperators |
|
Type Alias of an expression of fermion and hard-core boson operators |
Functions
|
Tell static type checkers that in the True-branch this is the restricted version. |
|
Tell static type checkers that in the True-branch this is the restricted version. |
- SecondQuantizationExpression
Type Alias of an expression of FermionOperators or an expression of HardcoreBosonOperators
alias of
Expression[FermionOperators] |Expression[PairedHardcoreBosonOperators]
- SecondQuantizationHermitianSum = qrunch.quantum.operators.second_quantization.fermion.sums.FermionHermitianSumProtocol | qrunch.quantum.operators.second_quantization.hardcore_boson.sums.PairedHardcoreBosonHermitianSumProtocol
Type Alias of an expression of fermion and hard-core boson operators
- is_fermionic(operator: FermionHermitianSumProtocol | PairedHardcoreBosonHermitianSumProtocol) TypeGuard[FermionHermitianSumProtocol]
Tell static type checkers that in the True-branch this is the restricted version.
- Parameters:
operator (FermionHermitianSumProtocol | PairedHardcoreBosonHermitianSumProtocol)
- Return type:
TypeGuard[FermionHermitianSumProtocol]
- is_hardcore_bosonic(operator: FermionHermitianSumProtocol | PairedHardcoreBosonHermitianSumProtocol) TypeGuard[PairedHardcoreBosonHermitianSumProtocol]
Tell static type checkers that in the True-branch this is the restricted version.
- Parameters:
operator (FermionHermitianSumProtocol | PairedHardcoreBosonHermitianSumProtocol)
- Return type:
TypeGuard[PairedHardcoreBosonHermitianSumProtocol]
Modules
Module that contains the abstract fermion operators \(\hat{a}\) and \(\hat{a}^{\dagger}\). |
|
Module that contains the abstract hardcore boson operators \(\hat{b}\) and \(\hat{b}^\dagger\). |