Reset operation

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Intrinsic

Package: Microsoft.Quantum.Type2.Core

Given a single qubit, measures it and ensures it is in the |0⟩ state such that it can be safely released.

operation Reset (qubit : Qubit) : Unit

Input

qubit : Qubit

The qubit whose state is to be reset to $\ket{0}$.

Output : Unit