quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.24k stars 1.01k forks source link

Preserve moment structure in `cirq.decompose_once` #6489

Closed tanujkhattar closed 5 months ago

tanujkhattar commented 6 months ago

This is helpful for specifying decompositions where preserving moment structure is important. Users can always do cirq.Circuit(cirq.decompose_once(op)) to go back to the original behavior.

tanujkhattar commented 5 months ago

This is not needed anymore