quisp
quisp copied to clipboard
BSA attempt rate is lower than specified in the simulation setting file (ini file)
When a QNIC has more than one quantum memory, the photons are generated in batch (photon train) and the BSA would send the results back in batch. The rate at which a BSA can detect photons is specified by a parameter photon_detection_per_second
in the BellStateAnalyzer.ned file, which in turns, dictates the temporal separation of the photons (wavepacket) in the train.
When the value is set to 1GHz, the actual attempt rate in the simulation is much much lower, (around 250 MHz), and is probably due to the conversion from detection per second parameter to time interval between photon (line 43).
https://github.com/sfc-aqua/quisp/blob/bd4c706fb9bef21f5bcd36f4b45ad0ec84ac849f/quisp/modules/PhysicalConnection/BSA/BSAController.cc#L42-L47