Q2NSViz 0.1.0
Q2NS trace visualizer
Loading...
Searching...
No Matches
q2nsviz.ui.theme.Theme Class Reference

Semantic color palette for Q2NSViz. More...

Inheritance diagram for q2nsviz.ui.theme.Theme:
[legend]
Collaboration diagram for q2nsviz.ui.theme.Theme:
[legend]

Detailed Description

Semantic color palette for Q2NSViz.

Access colors as class attributes (e.g. Theme.BG_DARK). The active palette (light or dark) is selected by calling toggle_dark().

Qubit semantic states

Constant Semantic
QUBIT_PRODUCT Isolated qubit (no entanglement)
QUBIT_ENTANGLED Qubit in an entanglement cluster
QUBIT_MEASURED Measured and removed qubit marker
QUBIT_LOST Lost qubit (removed without measurement) marker

Operation halos (transient rings marking processing time during a duration_ns window; entanglement itself is shown by qubit color, not a ring)

Constant Semantic Symbol
HALO_GATE quantum-gate processing (entangle event) dashed single
HALO_MEASURE measure operation ring solid single
HALO_GRAPH_MEASURE graphMeasure operation ring solid double

Classical packet types

Constant Semantic
PACKET_CLASSICAL Unknown or generic classical packet
PACKET_TCP TCP classical packet
PACKET_UDP UDP classical packet

Definition at line 119 of file theme.py.


The documentation for this class was generated from the following file: