qiskit.quantum_info.DensityMatrix.reset¶
- DensityMatrix.reset(qargs=None)[código fonte]¶
Reset state or subsystems to the 0-state.
- Parâmetros
qargs (list or None) – subsystems to reset, if None all subsystems will be reset to their 0-state (Default: None).
- Retorno
the reset state.
- Tipo de retorno
- Additional Information:
If all subsystems are reset this will return the ground state on all subsystems. If only a some subsystems are reset this function will perform evolution by the reset
SuperOp
of the reset subsystems.