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

Add UNIT_SWEEP as an alias for UnitSweep #6518

Closed dstrain115 closed 6 months ago

dstrain115 commented 6 months ago

Since this is a singleton, it should use constant naming. Since it should also stay consistent with other Sweeps (and for backwards compatibility), we will keep the old name as well.

Fixes: #5617