Skip to content

simulator_stabilizer and simulator_extended_stabilizer simulator properties fail #1136

Open
@caleb-johnson

Description

@caleb-johnson

Describe the bug
simulator_stabilizer and simulator_extended_stabilizer simulator properties crash the program ungracefully with a cryptic error message.

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,)"

Steps to reproduce

from qiskit_ibm_runtime import QiskitRuntimeService

runtime_service = QiskitRuntimeService()
backend = runtime_service.get_backend("simulator_stabilizer")
# OR 
# backend = runtime_service.get_backend("simulator_extended_stabilizer")
backend.simulator # This line fails

Expected behavior
I believe these backends should report True, as they are simulators. If these methods can't/shouldn't be implemented, I would expect a NotImplementedError to be raised.

Suggested solutions

Additional Information

  • qiskit-ibm-runtime version: 0.12.2
  • Python version: 3.10
  • Operating system: MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserver actionNeed actions from the server side

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions