qrisp.operators.qubit.QubitOperator.adjoint#

QubitOperator.adjoint()[source]#

Returns an the adjoint operator.

Returns:
QubitOperator

The adjoint operator.

Examples

We create a QubitOperator and inspect it’ adjoint.

>>> from qrisp.operators import A,C,Z
>>> H = A(0)*C(1)*Z(2)
>>> print(H.adjoint())
C_0*A_1*Z_2