-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Is your feature request related to a use case or problem? Please explain
It is more related to a use-case where users may want to use a U3 gate, as opposed to creating an equivalent gate to it themselves which adds time to development for each individual. U3 is a well-known gate, and would be nice to have it in cirq natively.
Describe the solution you would prefer
I would personally suggest adding a class for U3 gate like any other gate to add native support for it.
How urgent is this for you? Is it blocking important work?
No, not urgent.
P0 – this should land no later than a week
P1 – I need this no later than the next release
P2 – we should do it in the next couple of quarters
P3 – I'm not really blocked by it; it's an idea I'm proposing based on principle
P3 I suppose, maybe P2.
Describe alternatives/workarounds you've considered
During 4/9/2025 Cirq Cynq meeting, an approach was proposed to make a helper function that takes U3 parameters (the three angles) and then returns a PhasedXZGate that is equivalent to the U3 gate.