Microwave-to-Optical Quantum Transduction Lab β by Darion Kellar
Educational quantum transduction lab in ONE pure-Python file: the standard beam-splitter cooperativity formula eta_int = 4C1C2 / (1 + C1 + C2)^2 evaluated honestly β matched C = 100 reaches 0.990075 while the same budget split 199/1 collapses to 0.019702 β Bose-Einstein thermal occupation at a labelled 5 GHz microwave mode from exact SI constants (n_th = 16.174294 at 4 K, 0.099810 at 100 mK, 3.79e-11 at 10 mK), a labelled added-noise model N_add = n_th / C_harm with an explicit quantum-enabled policy line (eta_total >= 0.5 AND N_add < 1), series-linewidth bandwidth bookkeeping (6.6667 MHz, time-bandwidth product 1.0000 for a 150 ns pulse), an extraction tradeoff with a real interior peak (eta_total 0.888980 at r = 0.99, collapsing to 0.443556 at r = 0.999), a grid scan under a labelled pump cap that finds the matched optimum itself, and a from-scratch kNN verdict classifier whose labels come from the lab's own policy.
Pure Python standard library. Zero dependencies. Zero network. Honest scope: every parameter is a LABELLED teaching value β no transducer was built, cooled, pumped, or measured, and every efficiency is a statement about the formula at the stated inputs, never a hardware promise or a device specification. Efficiency is not fidelity, and neither is promised. Every hardware / quantum-network / entanglement / QKD / vendor use is a permanent HOLD gate (14 total).
β π§° Tech Stack Badges & Full Architecture Tech Stack
π Python 3.12, pure standard library (math, hashlib, json, sys) β zero dependencies, zero network, deterministic (double-run byte-identical)
π Transduction physics core: the beam-splitter cooperativity efficiency 4Β·C1Β·C2/(1 + C1 + C2)Β², BoseβEinstein thermal occupation from exact SI constants (h, k_B), a labelled added-noise model N_add = n_th / C_harm, series-linewidth bandwidth, and the extraction tradeoff C(r) = C0Β·(1 β r) β every headline number asserted against its analytic value in CHECKS
πΊοΈ Operating-point scan: an 11Γ11 (C1, C2) grid swept under a labelled pump cap (C1 + C2 β€ 200), reporting its own optimum and a fixed-sum matched-vs-lopsided contrast
π« Not applicable β honestly. No blockchain, no Web3, no tokens: the "infrastructure" in this lab is a labelled evaluation of converter formulas inside one offline file. Quantum-network deployment is a permanent HOLD gate, not a feature. No fake badges here.
β βοΈ Platform Support & Hardware Architecture
π₯οΈ Pure Python β runs anywhere Python 3.12+ runs (Linux, macOS, Windows), plus the python:3.12-slim Docker image
π No hardware is controlled, ever: real transducers, cryostats, lasers, and microwave sources are permanent HOLD gates (see the gate table below)
π« No low-level code β honestly. No C, no C++, no GPU, no compiled extensions: this is one interpreted Python file on purpose, so every number can be read, checked, and diffed. Performance here means honest algorithms β closed-form efficiency and occupation formulas, an exhaustive grid scan under the cap, and a kNN over a policy-labelled grid β all deterministic and byte-identical between runs.
π« None β honestly. No cloud provider is used or needed: the lab runs fully offline on your own machine or in a local Docker container. Docker Hub appears only as the registry the publish workflow pushes the image to.
Cooperativity conversion, exact β eta_int at matched C = 1 / 10 / 100 is 0.444444 / 0.907029 / 0.990075; with the labelled 0.90 extraction on both ports, eta_total is 0.360000 / 0.734694 / 0.801960. Unity is a matched strong-coupling limit, printed as a limit.
The mismatch cliff β C1 = 100 against C2 = 1 gives eta_int 0.038447, a 26x collapse; the fixed-sum contrast at C1 + C2 = 200 prices allocation directly: 0.990075 (100/100) vs 0.742556 (150/50) vs 0.019702 (199/1).
Thermal occupation from exact SI β hf/k = 0.239962 K at 5 GHz; n_th falls 16.174294 -> 0.099810 -> 3.79e-11 across 4 K -> 100 mK -> 10 mK, and the high-temperature limit is checked against kT/hf - 1/2.
Added noise + the quantum-enabled line β N_add = n_th / C_harm at matched C = 10: 1.61743 at 4 K (efficient-but-noisy), 0.009981 at 100 mK (quantum-enabled), 3.79e-12 at 10 mK. Same converter, different verdicts β both computed.
Bandwidth bookkeeping β labelled loaded linewidths 10 MHz (microwave) and 20 MHz (optical) combine in series to 6.6667 MHz; the labelled 150 ns pulse gives a time-bandwidth product of exactly 1.0000.
Extraction tradeoff β C(r) = 1000*(1 - r) per side: eta_total peaks at r = 0.99 (0.888980, 100 MHz) and collapses at r = 0.999 (0.443556) while bandwidth balloons to 1000 MHz β the exchange rate is printed.
Operating-point scan β 81 grid points evaluated under the labelled cap C1 + C2 <= 200; the best point found is the matched C1 = C2 = 100 (eta_total 0.801960), discovered by the sweep, not assumed.
TinyML kNN classifier β quantum-enabled / efficient-but-noisy / quiet-but-lossy / unusable from (eta, N_add); labels generated by the lab's own verdict policy over its training grid.
Advisory seats β Gemini Argon 4 DECIDER (names-only, tighten-only, sha256 trace), Muse advisor (can never override HOLD), Google Flow plan-only (rendered = False, live = 0).