Add MCRX, MCRY and MCRZ gates to the circuit library #12048
Labels
mod: circuit
Related to the core of the `QuantumCircuit` class or the circuit library
type: feature request
New feature or request
What should we add?
Currently we have the methods
mcrx
,mcry
andmcrz
in the QuantumCircuit class, but they don't appear in the circuit library.I would suggest to add them to the circuit library as the other multi-controlled gates.
In addition, in order to make a unified API as the other multi-controlled gates, these gates should include the following:
ParameterValueType
(not onlyfloat
).ctrl_state
parameter (like inMCXGate
).control
method of therx
,ry
andrz
gates, should call theMCRX
,MCRY
orMCRZ
gates respectively (if there are more than two qubits)The text was updated successfully, but these errors were encountered: