How vigneshg76/qff_trotternoisesimulation works
This repository benchmarks first-order Trotter simulation of a four-spin Ising model against exact evolution, then compares routing and modeled noise on two processor topologies. The principal workflow runs the benchmark grid, checks compiled circuits against the ideal reference, records observables and errors, and generates comparison figures. The graph preserves the model, hardware, compilation, and reporting stages. Relationships follow the shown entry point and source calls; unsampled implementation details are not inferred.
Main entry points: experiment.py Benchmark grid · main.py CLI entry point · visualization.py Figure generation · metrics.py Circuit and count metrics
Components 15
Physics model
- Ising references
src/problem.py - Trotter circuit
src/problem.py - Circuit and count metrics
src/metrics.py
Hardware and routing
- Processor specifications
processors - Coupling and noise models
src/processors.py - Routing and compilation
src/routing.py
Benchmark execution
- CLI entry point
main.py - Benchmark settings
src/config.py - Benchmark grid
src/experiment.py - Aer simulators
Results and figures
- Benchmark tables
results/tables - Run environment
results/environment.json - Figure generation
src/visualization.py - Benchmark figures
results/figures
Other components
- Benchmark user
Connections 18
- Benchmark user → CLI entry point: runs
README.md - CLI entry point → Benchmark grid: runs benchmark
main.py - CLI entry point → Figure generation: generates figures
main.py - Benchmark grid → Benchmark settings: reads settings
src/experiment.py - Benchmark grid → Ising references: computes references
src/experiment.py - Benchmark grid → Trotter circuit: builds circuits
src/experiment.py - Benchmark grid → Coupling and noise models: loads models
src/experiment.py - Coupling and noise models → Processor specifications: loads specifications
src/processors.py - Benchmark grid → Routing and compilation: compiles circuits
src/experiment.py - Routing and compilation → Circuit and count metrics: measures circuit cost
src/routing.py - Circuit and count metrics → Ising references: uses bond definitions
src/metrics.py - Benchmark grid → Circuit and count metrics: computes observables
src/experiment.py - Benchmark grid → Aer simulators: runs simulations
src/experiment.py - Benchmark grid → Benchmark tables: writes benchmark tables
src/experiment.py - Benchmark grid → Run environment: records versions
src/experiment.py - CLI entry point → Figure generation: passes results
main.py - Figure generation → Coupling and noise models: loads processor specs
src/visualization.py - Figure generation → Benchmark figures: saves plots
src/visualization.py