qrisp.operators.fermionic.FermionicOperator.dagger#

FermionicOperator.dagger()[source]#

Returns the daggered/adjoint version of self.

Returns:
FermionicOperator

The Operator \(O^\dagger\).

Examples

We create a FermionicOperator and dagger it:

from qrisp.operators import *

O = a(0)*c(1)*a(2) + a(3)
print(O.dagger())
# Yields: c2*a1*c0 + c3