Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive calculation of threshold probabilitites #272

Open
nquesada opened this issue Aug 12, 2021 · 4 comments
Open

Recursive calculation of threshold probabilitites #272

nquesada opened this issue Aug 12, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@nquesada
Copy link
Collaborator

It would be good to find a way to calculate recursively all the click probabilities of a Gaussian state.

@ziofil
Copy link
Collaborator

ziofil commented Aug 12, 2021

oh man I've been thinking about this about a year ago. The issue was that the diagonal elements are linear combos of off-diagonal ones, so in order to traverse the density matrix tensor on the diagonals we need off-diagonal values too.

maybe we can do it for pure states though by combining two recurrence relations (one for the amplitudes and one for the conjugate of the amplitudes)

@nquesada
Copy link
Collaborator Author

I think you are thinking about photon-number probabilities, I am mostly thinking about click probabilities.

@ziofil
Copy link
Collaborator

ziofil commented Aug 12, 2021

Oh I see, you want the vacuum marginals essentially...
is there a way of computing a marginal by acting somehow on the generating function?

Oh wait it's a Gaussian state. It's trivial to compute marginals. uhm.... 🤨

@sduquemesa sduquemesa added the enhancement New feature or request label Oct 7, 2021
@jakeffbulmer
Copy link
Contributor

jakeffbulmer commented Jan 17, 2022

This is on my todo list (also including internal modes), but if any progress is being made in this direction, let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants