German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Pauli.evolve

Pauli.evolve(other, qargs=None, frame='h')[Quellcode]

Heisenberg picture evolution of a Pauli by a Clifford.

This returns the Pauli \(P^\prime = C^\dagger.P.C\).

By choosing the parameter frame=‘s‘, this function returns the Schrödinger evolution of the Pauli \(P^\prime = C.P.C^\dagger\). This option yields a faster calculation.

Parameter
  • other (Pauli or Clifford or QuantumCircuit) – The Clifford operator to evolve by.

  • qargs (list) – a list of qubits to apply the Clifford to.

  • frame (string) – ‚h‘ for Heisenberg or ‚s‘ for Schrödinger framework.

Rückgabe

the Pauli \(C^\dagger.P.C\).

Rückgabetyp

Pauli

Verursacht

QiskitError – if the Clifford number of qubits and qargs don’t match.