Fermion¶
Fermionic quantum operators.
- class sympy.physics.quantum.fermion.FermionFockBra(n)[source]¶
Fock state bra for a fermionic mode.
- Parameters:
n : Number
The Fock state number.
- class sympy.physics.quantum.fermion.FermionFockKet(n)[source]¶
Fock state ket for a fermionic mode.
- Parameters:
n : Number
The Fock state number.
- class sympy.physics.quantum.fermion.FermionOp(*args, **hints)[source]¶
A fermionic operator that satisfies {c, Dagger(c)} == 1.
- Parameters:
name : str
A string that labels the fermionic mode.
annihilation : bool
A bool that indicates if the fermionic operator is an annihilation (True, default value) or creation operator (False)
Examples
>>> from sympy.physics.quantum import Dagger, AntiCommutator >>> from sympy.physics.quantum.fermion import FermionOp >>> c = FermionOp("c") >>> AntiCommutator(c, Dagger(c)).doit() 1