-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failure: test_cnry_conversion
#429
Comments
Weird.. its a property of https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.ControlledGate#controlledgate |
This does seem like a bug in qiskit. The following code: from qiskit import QuantumCircuit, QuantumRegister, transpile
from qiskit.circuit.library import MCMT, RYGate
from qiskit_aer import Aer
qr = QuantumRegister(2, "q")
qcirc = QuantumCircuit(qr)
ry_gate = RYGate(0.1)
cry_gate = MCMT(gate=ry_gate, num_ctrl_qubits=1, num_target_qubits=1)
qcirc.append(cry_gate, [qr[0], qr[1]])
backend = Aer.get_backend("aer_simulator_unitary")
transpile(qcirc, backend) succeeds with qiskit 1.2.4, but fails with qiskit 1.3.1. |
I raised Qiskit/qiskit#13563 . |
MCMT seems to be deprecated since 1.3 but would not have expected it to be removed. |
Ah good spot. I think we can just change to |
|
The text was updated successfully, but these errors were encountered: