Skip to content

MQSSPennylaneBackend

Bases: BackendV2

MQP Pennylane Backend class responsible for handling requests and responses from the MQSS Backend.

coupling_map property

coupling_map: CouplingMap

Returns the coupling map of the selected backend

Returns:

Name Type Description
CouplingMap CouplingMap

CouplingMap

run

run(
    run_input: QuantumScript
    | QuantumTape
    | QuantumScriptOrBatch,
    shots: int = 1024,
    no_modify: bool = False,
    queued: bool = False,
    **options,
) -> MQPJob

Sends the quantum circuit(s) to the selected backend.

Parameters:

Name Type Description Default
run_input Union[QuantumScript, List[QuantumTape]] | QuantumScriptOrBatch

Pennylane circuit

required
shots int

Number of shots. Defaults to 1024.

1024
no_modify bool

Flag to bypass MQSS transpilation. no_modify=True means the transpilation will be bypassed if possible. Defaults to False.

False

Returns:

Name Type Description
MQPJob MQPJob

Returns the MQPJob object