Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

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.

Edition released Coverage: Overview · Technical
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

  • QIR Alliance · Documentation · github.com
    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.