pasqal_cloud.backends
Defines Pasqal specific backends.
RemoteEmulatorBackend(sequence, connection, *, config=None, mimic_qpu=False)
Bases: RemoteBackend, EmulatorBackend
Source code in pasqal_cloud/backends.py
RemoteMPSBackend(sequence, connection, *, config=None, mimic_qpu=False)
Bases: RemoteEmulatorBackend
Backend for executing quantum programs using the EMU-MPS emulator.
The config supports various fields. For a complete list of accepted
parameters (passed as **kwargs), refer to the official EMU-MPS documentation:
https://pasqal-io.github.io/emulators/latest/emu_mps/api/#mpsconfig
| PARAMETER | DESCRIPTION |
|---|---|
sequence
|
The quantum sequence to execute on the backend.
TYPE:
|
connection
|
An open PasqalCloud connection.
TYPE:
|
config
|
An EmulationConfig object to configure the backend. If not provided, the default configuration will be used.
TYPE:
|
mimic_qpu
|
Whether to mimic the validations required for execution on a QPU.
TYPE:
|
Source code in pasqal_cloud/backends.py
RemoteSVBackend(sequence, connection, *, config=None, mimic_qpu=False)
Bases: RemoteEmulatorBackend
Backend for executing quantum programs using the EMU-SV emulator.
The config supports various fields. For a complete list of accepted
parameters (passed as **kwargs), refer to the official EMU-SV documentation:
https://pasqal-io.github.io/emulators/latest/emu_sv/api/#svconfig
| PARAMETER | DESCRIPTION |
|---|---|
sequence
|
The quantum sequence to execute on the backend.
TYPE:
|
connection
|
An open PasqalCloud connection.
TYPE:
|
config
|
An EmulationConfig object to configure the backend. If not provided, the default configuration will be used.
TYPE:
|
mimic_qpu
|
Whether to mimic the validations required for execution on a QPU.
TYPE:
|
Source code in pasqal_cloud/backends.py
RemoteEmuFreeBackend(sequence, connection, *, config=None, mimic_qpu=False)
Bases: RemoteEmulatorBackend
Backend for executing quantum programs using pulser-simulation (QuTiP).
The config supports various fields. For a complete list of accepted
parameters (passed as **kwargs), refer to the official documentation:
https://pulser.readthedocs.io/en/stable/apidoc/_autosummary/pulser_simulation.QutipConfig.html#pulser_simulation.QutipConfig
| PARAMETER | DESCRIPTION |
|---|---|
sequence
|
The quantum sequence to execute on the backend.
TYPE:
|
connection
|
An open PasqalCloud connection.
TYPE:
|
config
|
An EmulationConfig object to configure the backend. If not provided, the default configuration will be used.
TYPE:
|
mimic_qpu
|
Whether to mimic the validations required for execution on a QPU.
TYPE:
|
