Skip to content
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

Checkpointing feature #270

Open
mattchan-tencent opened this issue Feb 2, 2021 · 1 comment
Open

Checkpointing feature #270

mattchan-tencent opened this issue Feb 2, 2021 · 1 comment
Assignees

Comments

@mattchan-tencent
Copy link

mattchan-tencent commented Feb 2, 2021

Hi,

I'd like to checkpoint a statevec/DM in QuEST in a single node configuration. (I think MPI isn't implemented yet?)

Is saving the qReg to disk and then later reading it back and using setAmps the way to do it?

Thanks!

@TysonRayJones
Copy link
Member

Hi there,

Yep, you could use reportState() to save even an MPI-distributed state-vector to (shared) disk, then later process the files yourself and re-initialise the state using setAmps().

It would be a lot nicer to have a seamless checkpointing function in QuESTlink; we'll consider adding this in the next version!

Thanks,
Tyson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants