Skip to content
Snippets Groups Projects
Unverified Commit 53264b41 authored by alessandro_sinibaldi's avatar alessandro_sinibaldi Committed by GitHub
Browse files

Chunking apply_fun for MCState.to_array (#1470)


`MCState.to_array()` cannot be used to instantiate the wave function
over the full Hilbert space for systems with fairly large size (but that
should be still accessible) due to a large memory usage. The
modification in `MCState.to_array()` consists in the possibility of
computing the wave function over chunks of the Hilbert space of size
`MCState.chunk_size` that are then combined to get the complete state
vector.

---------

Co-authored-by: default avatarClemens Giuliani <clemens@inailuig.it>
parent b970084d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment