Adding the ability to recognize C-U on top of control-like native gates, such as CZ and CNOT, as well as another C-U composite.
For example, when seeing C-U on a CNOT, this is equivalent to C-U on X, whereby the control bit of CNOT is combined into the list of control bits in C-U.
Also, adding the option to skip the decomposition: e.g., when we use a simulator that can run C-U efficiently for many control bits.
Adding the ability to recognize
C-U
on top of control-like native gates, such asCZ
andCNOT
, as well as anotherC-U
composite.For example, when seeing
C-U
on aCNOT
, this is equivalent toC-U
onX
, whereby the control bit of CNOT is combined into the list of control bits inC-U
.Also, adding the option to skip the decomposition: e.g., when we use a simulator that can run
C-U
efficiently for many control bits.