qlat.get_mpi_chunk

qlat.get_mpi_chunk(total_list, *, rng_state=None)[source]

rng_state has to be the same on all the nodes e.g. rng_state = q.RngState(“get_mpi_chunk”)