Software Open Access

Linear-Optical Feynman Paths (LOFP): code for strong simulation of Fock-state boson sampling

Balthazar, Wagner Franklin; Galvão, Ernesto Fagundes

Linear-Optical Feynman Paths (LOFP) is a C++ package for the strong simulation, that is, the exact calculation of probability amplitudes, of Fock-state boson sampling experiments on planar multimode interferometers. LOFP uses a Feynman path sum approach, together with tensor contraction. LOFP also includes routines with implementations of general-purpose permanent calculation algorithms for benchmarking purposes and examples. The code is advantageous with respect to general algorithms for permanent calculation for constant-depth circuits, and high density of photons per mode.

Files (1.4 MB)
Name Size
Example_1_correctness.cpp
md5:f0a0a43a5dffd3d3755053865ea72047
76.6 kB Download
Example_2_increase_modes_photons.cpp
md5:389a8dd1ef2822dcf06225035cfa8474
75.6 kB Download
Example_3_increase_depth.cpp
md5:40eeae9f2abae664138830ab7aae52c6
75.5 kB Download
Example_4_Higher_input.cpp
md5:0dd677cf22fa7126cf8e71887b5b2b8d
61.0 kB Download
Example_5_read_matrix_csv_bs_parameters.cpp
md5:0560ec61948cb7bb650be8f1dd56d330
72.9 kB Download
Linear_Optical_Feynman_Paths__LOFP.pdf
md5:c51e5aed152797250d2ec6600de532a4
935.4 kB Download
phis.csv
md5:ac8d45e8806250db64e43e9c0e56bc27
1.1 kB Download
probability_Feynman.cpp
md5:34da899937166bfabfdfd4ce7118b934
65.7 kB Download
probability_Glynn.cpp
md5:24d5732b248f029792176af492143deb
23.0 kB Download
probability_Ryser.cpp
md5:d716bda5a81a6faaf786b3ec3027f70c
25.2 kB Download
README.docx
md5:8e1c6778ef37ee0255c1ed53432e92fb
15.2 kB Download
thetas.csv
md5:b4266bb811a25c69e0a94714eddb9b88
1.1 kB Download
43
57
views
downloads
All versions This version
Views 4343
Downloads 5757
Data volume 43.5 MB43.5 MB
Unique views 3939
Unique downloads 4040

Share

Cite as