tequila.hamiltonian.paulis.pauli

tequila.hamiltonian.paulis.pauli(qubit, type) → tequila.hamiltonian.qubit_hamiltonian.QubitHamiltonian[source]
Parameters
  • qubit (int or list of ints) –

  • type (str or int or list of string or int) – define if X, Y or Z (0,1,2)

Returns

Return type

QubitHamiltonian