-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
help wantedcommunity contributions welcome. For filters like http://github-help-wanted.com/community contributions welcome. For filters like http://github-help-wanted.com/
Description
@ryahill1 notices that roundtrip in OpenQASM2 for several gates is broken (Originally posted in #9559 (comment))
One of those cases is ccz:
import qiskit
qc = qiskit.QuantumCircuit(3)
gate = qiskit.circuit.library.CCZGate()
qc.append(gate, qargs=qc.qubits)
qasm = qc.qasm()
print(qasm)
qc_from_qasm = qiskit.QuantumCircuit.from_qasm_str(qasm)
print(qc_from_qasm)
qiskit.qasm.exceptions.QasmError: "Cannot find gate definition for 'ccz', line 4 file "
Metadata
Metadata
Assignees
Labels
help wantedcommunity contributions welcome. For filters like http://github-help-wanted.com/community contributions welcome. For filters like http://github-help-wanted.com/
Type
Projects
Status
Done