Strong Simulation of Linear Optical Processes

Nicolas Heurtel, Shane Mansfield, Benoît Valiron, Jean Senellart

Journal articleComputer Physics Communications4 July 2023

PDFDOI

Abstract

In this paper, we provide an algorithm and general framework for the simulation of photons passing through linear optical interferometers. Given nn photons at the input of an mm-mode interferometer, our algorithm computes the probabilities of all possible output states with time complexity O(nCm,n)O(n\,C_{m,n}), linear in the number of output states Cm,nC_{m,n}. It outperforms the permanent-based method by an exponential factor, and for the restricted problem of computing the probability for one given output it improves the time complexity over the state-of-the-art for the permanent of matrices with multiple rows or columns, with a tradeoff in the memory usage. Our algorithm also has additional versatility by virtue of its use of memorisation -- the storing of intermediate results -- which is advantageous in situations where several input states may be of interest. Additionally it allows for hybrid simulations, in which outputs are sampled from output states whose probability exceeds a given threshold, or from a restricted set of states. We consider a concrete, optimised implementation, and we benchmark the efficiency of our approach compared to existing tools.

← All publications