tequila.hamiltonian.paulis.Qm¶
-
tequila.hamiltonian.paulis.
Qm
(qubit) → tequila.hamiltonian.qubit_hamiltonian.QubitHamiltonian[source]¶ \(\frac{1}{2} \left( 1 + \sigma_z \right)\)
Notes
Initialize
\[\frac{1}{2} \left( 1 + \sigma_z \right)\]- Parameters
qubit (int or list of ints) – qubit(s) on which the operator should act
- Returns
- Return type
QubitHamiltonian