MeasureFxP 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.Arithmetic

Package: Microsoft.Quantum.Numerics

Measure a fixed-point number, returns its value as Double, and resets all the register to zero.

operation MeasureFxP (fp : Microsoft.Quantum.Arithmetic.FixedPoint) : Double

Input

fp : FixedPoint

Fixed-point number to measure.

Output : Double