MeasurePaulis 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.Measurement
Package: Microsoft.Quantum.Standard
Given an array of multi-qubit Pauli operators, measures each using a specified measurement gadget, then returns the array of results.
operation MeasurePaulis (paulis : Pauli[][], target : Qubit[], gadget : ((Pauli[], Qubit[]) => Result)) : Result[]
Input
paulis : Pauli[][]
Array of multi-qubit Pauli operators to measure.
target : Qubit[]
Register on which to measure the given operators.
gadget : (Pauli[],Qubit[]) => Result
Operation which performs the measurement of a given multi-qubit operator.
Output : Result[]
The array of results obtained from measuring each element of paulis
on target
.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for