Abstract
Single-photon routers in cavity and circuit QED direct photons by the qubit's energy eigenstate -- a projective decision that destroys coherence. We propose a different primitive: coherence-gated routing, where the decision depends on the magnitude of the qubit's quantum coherence, estimated in real time from simultaneous weak measurements of and . A photon is accepted if the coherence score , extracted from the conditional density matrix via the stochastic master equation, exceeds a tunable threshold . Certifying coherence at emission enables two applications conventional heralded sources cannot: (i) a quantum random number generator with min-entropy bounded by Bloch-sphere geometry, , and (ii) a phase-tracked photon source whose two-node coherence certification bounds the matter--matter entanglement fidelity after Bell-state measurement. The estimator is itself a security primitive. Benchmarking seven configurations, we find that underestimating detector efficiency () both stabilizes the numerics and suppresses overcertification. We trace this via a purity-monotonicity result, identify a geometric loophole amplifying purity undercertification into coherence overcertification by an order of magnitude (12), and prove two complementary tail bounds: an Ornstein--Uhlenbeck comparison giving overcertification (empirical from trajectories) and an exponential supermartingale establishing structural exponential decay.