{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,21]],"date-time":"2026-01-21T05:13:54Z","timestamp":1768972434579,"version":"3.49.0"},"reference-count":53,"publisher":"Verein zur Forderung des Open Access Publizierens in den Quantenwissenschaften","license":[{"start":{"date-parts":[[2025,4,17]],"date-time":"2025-04-17T00:00:00Z","timestamp":1744848000000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Danish National Research Foundation","award":["DNRF147"],"award-info":[{"award-number":["DNRF147"]}]},{"name":"Villum Fonden","award":["37417"],"award-info":[{"award-number":["37417"]}]}],"content-domain":{"domain":["quantum-journal.org"],"crossmark-restriction":false},"short-container-title":["Quantum"],"abstract":"<jats:p>In this paper, we introduce a numerical framework designed to solve problems within the emerging field of Waveguide Quantum Electrodynamics (WQED). The framework is based on collision quantum optics, where a localized quantum system interacts sequentially with individual time-bin modes. This approach provides a physically intuitive model that allows researchers familiar with tools such as QuTiP in Python, Quantum Optics Toolbox for Matlab, or\nin Julia to efficiently set up and execute WQED simulations. Despite its conceptual simplicity, we demonstrate the framework&amp;apos;s robust ability to handle complex WQED scenarios. These applications include the scattering of single- or two-photon pulses by quantum emitters or cavities, as well as the exploration of non-Markovian dynamics, where emitted photons are reflected back, thereby introducing feedback mechanisms.<\/jats:p>","DOI":"10.22331\/q-2025-04-17-1710","type":"journal-article","created":{"date-parts":[[2025,4,17]],"date-time":"2025-04-17T16:11:41Z","timestamp":1744906301000},"page":"1710","update-policy":"https:\/\/doi.org\/10.22331\/q-crossmark-policy-page","source":"Crossref","is-referenced-by-count":3,"title":["WaveguideQED.jl: An Efficient Framework for Simulating Non-Markovian Waveguide Quantum Electrodynamics"],"prefix":"10.22331","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2941-6643","authenticated-orcid":false,"given":"Matias","family":"Bundgaard-Nielsen","sequence":"first","affiliation":[{"name":"Department of Electrical and Photonics Engineering, Technical University of Denmark, Building 343, Lyngby, Denmark"},{"name":"NanoPhoton-Center for Nanophotonics, Technical University of Denmark, Building 343, Lyngby, Denmark"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1043-3489","authenticated-orcid":false,"given":"Dirk","family":"Englund","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, Cambridge, MA 02139, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9769-6005","authenticated-orcid":false,"given":"Mikkel","family":"Heuck","sequence":"additional","affiliation":[{"name":"Department of Electrical and Photonics Engineering, Technical University of Denmark, Building 343, Lyngby, Denmark"},{"name":"NanoPhoton-Center for Nanophotonics, Technical University of Denmark, Building 343, Lyngby, Denmark"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5550-5258","authenticated-orcid":false,"given":"Stefan","family":"Krastanov","sequence":"additional","affiliation":[{"name":"Manning College of Information and Computer Sciences, University of Massachusetts Amherst, 140 Governors Drive Amherst, Massachusetts 01003, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"9598","published-online":{"date-parts":[[2025,4,17]]},"reference":[{"key":"0","doi-asserted-by":"publisher","unstructured":"Jeffrey H. Shapiro. ``Single-photon Kerr nonlinearities do not help quantum computation&apos;&apos;. Physical Review A 73, 062305 (2006).","DOI":"10.1103\/PhysRevA.73.062305"},{"key":"1","doi-asserted-by":"publisher","unstructured":"Mikkel Heuck, Kurt Jacobs, and Dirk R. Englund. ``Controlled-Phase Gate Using Dynamically Coupled Cavities and Optical Nonlinearities&apos;&apos;. Physical Review Letters 124 (2020).","DOI":"10.1103\/PhysRevLett.124.160501"},{"key":"2","doi-asserted-by":"publisher","unstructured":"Alexandra S. Sheremet, Mihail I. Petrov, Ivan V. Iorsh, Alexander V. Poshakinskiy, and Alexander N. Poddubny. ``Waveguide quantum electrodynamics: Collective radiance and photon-photon correlations&apos;&apos;. Reviews of Modern Physics 95, 015002 (2023).","DOI":"10.1103\/RevModPhys.95.015002"},{"key":"3","doi-asserted-by":"publisher","unstructured":"Peter Lodahl, Sahand Mahmoodian, and S\u00f8ren Stobbe. ``Interfacing single photons and single quantum dots with photonic nanostructures&apos;&apos;. Rev. Mod. Phys. 87, 347\u2013400 (2015).","DOI":"10.1103\/RevModPhys.87.347"},{"key":"4","doi-asserted-by":"publisher","unstructured":"Darrick E. Chang, Vladan Vuleti\u0107, and Mikhail D. Lukin. ``Quantum nonlinear optics - Photon by photon&apos;&apos;. Nature Photonics 8, 685\u2013694 (2014).","DOI":"10.1038\/nphoton.2014.192"},{"key":"5","doi-asserted-by":"publisher","unstructured":"Hanna Le Jeannic, Alexey Tiranov, Jacques Carolan, Tom\u00e1s Ramos, Ying Wang, Martin Hayhurst Appel, Sven Scholz, Andreas D. Wieck, Arne Ludwig, Nir Rotenberg, Leonardo Midolo, Juan Jos\u00e9 Garc\u00eda-Ripoll, Anders S. S\u00f8rensen, and Peter Lodahl. ``Dynamical photon-photon interaction mediated by a quantum emitter&apos;&apos;. Nature Physics 18, 1191\u20131195 (2022).","DOI":"10.1038\/s41567-022-01720-x"},{"key":"6","doi-asserted-by":"publisher","unstructured":"Joel Grebel, Haoxiong Yan, Ming Han Chou, Gustav Andersson, Christopher R. Conner, Yash J. Joshi, Jacob M. Miller, Rhys G. Povey, Hong Qiao, Xuntao Wu, and Andrew N. Cleland. ``Bidirectional Multiphoton Communication between Remote Superconducting Nodes&apos;&apos;. Physical Review Letters 132 (2024).","DOI":"10.1103\/PhysRevLett.132.047001"},{"key":"7","doi-asserted-by":"publisher","unstructured":"Amir H. Safavi-Naeini and Oskar Painter. ``Proposal for an optomechanical traveling wave phonon-photon translator&apos;&apos;. New Journal of Physics 13 (2011).","DOI":"10.1088\/1367-2630\/13\/1\/013017"},{"key":"8","doi-asserted-by":"publisher","unstructured":"E. T. Jaynes and F. W. Cummings. ``Comparison of Quantum and Semiclassical Radiation Theories with Application to the Beam Maser&apos;&apos;. Proceedings of the IEEE 51, 89\u2013109 (1963).","DOI":"10.1109\/PROC.1963.1664"},{"key":"9","doi-asserted-by":"publisher","unstructured":"Alexander Holm Kiilerich and Klaus M\u00f8lmer. ``Input-Output Theory with Quantum Pulses&apos;&apos;. Physical Review Letters 123, 123604 (2019).","DOI":"10.1103\/PhysRevLett.123.123604"},{"key":"10","doi-asserted-by":"publisher","unstructured":"Alexander Holm Kiilerich and Klaus M\u00f8lmer. ``Quantum interactions with pulses of radiation&apos;&apos;. Physical Review A 102, 1\u201314 (2020).","DOI":"10.1103\/PhysRevA.102.023717"},{"key":"11","doi-asserted-by":"publisher","unstructured":"Hannes Pichler and Peter Zoller. ``Photonic Circuits with Time Delays and Quantum Feedback&apos;&apos;. Physical Review Letters 116 (2016).","DOI":"10.1103\/PhysRevLett.116.093601"},{"key":"12","doi-asserted-by":"publisher","unstructured":"P-O Guimond, M Pletyukhov, H Pichler, and P Zoller. ``Delayed coherent quantum feedback from a scattering theory and a matrix product state perspective&apos;&apos;. Quantum Science and Technology 2, 044012 (2017).","DOI":"10.1088\/2058-9565\/aa7f03"},{"key":"13","doi-asserted-by":"publisher","unstructured":"Sofia Arranz Regidor, Gavin Crowder, Howard Carmichael, and Stephen Hughes. ``Modeling quantum light-matter interactions in waveguide QED with retardation, nonlinear interactions, and a time-delayed feedback: Matrix product states versus a space-discretized waveguide model&apos;&apos;. Physical Review Research 3, 023030 (2021).","DOI":"10.1103\/PhysRevResearch.3.023030"},{"key":"14","doi-asserted-by":"publisher","unstructured":"Ben Q. Baragiola, Robert L. Cook, Agata M. Branczyk, and Joshua Combes. ``N-Photon wave packets interacting with an arbitrary quantum system&apos;&apos;. Physical Review A 86, 013811 (2012).","DOI":"10.1103\/PhysRevA.86.013811"},{"key":"15","doi-asserted-by":"publisher","unstructured":"Ben Q. Baragiola and Joshua Combes. ``Quantum trajectories for propagating Fock states&apos;&apos;. Physical Review A 96 (2017).","DOI":"10.1103\/PhysRevA.96.023819"},{"key":"16","doi-asserted-by":"publisher","unstructured":"Kevin A. Fischer, Rahul Trivedi, Vinay Ramasesh, Irfan Siddiqi, and Jelena Vu\u010dkovi\u0107. ``Scattering into one-dimensional waveguides from a coherently-driven quantum-optical system&apos;&apos;. Quantum 2, 69 (2018).","DOI":"10.22331\/q-2018-05-28-69"},{"key":"17","doi-asserted-by":"publisher","unstructured":"Mikhail Pletyukhov and Vladimir Gritsev. ``Quantum theory of light scattering in a one-dimensional channel: Interaction effect on photon statistics and entanglement entropy&apos;&apos;. Physical Review A 91, 063841 (2015).","DOI":"10.1103\/PhysRevA.91.063841"},{"key":"18","doi-asserted-by":"publisher","unstructured":"R. Fuchs and M. Richter. ``Hierarchical equations of motion analog for systems with delay: Application to intercavity photon propagation&apos;&apos;. Physical Review B 107, 205301 (2023).","DOI":"10.1103\/PhysRevB.107.205301"},{"key":"19","unstructured":"P. Liang, N. Lambert, S. Luo, L. Guo, and M. Cirio. ``A purified input-output pseudomode model for structured open quantum systems&apos;&apos;. arXiv:2412.04264 (2024)."},{"key":"20","unstructured":"M. Cirio, P. Liang, and N. Lambert. ``Input-Output Hierarchical Equations Of Motion&apos;&apos;. arXiv:2408.12221 (2025)."},{"key":"21","doi-asserted-by":"publisher","unstructured":"Hannes Pichler, Soonwon Choi, Peter Zoller, and Mikhail D. Lukin. ``Universal photonic quantum computation via time-delayed feedback&apos;&apos;. Proceedings of the National Academy of Sciences of the United States of America 114, 11362\u201311367 (2017).","DOI":"10.1073\/pnas.1711003114"},{"key":"22","doi-asserted-by":"publisher","unstructured":"Hanna Le Jeannic, Tom\u00e1s Ramos, Signe F. Simonsen, Tommaso Pregnolato, Zhe Liu, R\u00fcdiger Schott, Andreas D. Wieck, Arne Ludwig, Nir Rotenberg, Juan Jos\u00e9 Garc\u00eda-Ripoll, and Peter Lodahl. ``Experimental Reconstruction of the Few-Photon Nonlinear Scattering Matrix from a Single Quantum Dot in a Nanophotonic Waveguide&apos;&apos;. Physical Review Letters 126, 023603 (2021).","DOI":"10.1103\/PhysRevLett.126.023603"},{"key":"23","doi-asserted-by":"publisher","unstructured":"Shanshan Xu and Shanhui Fan. ``Fano interference in two-photon transport&apos;&apos;. Physical Review A 94 (2016).","DOI":"10.1103\/PhysRevA.94.043826"},{"key":"24","doi-asserted-by":"publisher","unstructured":"Kristoffer B. Joanesarson, Jake Iles-Smith, Mikkel Heuck, and Jesper M\u00f8rk. ``Few-photon transport in Fano-resonance waveguide geometries&apos;&apos;. Physical Review A 101 (2020).","DOI":"10.1103\/PhysRevA.101.063809"},{"key":"25","doi-asserted-by":"publisher","unstructured":"S J Whalen, A L Grimsmo, and H J Carmichael. ``Open quantum systems with delayed coherent feedback&apos;&apos;. Quantum Science and Technology 2, 044008 (2017).","DOI":"10.1088\/2058-9565\/aa8331"},{"key":"26","doi-asserted-by":"publisher","unstructured":"Kisa Barkemeyer, Andreas Knorr, and Alexander Carmele. ``Strongly entangled system-reservoir dynamics with multiphoton pulses beyond the two-excitation limit: Exciting the atom-photon bound state&apos;&apos;. Physical Review A 103 (2021).","DOI":"10.1103\/PhysRevA.103.033704"},{"key":"27","doi-asserted-by":"publisher","unstructured":"Tao Shi, Darrick E. Chang, and J. Ignacio Cirac. ``Multiphoton-scattering theory and generalized master equations&apos;&apos;. Physical Review A 92, 053834 (2015).","DOI":"10.1103\/PhysRevA.92.053834"},{"key":"28","doi-asserted-by":"publisher","unstructured":"Tommaso Caneva, Marco T Manzoni, Tao Shi, James S Douglas, J Ignacio Cirac, and Darrick E Chang. ``Quantum dynamics of propagating photons with strong interactions: a generalized input\u2013output formalism&apos;&apos;. New Journal of Physics 17, 113001 (2015).","DOI":"10.1088\/1367-2630\/17\/11\/113001"},{"key":"29","doi-asserted-by":"publisher","unstructured":"Rahul Trivedi, Kevin Fischer, Shanshan Xu, Shanhui Fan, and Jelena Vuckovic. ``Few-photon scattering and emission from low-dimensional quantum systems&apos;&apos;. Physical Review B 98 (2018).","DOI":"10.1103\/PhysRevB.98.144112"},{"key":"30","doi-asserted-by":"publisher","unstructured":"Kevin A. Fischer, Rahul Trivedi, and Daniil Lukin. ``Particle emission from open quantum systems&apos;&apos;. Physical Review A 98 (2018).","DOI":"10.1103\/PhysRevA.98.023853"},{"key":"31","doi-asserted-by":"publisher","unstructured":"Alexandre Roulet and Valerio Scarani. ``Solving the scattering of <i>N<\/i> photons on a two-level atom without computation&apos;&apos;. New Journal of Physics 18, 093035 (2016).","DOI":"10.1088\/1367-2630\/18\/9\/093035"},{"key":"32","doi-asserted-by":"publisher","unstructured":"Anders Nysteen, Philip Tr\u00f8st Kristensen, Dara P S McCutcheon, Per Kaer, and Jesper M\u00f8rk. ``Scattering of two photons on a quantum emitter in a one-dimensional waveguide: exact dynamics and induced correlations&apos;&apos;. New Journal of Physics 17, 023030 (2015).","DOI":"10.1088\/1367-2630\/17\/2\/023030"},{"key":"33","doi-asserted-by":"publisher","unstructured":"William Konyk and Julio Gea-Banacloche. ``Quantum multimode treatment of light scattering by an atom in a waveguide&apos;&apos;. Physical Review A 93, 063807 (2016).","DOI":"10.1103\/PhysRevA.93.063807"},{"key":"34","doi-asserted-by":"publisher","unstructured":"Mads M. Lund, Fan Yang, and Klaus M\u00f8lmer. ``Perfect splitting of a two-photon pulse&apos;&apos;. Physical Review A 107, 023715 (2023).","DOI":"10.1103\/PhysRevA.107.023715"},{"key":"35","doi-asserted-by":"publisher","unstructured":"Fan Yang, Mads M. Lund, Thomas Pohl, Peter Lodahl, and Klaus M\u00f8lmer. ``Deterministic Photon Sorting in Waveguide QED Systems&apos;&apos;. Physical Review Letters 128, 213603 (2022).","DOI":"10.1103\/PhysRevLett.128.213603"},{"key":"36","doi-asserted-by":"publisher","unstructured":"Marten Richter and Stephen Hughes. ``Enhanced TEMPO Algorithm for Quantum Path Integrals with Off-Diagonal System-Bath Coupling: Applications to Photonic Quantum Networks&apos;&apos;. Physical Review Letters 128 (2022).","DOI":"10.1103\/PhysRevLett.128.167403"},{"key":"37","doi-asserted-by":"publisher","unstructured":"Gavin Crowder, Howard Carmichael, and Stephen Hughes. ``Quantum trajectory theory of few-photon cavity-QED systems with a time-delayed coherent feedback&apos;&apos;. Physical Review A 101 (2020).","DOI":"10.1103\/PhysRevA.101.023807"},{"key":"38","doi-asserted-by":"publisher","unstructured":"Gavin Crowder, Lora Ramunno, and Stephen Hughes. ``Quantum trajectory theory and simulations of nonlinear spectra and multiphoton effects in waveguide-QED systems with a time-delayed coherent feedback&apos;&apos;. Physical Review A 106 (2022).","DOI":"10.1103\/PhysRevA.106.013714"},{"key":"39","doi-asserted-by":"publisher","unstructured":"Francesco Ciccarello. ``Collision models in quantum optics&apos;&apos;. Quantum Measurements and Quantum Metrology 4 (2018).","DOI":"10.1515\/qmetro-2017-0007"},{"key":"40","doi-asserted-by":"publisher","unstructured":"Mikkel Heuck, Kurt Jacobs, and Dirk R. Englund. ``Photon-photon interactions in dynamically coupled cavities&apos;&apos;. Physical Review A 101 (2020).","DOI":"10.1103\/PhysRevA.101.042322"},{"key":"41","doi-asserted-by":"publisher","unstructured":"Stefan Krastanov, Kurt Jacobs, Gerald Gilbert, Dirk R. Englund, and Mikkel Heuck. ``Controlled-phase gate by dynamic coupling of photons to a two-level emitter&apos;&apos;. npj Quantum Information 8, 103 (2022).","DOI":"10.1038\/s41534-022-00604-5"},{"key":"42","doi-asserted-by":"publisher","unstructured":"J. R. Johansson, P. D. Nation, and Franco Nori. ``QuTiP: An open-source Python framework for the dynamics of open quantum systems&apos;&apos;. Computer Physics Communications 183, 1760\u20131772 (2012).","DOI":"10.1016\/j.cpc.2012.02.021"},{"key":"43","doi-asserted-by":"publisher","unstructured":"J. R. Johansson, P. D. Nation, and Franco Nori. ``QuTiP 2: A Python framework for the dynamics of open quantum systems&apos;&apos;. Computer Physics Communications 184, 1234\u20131240 (2013).","DOI":"10.1016\/j.cpc.2012.11.019"},{"key":"44","doi-asserted-by":"publisher","unstructured":"Sebastian Kr\u00e4mer, David Plankensteiner, Laurin Ostermann, and Helmut Ritsch. ``QuantumOptics.jl: A Julia framework for simulating open quantum systems&apos;&apos;. Computer Physics Communications 227, 109\u2013116 (2018).","DOI":"10.1016\/j.cpc.2018.02.004"},{"key":"45","doi-asserted-by":"publisher","unstructured":"F. Ciccarello, S. Lorenzo, V. Giovannetti, and G. M. Palma. ``Quantum collision models: Open system dynamics from repeated interactions&apos;&apos;. Physics Reports 954, 1\u201370 (2022).","DOI":"10.1016\/j.physrep.2022.01.001"},{"key":"46","unstructured":"``Documentation of WaveguideQED.jl&apos;&apos;. https:\/\/qojulia.github.io\/WaveguideQED.jl\/dev\/."},{"key":"47","unstructured":"``Github repository of WaveguideQED.jl&apos;&apos;. https:\/\/github.com\/qojulia\/WaveguideQED.jl."},{"key":"48","unstructured":"``LazyOperators in QuantumOptics.jl&apos;&apos;. https:\/\/docs.qojulia.org\/quantumobjects\/operators\/."},{"key":"49","doi-asserted-by":"publisher","unstructured":"S. J. Whalen. ``Collision model for non-Markovian quantum trajectories&apos;&apos;. Physical Review A 100, 052113 (2019).","DOI":"10.1103\/PhysRevA.100.052113"},{"key":"50","unstructured":"N. Lambert, E. Gigu\u00e8re, P. Menczel, B. Li, P. Hopf, G. Su\u00e1rez, M. Gali, J. Lishman, R. Gadhvi, R. Agarwal, A. Galicia, N. Shammah, P. Nation, J. R. Johansson, S. Ahmed, S. Cross, A. Pitchford, and F. Nori, ``QuTiP 5: The Quantum Toolbox in Python&apos;&apos;, arXiv:2412.04705 (2024)."},{"key":"51","doi-asserted-by":"publisher","unstructured":"J. Rom\u00e1n-Roche, E. S\u00e1nchez-Burillo, and D. Zueco, ``Bound states in ultrastrong waveguide QED&apos;&apos;, Phys. Rev. A 102, 023702 (2020).","DOI":"10.1103\/PhysRevA.102.023702"},{"key":"52","doi-asserted-by":"publisher","unstructured":"D. Cilluffo, A. Carollo, S. Lorenzo, J. A. Gross, G. M. Palma, and F. Ciccarello, ``Collisional picture of quantum optics with giant emitters&apos;&apos;, Phys. Rev. Res. 2, 043070 (2020).","DOI":"10.1103\/PhysRevResearch.2.043070"}],"container-title":["Quantum"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/quantum-journal.org\/papers\/q-2025-04-17-1710\/pdf\/","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"}],"deposited":{"date-parts":[[2025,4,17]],"date-time":"2025-04-17T16:11:44Z","timestamp":1744906304000},"score":1,"resource":{"primary":{"URL":"https:\/\/quantum-journal.org\/papers\/q-2025-04-17-1710\/"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,17]]},"references-count":53,"URL":"https:\/\/doi.org\/10.22331\/q-2025-04-17-1710","archive":["CLOCKSS"],"relation":{},"ISSN":["2521-327X"],"issn-type":[{"value":"2521-327X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,4,17]]},"article-number":"1710"}}