qiskit-serverless
qiskit-serverless copied to clipboard
docs/examples/02_qaoa doesn't work with "USE_RUNTIME_SERVICE = True"
Steps to reproduce the problem
Execute docs/examples/02_qaoa
with QiskitRuntimeService
for an account and USE_RUNTIME_SERVICE = True
What is the current behavior?
cloud simulators and Lab are now retired
So I tried to run the examples/02_qaoa with backend = "ibm_sherbrooke"
I got
IBMInputValueError(\nqiskit_ibm_runtime.exceptions.IBMInputValueError: 'The instruction u3 on qubits (0,) is not supported by the target system. Circuits that do not match the target hardware definition are no longer supported after March 4, 2024.
and
See the transpilation documentation (https://docs.quantum.ibm.com/transpile) for instructions to transform circuits and the primitive examples (https://docs.quantum.ibm.com/run/primitives-examples) to see this coupled with operator transformations.
What is the expected behavior?
Job is executed successfully on the quantum system.