sf.utils.gbs_runtime

gbs_runtime(N_c, G, modes, c=4.413680781758957e-17)[source]

Simulation time of a GBS sample (cf. L.S. Madsen et al., “Quantum computational advantage with a programmable photonic processor”, Nature (2022).)

Parameters
  • N_c (int) – number of nonzero detector outcomes

  • G (float) – collision parameter

  • modes (int) – number of modes

  • c (float) – a supercomputer benchmark parameter (see reference above)

Returns

runtime in seconds

Return type

float