![]() |
Q2NSViz 0.1.0
Q2NS trace visualizer
|
Q2NSViz – desktop trace visualizer for Q2NS quantum network simulations. More...
Namespaces | |
| namespace | cli |
| namespace | logic |
| namespace | ui |
Q2NSViz – desktop trace visualizer for Q2NS quantum network simulations.
-doc
Importing this package pulls in the replay engine only, and never Qt: a script can reconstruct network state without a GUI, or even a display. The PyQt6 interface lives in the q2nsviz.ui subpackage and is imported on demand.
from q2nsviz import SimulationStateManager
sm = SimulationStateManager()
sm.load_events("q2nsviz/example_traces/q2nsviz-repeater-swap-example.json")
snap = sm.snapshot_at(4000)