Qx.Hardware.NoMeasurementsError exception (Qx - Quantum Computing Simulator v0.7.0)

View Source

Raised when a circuit submitted to Qx.Hardware has no measurement instructions.

Hardware backends return shot-based counts, so at least one measured qubit is required for the result to be meaningful.