As cirq-core/cirq/contrib/qasm_import still depends on OpenQASM 2.0, using any version of cirq with the latest version of qiskit leads to quite a few issues.
It would help if the compatible qiskit version number is documented somewhere.
The errors in from cirq.contrib.qasm_import import circuit_from_qasm when qiskit is bumped up to the latest version are due to AttributeError: 'list' object has no attribute 'add_qubit'
qiskit 1.0
has removedOpenQASM 2.0
.As
cirq-core/cirq/contrib/qasm_import
still depends onOpenQASM 2.0
, using any version ofcirq
with the latest version ofqiskit
leads to quite a few issues.https://github.com/quantumlib/Cirq/blob/02d29a975ebfcd8e3e2db5356c310c956ece03ac/cirq-core/cirq/testing/consistent_qasm.py#L65
It would help if the compatible
qiskit
version number is documented somewhere.The errors in
from cirq.contrib.qasm_import import circuit_from_qasm
whenqiskit
is bumped up to the latest version are due toAttributeError: 'list' object has no attribute 'add_qubit'
https://docs.quantum.ibm.com/api/qiskit/qasm2#alternatives