X.controlled(cirq.SumOfProducts([[1]]))
does not optimize to CX
#5883
Labels
area/gates
kind/bug-report
Something doesn't seem to work.
status/needs-agreed-design
We want to do this, but it needs an agreed upon design before implementation
triage/needs-more-evidence
[Feature requests] Seems plausible, but maintainers are not convinced about the use cases yet
X.controlled
simplifies toCX
when possible (and Z to CZ). However this does not work when thecontrol_values
is represented as aSumOfProducts
, requiring workarounds by any code expecting such optimizations.A fix for this is provided in #5873.
The text was updated successfully, but these errors were encountered: