DensityMatrix.evolve¶
- DensityMatrix.evolve(other, qargs=None)[source]¶
Evolve a quantum state by an operator.
- Parameters
QuantumChannel (other (Operator or) – or Instruction or Circuit): The operator to evolve by.
qargs (list) – a list of QuantumState subsystem positions to apply the operator on.
- Returns
the output quantum state.
- Return type
QuantumState
- Raises
QiskitError – if the operator dimension does not match the specified QuantumState subsystem dimensions.