Reset operation

Given a single qubit, measures it and ensures it is in the $\ket{0}$ state such that it can be safely released.

operation Reset (target : Qubit) : ()

Input

target
Qubit

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

Output

()