Options and simulation methods¶
Every option is a keyword argument of qp.device("maestro.qubit", ...):
# MPS for 100+ qubits
dev = qp.device("maestro.qubit", wires=100,
simulation_type="MatrixProductState", max_bond_dimension=256)
# Stabilizer for Clifford circuits
dev = qp.device("maestro.qubit", wires=1000, simulation_type="Stabilizer")
# Finite shots with a reproducible seed
dev = qp.device("maestro.qubit", wires=10, shots=10_000, seed=42)
# Pauli propagation with truncation
dev = qp.device("maestro.qubit", wires=200, simulation_type="PauliPropagator",
pp_max_pauli_weight=8, pp_gates_between_trims=10)
Simulation and simulator types¶
|
Description |
|---|---|
|
Full statevector (default) |
|
MPS / tensor-train for large qubit counts |
|
Clifford-only stabilizer |
|
General tensor network |
|
Pauli propagation |
|
Extended stabilizer |
|
Density matrix for mixed states |
|
MPO simulation |
|
Path integral simulation |
|
Description |
|---|---|
|
Qoro’s optimized CPU simulator (default) |
|
CUDA-accelerated GPU simulator |
|
Multi-node distributed CPU |
|
Integrated Qiskit Aer backend |
|
Distributed Qiskit Aer backend |
|
State distributed across local GPUs |
|
State distributed across MPI ranks/GPUs |
|
QuEST simulator |
On the Qoro cloud, leaving simulation_type and simulator_type unset lets the service choose.
Other options¶
The other options map onto Maestro’s SimulatorConfig:
Option |
Default |
Description |
|---|---|---|
|
|
|
|
|
MPS bond-dimension cap. |
|
|
MPS SVD truncation cutoff. |
|
|
Disable MPS swap optimisation. |
|
|
PauliPropagator: drop Pauli strings with smaller coefficients. |
|
|
PauliPropagator: drop Pauli strings acting on more qubits than this. |
|
|
PauliPropagator: gates between truncation passes. |
|
|
PauliPropagator: gates between merges of duplicate strings. |
|
|
Simulate only the causal cone of the measured observables. |
|
|
Detect invariant subspaces and simulate the reduced register. |
|
|
Split multi-observable estimates into groups with disjoint lightcones. |
|
|
Cap each observable cluster at this many lightcone qubits. |
|
|
Fuse compatible gates. |
|
|
Seed for reproducible sampling and noise. |
|
|
How adjoint derivatives are computed (see Gradients): |
|
|
Where circuits run: |
use_double_precision=True/False is still accepted as shorthand for precision="double"/"single". The legacy names pp_pauli_weight_threshold (→ pp_max_pauli_weight) and pp_steps_between_trims (→ pp_gates_between_trims) still work but emit a DeprecationWarning.