Q2NSViz 0.1.0
Q2NS trace visualizer
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1# -----------------------------------------------------------------------------
2# Q2NSViz - Quantum Network Trace Visualizer
3# Copyright (c) 2026 QuantumInternet.it
4#
5# This program is released under the MIT License - see LICENSE for details.
6# -----------------------------------------------------------------------------
7
8"""Q2NSViz -- desktop trace visualizer for Q2NS quantum network simulations.
9
10Importing this package pulls in the replay engine only, and never Qt: a script
11can reconstruct network state without a GUI, or even a display. The PyQt6
12interface lives in the ``q2nsviz.ui`` subpackage and is imported on demand.
13
14 from q2nsviz import SimulationStateManager
15
16 sm = SimulationStateManager()
17 sm.load_events("q2nsviz/example_traces/q2nsviz-repeater-swap-example.json")
18 snap = sm.snapshot_at(4000)
19"""
20
21from .logic import Channel, ClassicalBit, EventFileParser, Node, Qubit, SimulationStateManager, Snapshot, UnionFind
22
23__all__ = [
24 "Channel",
25 "ClassicalBit",
26 "EventFileParser",
27 "Node",
28 "Qubit",
29 "SimulationStateManager",
30 "Snapshot",
31 "UnionFind",
32]