Skip to content
Pasqal Documentation

Emulation configuration now available on EMU_MPS!

We’re excited to announce that emulation configurations are now available for EMU_MPS! This new feature allows you to submit batches with serialized configurations, giving you greater flexibility in emulating and running your experiments. With this update, you can pass custom configuration values that influence the emulation and results - directly on the Cloud.

You can now generate and serialize configurations before submitting, making it easier to include them during execution. This capability offers a new level of control for your quantum workflows on EMU_MPS.

You are now able to change the type of observables to gather more information about the quantum state during the simulation.

Additionally, you can define a custom noise model for the simulation to study the impact of different types of noise on a given algorithm.

Previously, submitting a batch required using the default configurations for the emulation. With the introduction of serialized configurations, users can now take full control of the setup for their simulations.

Here’s an example of how to generate and serialize a configuration:

import pulser
from emu_mps import MPS, BitStrings, Fidelity, MPSBackend, MPSConfig
# Create noise model
noise = pulser.NoiseModel(relaxation_rate=1, dephasing_rate=1.0)
# Set up MPS
dt = 100
sampling_times = 1000
bitstrings = BitStrings(evaluation_times=[1.0], num_shots=sampling_times)
serialised_configuration = MPSConfig(
noise_model=noise,
dt=dt,
observables=[bitstrings],
).to_abstract_repr()

The critical part here is using .to_abstract_repr() to serialize the configuration. This string value can be passed to the backend as part of your batch submission.

  1. Generate the Configuration: Create and serialize your custom configuration using th Cloud SDK.
  2. Submit with Your Batch: Use the backend_configuration parameter in the create_batch function to include your serialized configuration.
batch = sdk.create_batch(
serialized_sequence=serialized_sequence,
jobs=[first],
device_type=EmulatorType.EMU_MPS,
backend_configuration=serialised_configuration
)

We encourage you to try this feature on the Pasqal Cloud platform today and explore the added customization options for your quantum emulations. This update is available to all users with access to EMU_MPS.

Check it out today and take your quantum simulations to the next level!

For more details, check out the documentation here (external) :

Last updated: