tequila.hamiltonian.paulis.Z

tequila.hamiltonian.paulis.Z(qubit) → tequila.hamiltonian.qubit_hamiltonian.QubitHamiltonian[source]

Initialize a single Pauli Z Operator

Parameters

qubit (int or list of ints) – qubit(s) on which the operator should act

Returns

Return type

QubitHamiltonian