ResetAll operation

Fully qualified name: Std.Intrinsic.ResetAll

operation ResetAll(qubits : Qubit[]) : Unit

Summary

Given an array of qubits, measure them and ensure they are in the $|0⟩$ state such that they can be safely released.

Input

qubits

An array of qubits whose states are to be reset to $|0⟩$.