MResetX operation

Fully qualified name: Std.Measurement.MResetX

operation MResetX(target : Qubit) : Result

Summary

Performs a single-qubit measurement in the Pauli X basis, and resets target to the |0⟩ state after the measurement.

Input

target

A single qubit to be measured.

Output

The result of measuring target in the Pauli X basis.