-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- Qiskit Terra version: 0.23.3
- Python version: 3.9
- Operating system: Ubuntu 18.04.6
What is happening?
I construct a mcry gate with three qubits as control qubits, and one qubits as target qubits. When I bind parameters, it doesn't work.
How can we reproduce the issue?
from qiskit import QuantumCircuit, QuantumRegister, Aer
from qiskit.circuit import Parameter
qr = QuantumRegister(4)
qr_control = qr[:3]
qr_target = qr[3]
qc = QuantumCircuit(qr)
para = Parameter('input')
qc.mcry(para, qr_control, qr_target)
qc = qc.bind_parameters({para:1})
qc.draw('mpl')
What should happen?
the value 1 should be binded with 'input',but it doesn't.
Any suggestions?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working