Microsoft.Quantum.Measurement namespace

This namespace contains operations for performing measurements beyond the basic measurement operations available in the Microsoft.Quantum.Intrinsic namespace.

Description

To learn more about the different types of measurements, see the Single- and multi-qubit Pauli measurement operations article.

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.