You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from mrmustard.lab import *
fock_state = State(ket=Gaussian(1).ket())
print(len(fock_state.fock_probabilities([4]))) # prints 4
print(len(fock_state.fock_probabilities([8]))) # prints 4 again
Tracebacks
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Before posting a bug report
Expected behavior
Length of probabilities equals cutoff
Actual behavior
the first cutoff sets the length once and for all
Reproduces how often
100%
System information
Source code
Tracebacks
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: