German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.StabilizerState.reset

StabilizerState.reset(qargs=None)[Quellcode]

Reset state or subsystems to the 0-state.

Parameter

qargs (list or None) – subsystems to reset, if None all subsystems will be reset to their 0-state (Default: None).

Rückgabe

the reset state.

Rückgabetyp

StabilizerState

Additional Information:

If all subsystems are reset this will return the ground state on all subsystems. If only some subsystems are reset this function will perform a measurement on those subsystems and evolve the subsystems so that the collapsed post-measurement states are rotated to the 0-state. The RNG seed for this sampling can be set using the seed() method.