Common rotation extraction from a branch
If two classical branches apply rotations about the same generator, a common rotation can be moved before the branch and the remaining angle applied conditionally, provided intervening effects permit the rewrite.
On this page
Scientific definition and boundary
If two classical branches apply rotations about the same generator, a common rotation can be moved before the branch and the remaining angle applied conditionally, provided intervening effects permit the rewrite. This is different from replacing the branches by a probability-weighted average angle, which generally changes the mixed state and correlations with the branch record.
Sources
Verification scope
Recorded source check ·
Official specification content retrieved, including compilation model, profiles and QIR/LLVM version distinctions.
The control-flow example explains language-independent semantics. Its scope excludes compiler, profile, parser and backend execution.