QutipBackendV2
- class pulser_simulation.qutip_backend.QutipBackendV2(sequence, *, config=None, mimic_qpu=False)
Bases:
EmulatorBackendA backend for emulating the sequences using qutip.
Conforms to the generic API from pulser.backend.
Dedicated
EmulationConfigclass:pulser_simulation.QutipConfig.- Parameters:
sequence (
Sequence) – The sequence to emulate.config (
EmulationConfig|None, default:None) – The configuration for the Qutip emulator.mimic_qpu (
bool, default:False) – Whether to mimic the validations necessary for execution on a QPU.
Attributes
default_configMethods
Executes the sequence on the backend.
Validates a given configuration for this backend.
Validates a sequence prior to submission.
Signatures
- run()
Executes the sequence on the backend.
- Return type:
- classmethod validate_config(config)
Validates a given configuration for this backend.
- Parameters:
config (
EmulationConfig) – The configuration to validate.- Return type:
- Returns:
The full configuration that will be used by the backend if the given configuration passes validation.
- static validate_sequence(sequence, mimic_qpu=False)
Validates a sequence prior to submission.
- Return type:
None