We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Qiskit IonQ Provider version: 0.5.12
API URL or version: n/a
Python version: 3.11
Operating system: Darwin (arm64)
Circuit created using GPIGate or GPI2Gate creates invalid OpenQASM program according to openqasm3.parser
GPIGate
GPI2Gate
openqasm3.parser
import openqasm3.parser import qiskit import qiskit.qasm2 import qiskit.qasm3 import qiskit_ionq circuit = qiskit.QuantumCircuit(1) circuit.u(0.1, 0.2, 0.3, 0) provider = qiskit_ionq.IonQProvider() backend = provider.get_backend("simulator", gateset="native") transpiled_circuit = qiskit.transpile(circuit, backend=backend) # qasm_str = qiskit.qasm3.dumps(transpiled_circuit) # QASM3ExporterError qasm_str = qiskit.qasm2.dumps(transpiled_circuit) qasm_program = openqasm3.parser.parse(qasm_str) # QASM3ParserError
It should be able to parse in the program
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Information
Qiskit IonQ Provider version: 0.5.12
API URL or version: n/a
Python version: 3.11
Operating system: Darwin (arm64)
What is the current behavior?
Circuit created using
GPIGate
orGPI2Gate
creates invalid OpenQASM program according toopenqasm3.parser
Steps to reproduce the problem
What is the expected behavior?
It should be able to parse in the program
Suggested solutions
The text was updated successfully, but these errors were encountered: