MultiM 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

Measures each qubit in a given array in the standard basis.

operation MultiM (targets : Qubit[]) : Result[]

Input

targets : Qubit[]

An array of qubits to be measured.

Output : Result[]

An array of measurement results.

Remarks

This operation does not reset the measured qubits to the |0⟩ state, leaving them in the state that corresponds to the measurement results.