qml.devices.default_gaussian.fock_prob¶
- fock_prob(cov, mu, event, hbar=2.0)[source]¶
Returns the probability of detection of a particular PNR detection event.
For more details, see:
Kruse, R., Hamilton, C. S., Sansoni, L., Barkhofen, S., Silberhorn, C., & Jex, I. “A detailed study of Gaussian Boson Sampling.” arXiv:1801.07488. (2018).
Hamilton, C. S., Kruse, R., Sansoni, L., Barkhofen, S., Silberhorn, C., & Jex, I. “Gaussian boson sampling.” Physical review letters, 119(17), 170501. (2017).
- Parameters
cov (array) – 2N×2N covariance matrix
mu (array) – length-2N means vector
event (array) – length-N array of non-negative integers representing the PNR detection event of the multi-mode system.
hbar (float) – (default 2) the value of ℏ in the commutation relation [ˆx,ˆp]=iℏ.
- Returns
probability of detecting the event
- Return type
float