How qnect-india/quantum_repeater_network works
QNeCT is a quantum-network and communication simulation toolbox with a Streamlit interface and a reusable Python package. Users configure a linear repeater or star network, select a protocol and noise parameters, run simulations, then inspect states, fidelities, rates, plots, or protocol comparisons. The package also provides quantum-state utilities, entanglement swapping, teleportation, and channel-fidelity evaluation. The excerpts show the package facade and several engine relationships; some GUI-to-engine wiring and the entanglement manager’s role are not visible, so those connections are omitted.
Main entry points: __init__.py Package facade · network.py Linear repeater model · qteleportation.py Teleportation · primaryfn.py Quantum states
Components 11
User interface
- Streamlit toolbox
app.py - Package facade
qrnetwork/__init__.py
Network simulation
- Unified simulator
qrnetwork/simulator.py - Linear noisy engine
qrnetwork/linear_noisy_sim.py - Star protocols
qrnetwork/star_protocol.py - Linear repeater model
qrnetwork/network.py - Entanglement manager
qrnetwork/ent_manager.py
Quantum operations
- Quantum states
qrnetwork/primaryfn.py
Communication analysis
- Teleportation
qrnetwork/qteleportation.py - Channel evaluation
qrnetwork/qchannel.py
Other components
- User
Connections 17
- User → Streamlit toolbox: configures and runs
app.py - Streamlit toolbox → Package facade: imports package API
app.py - Package facade → Quantum states: exports state tools
qrnetwork/__init__.py - Package facade → Teleportation: exports teleportation
qrnetwork/__init__.py - Package facade → Channel evaluation: exports channel tool
qrnetwork/__init__.py - Package facade → Linear repeater model: exports repeater model
qrnetwork/__init__.py - Package facade → Star protocols: exports protocols
qrnetwork/__init__.py - Package facade → Linear noisy engine: exports simulation
qrnetwork/__init__.py - Package facade → Unified simulator: exports unified runner
qrnetwork/__init__.py - Unified simulator → Linear noisy engine: runs linear engine
qrnetwork/simulator.py - Unified simulator → Star protocols: runs star protocols
qrnetwork/simulator.py - Linear noisy engine → Linear repeater model: uses network model
qrnetwork/linear_noisy_sim.py - Linear repeater model → Teleportation: uses teleportation module
qrnetwork/network.py - Linear repeater model → Quantum states: uses state operations
qrnetwork/network.py - Channel evaluation → Teleportation: evaluates teleportation
qrnetwork/qchannel.py - Teleportation → Quantum states: uses state operations
qrnetwork/qteleportation.py - Star protocols → Quantum states: uses state operations
qrnetwork/star_protocol.py