qiskit.quantum_info.PauliList.evolve¶
- PauliList.evolve(other, qargs=None, frame='h')[source]¶
Evolve the Pauli by a Clifford.
This returns the Pauli \(P^\prime = C.P.C^\dagger\).
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.P.C^\dagger\).
- Return type
- Raises
QiskitError – if the Clifford number of qubits and qargs don’t match.