tequila.hamiltonian.paulis.X

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

Initialize a single Pauli X Operator

Parameters

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

Returns

Return type

QubitHamiltonian