Feynman path sum approach for simulation of linear optics
Wagner F. Balthazar, Quinn M. B. Palmer, Alex. E. Jones, Jake F. F. Bulmer, Ernesto. F. Galvão
TL;DR
The paper develops a Linear-Optical Feynman Path (LOFP) framework to compute exact probability amplitudes in boson sampling by summing over valid Feynman paths through linear optical networks. It combines a path-sum formulation with tensor contraction to achieve near-linear runtime in the number of modes for shallow circuits, at the cost of exponential memory with depth. Through rigorous benchmarking against Ryser and the Cifuentes-Parrilo algorithm, LOFP demonstrates competitive accuracy (TVD near 10^-13 to 10^-16) and favorable scaling in regimes with larger mode counts or photon densities. The work provides an open-source C implementation, highlights the trade-offs between memory and speed, and discusses extensions to nonlinear gates and partially indistinguishable photons, with potential for parallelization and design-general interferometers.
Abstract
The Feynman path integral formalism has inspired the development of memory-efficient and parallelizable classical algorithms for simulating quantum computers. We adapt this approach for the calculation of probability amplitudes of linear-optical boson sampling experiments, which involve Fock-state inputs, linear optical circuits, and photo-detection at the output. We describe this simulation method and compare it with alternative approaches. Additionally, we implement a Linear-Optical Feynman Path simulator in open-source C code, enhancing its performance using tensor contraction techniques. Our method is benchmarked for low-depth linear optical circuits, where it offers advantages in runtime and memory efficiency.
