MeasurementPhase#

qualtran.simulation.classical_sim.MeasurementPhase

Sentinel value for phases based on measurement outcomes:

This can be returned from Bloq.basis_state_phase if a phase should be applied based on a measurement outcome. This can be used in special circumstances to verify measurement-based uncomputation (MBUC).

reg_name

Name of the register

idx

Index of the register wire(s).

idx

 

reg_name

 

Methods#

__ne__

Check equality and either forward a NotImplemented or return the result negated.

__eq__

Method generated by attrs for class MeasurementPhase.