Local Simulation
Local Simulation
Divi provides two local simulation backends:
| Backend | Description |
|---|---|
MaestroSimulator |
Default local backend powered by Maestro — supports state vector, MPS, and auto-routing based on circuit size |
QiskitSimulator |
Qiskit Aer-based simulation — supports noise models, fake backends, and exact expectation values |
Configuration Options
ParallelSimulator supports the following configuration:
simulation_seed— Set a seed for deterministic, reproducible resultsqiskit_backend— Choose a specific Qiskit Aer backend (e.g.,"aer_simulator","aer_simulator_statevector") or use"auto"for automatic selection
Features
Noisy Simulation
Enable noise models for realistic simulation using Qiskit Aer’s NoiseModel, or use a Qiskit fake backend to inherit a realistic noise profile. This is useful for testing error mitigation techniques like ZNE.
Deterministic Mode
Set a simulation seed for reproducible results, useful for debugging and regression testing.
Circuit Depth Tracking
Track circuit depths during execution for performance analysis and depth-reduction strategies.
When to Use Each Backend
- Development and testing: Fast iteration without cloud latency
- Small to medium circuits: Up to ~25 qubits with state vector, more with specialized backends
- Reproducibility: Deterministic seeds for debugging
- Error mitigation testing: Noisy simulation for ZNE development
📖 For code examples and detailed API usage, visit the Divi Documentation.