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
It looks like this memory issue is caused by calling state3.normalize() on a Bargmann object. If you do state3.to_fock().normalize() it no longer occurs.
Before posting a bug report
Expected behavior
I expect to be able to handle reasonable states within my computers memory
Actual behavior
For some states, mrmustard throws a MemoryError:
MemoryError: Unable to allocate 564. GiB for an array with shape (194481, 194481) and data type complex128
Reproduces how often
For me it happens if I do 2 rounds of breeding with 2-mode GBS states produced by detecting 20 photons, using autoshape max cutoff of 40
System information
Source code
Tracebacks
Additional information
No response
The text was updated successfully, but these errors were encountered: