English
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Pauli.evolve

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

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.

Parameters
  • 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.

Returns

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

Return type

Pauli

Raises

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