-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
mod: circuitRelated to the core of the `QuantumCircuit` class or the circuit libraryRelated to the core of the `QuantumCircuit` class or the circuit librarytype: feature requestNew feature or requestNew feature or request
Description
What should we add?
Currently we have the methods mcrx
, mcry
and mcrz
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:
- The angles should be of type
ParameterValueType
(not onlyfloat
). - Add
ctrl_state
parameter (like inMCXGate
). - The
control
method of therx
,ry
andrz
gates, should call theMCRX
,MCRY
orMCRZ
gates respectively (if there are more than two qubits)
Metadata
Metadata
Assignees
Labels
mod: circuitRelated to the core of the `QuantumCircuit` class or the circuit libraryRelated to the core of the `QuantumCircuit` class or the circuit librarytype: feature requestNew feature or requestNew feature or request
Type
Projects
Status
Done