qbraid.passes.qasm.branches_on_measurement
- branches_on_measurement(program)[source]
Check whether an
iforswitchreads a measurement result.For programs pyqasm can’t unroll, where
contains_feedforward()doesn’t apply. Follows copies into other variables in program order, but not through subroutines.- Return type:
bool