3

From my limited understanding Azure Quantum and IBM Qiskit backends do not support OpenQASM 3. However, Amazon Braket does support a subset of Open QASM 3 (proof). What is the best way/backend to test and develop Open QASM 3.0 code? and yes I know I can translate Qiskit(and others) into Open QASM 3 code. I want to run the code.

luciano
  • 6,084
  • 1
  • 13
  • 34
EXA_Q
  • 31
  • 3

1 Answers1

1

If you just want to check whether a device supports OpenQASM, run

dev = AwsDevice(DEVICE_ARN)
print("braket.ir.openqasm.program" in dev.properties.action)

If the output is True, then you can run OpenQASM programs, subject to the device's supported operations.

As far as "best," there's no one answer; if you want to run on actual quantum hardware, you'll be using the digital QPU devices (as of writing, from IonQ, Rigetti and OQC). If you want to test your programs out, then your best bet is one of the simulator devices, depending on your use case.

Cody Wang
  • 1,293
  • 8
  • 13