UnconstrainedMeasurementException Class

Definition

This exception is thrown when a measurement is performed, but has not been annotated using a call to either Microsoft.Quantum.Primitive.AssertProb or Microsoft.Quantum.Primitive.Assert.

public class UnconstrainedMeasurementException : Exception
Inheritance
System.Exception
UnconstrainedMeasurementException

Constructors

UnconstrainedMeasurementException()

Creates an instance of UnconstrainedMeasurementException

Applies to