Microsoft.Quantum.Measurement namespace

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.

Operations

Name Summary
MResetX Measures a single qubit in the X basis, and resets it to a fixed initial state following the measurement.
MResetY Measures a single qubit in the Y basis, and resets it to a fixed initial state following the measurement.
MResetZ Measures a single qubit in the Z basis, and resets it to a fixed initial state following the measurement.
MeasureAllZ Jointly measures a register of qubits in the Pauli Z basis.
MeasureEachZ Measures each qubit in a given array in the standard basis.
MeasurePaulis Given an array of multi-qubit Pauli operators, measures each using a specified measurement gadget, then returns the array of results.
MeasureWithScratch Measures the given Pauli operator using an explicit scratch qubit to perform the measurement.
MultiM Measures each qubit in a given array in the standard basis.
SetToBasisState Sets a qubit to a given computational basis state by measuring the qubit and applying a bit flip if needed.