Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Saving AerJobs to Disk #3

Open
aditya-giri opened this issue Sep 8, 2020 · 6 comments
Open

Saving AerJobs to Disk #3

aditya-giri opened this issue Sep 8, 2020 · 6 comments
Assignees
Labels
collaborators wanted Need more people to work together project: ongoing The project is ongoing type: code Qiskit code or related code projects

Comments

@aditya-giri
Copy link
Collaborator

aditya-giri commented Sep 8, 2020

Abstract

Provide users with an option to persist Aer jobs on the disk so they can be retrieved and queried later.

Description

As mentioned on the original issue:

Currently in Aer, an AerJob with a particular ID is created on every execution. This mimics the IBMQJob and its async execution model. However this AerJob is not as useful, as it only persists during that session (the job id is basically useless for future reference).
Can we treat the user's disk as the "cloud" used in IBMQ jobs, save all the qobj and result and simulation configs associated with each execution, and allow them to be queried later?  
The size of this data is unlikely to grow extremely large, so I'd enable this by default, with an option to turn off.

Members

Deliverable

Ability to save AerJobs to disk, with an additional parameter in execute or run specifying the location...

GitHub repo

https://github.com/aditya-giri/qiskit-aer

@HuangJunye HuangJunye added collaborators wanted Need more people to work together type: code Qiskit code or related code projects labels Sep 9, 2020
@HuangJunye
Copy link
Collaborator

This is great Aditya! Do you need any collaborators on this project? I assume Juan is your mentor.

@aditya-giri
Copy link
Collaborator Author

I was originally planning on completing it myself, but between the QGSS, QOSF mentorship test, the India challenge, and everything else I haven't found the time to do justice to this. It would be helpful to collaborate with another person who also has a little bit of experience with python and software engineering in general. I hope Juan doesn't mind (I can't tag him here)...

@atilag
Copy link

atilag commented Sep 9, 2020

No problem at all!
This is actually more of a pure software engineer challenge, than a Quantum Computing theory problem. But I find it very useful to have a better understanding of how Qiskit works under the hood.
Thanks for trying @aditya-giri !
Also, this was not a critical feature to implement (I was actually going to close the issue), so there's no rush!! Some people from the Qiskit team would love to have it implemented, so if anyone wants to take it over, I'll be glad to mentor!

@aditya-giri
Copy link
Collaborator Author

aditya-giri commented Sep 9, 2020

Thanks @atilag! I'm continuing to work on it, just that it's slow. I'd actually find it harder if it were a quantum computing theory problem because I'm a software engineer myself 😂

If there's no rush to get it done then I'd be happy to just complete it at my own pace :) It's fairly straightforward and shouldn't require more than a couple of days of effort...

@spencerking
Copy link
Collaborator

@aditya-giri I'd be happy to help if you're interested in additional collaborators. No worries if you've got it under control.

@aditya-giri
Copy link
Collaborator Author

@spencerking Sure, we can work on it together... I'll ping you on Slack

@HuangJunye HuangJunye added the project: paused The project development is paused label Sep 14, 2020
@aditya-giri aditya-giri added project: ongoing The project is ongoing and removed project: paused The project development is paused labels Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
collaborators wanted Need more people to work together project: ongoing The project is ongoing type: code Qiskit code or related code projects
Projects
None yet
Development

No branches or pull requests

4 participants