qiskit-ibm-runtime
qiskit-ibm-runtime copied to clipboard
simulator_stabilizer backend .local & .simulator attributes raise TranspilerError
Describe the bug
Calling backend.local
and backend.simulator
for simulator_stabilizer
and simulator_extended_stabilizer
raises TranspilerError
.
Steps to reproduce
>>> from qiskit_ibm_runtime import QiskitRuntimeService
>>> service = QiskitRuntimeService(token="MYTOKEN", channel="ibm_quantum")
>>> backend = service.backend("simulator_stabilizer") # or "simulator_extended_stabilizer"
>>> backend.local # or backend.simulator, same error
...
...
File "/path/to/lib/python3.9/site-packages/qiskit/transpiler/target.py", line 424, in add_instruction
raise TranspilerError(
qiskit.transpiler.exceptions.TranspilerError: "The number of qubits for Instruction(name='cx', num_qubits=2, num_clbits=0, params=[]) does not match the number of qubits in the properties dictionary: (0,)"
Expected behavior
>>> backend.local
False
>>> backend.simulator
True
Suggested solutions
Not sure
Additional Information
- qiskit-ibm-runtime version: 0.23.0
- Python version: 3.9
- Operating system: Ubuntu 20.04.4 LTS (Focal Fossa)