-
Notifications
You must be signed in to change notification settings - Fork 54
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
Comments
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) |
I think you are thinking about photon-number probabilities, I am mostly thinking about click probabilities. |
Oh I see, you want the vacuum marginals essentially... Oh wait it's a Gaussian state. It's trivial to compute marginals. uhm.... 🤨 |
This is on my todo list (also including internal modes), but if any progress is being made in this direction, let me know! |
It would be good to find a way to calculate recursively all the click probabilities of a Gaussian state.
The text was updated successfully, but these errors were encountered: