AnuQarana
AnuQarana is a discrete-time event simulator for photonic quantum networks. It models an optical setup as a workbench of components wired together by channels, pushes photons through that setup on a Timeline event loop, and evolves the true multi-mode quantum state, so that the detector statistics come out of the physics rather than out of hard-coded probabilities.
The importable Python package is QNS:
from QNS.components import Timeline, Laser, Detector
from QNS.channels import QuantumOpticalChannel
from QNS.StateEvolution import StateManager
What it gives you
Real optical components. Lasers with Poissonian pulse statistics, half- and quarter-wave plates, linear polarizers, phase shifters, polarising and non-polarising beam splitters, and single-photon detectors with tunable parameters.
Two channel families. Optical-fibre and free-space quantum channels that carry photons with propagation delay and loss, plus a lossless classical channel for protocol messaging.
A second-quantised backend. States are polarisation-resolved multi-mode Fock states (or coherent states for QKD-COW); every component applies a genuine mode transformation via creation/annihilation operators, so multi-photon effects and interference emerge on their own.
Coincidence counting. The timeline correlates detector click logs either by emitted pulse (ground truth) or inside a user-set coincidence window (the way a real coincidence unit behaves, accidentals included).
Start here
Getting started
Reference