qiskit.quantum_info.StabilizerState.evolve¶
-
StabilizerState.
evolve
(other, qargs=None)[source]¶ Evolve a stabilizer state by a Clifford operator.
- Parameters
other (Clifford or QuantumCircuit or qiskit.circuit.Instruction) – The Clifford operator to evolve by.
qargs (list) – a list of stabilizer subsystem positions to apply the operator on.
- Returns
the output stabilizer state.
- Return type
- Raises
QiskitError – if other is not a StabilizerState.
QiskitError – if the operator dimension does not match the specified StabilizerState subsystem dimensions.