Measurement¶ class guppylang.std.quantum.Measurement[source]¶ Represents the result of a lazy measurement which needs to be explicitly read before being used. __bool__() → bool[source]¶ read() → bool[source]¶ Read the measurement result, obtaining a bool. Blocks until the result is available if the measurement hasn’t been performed yet since being requested.