Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

job.result() needs a refresh option #466

Closed
ajavadia opened this issue Nov 24, 2019 · 3 comments
Closed

job.result() needs a refresh option #466

ajavadia opened this issue Nov 24, 2019 · 3 comments
Assignees
Labels
type: feature request New feature or request

Comments

@ajavadia
Copy link
Member

it seems like the Job class is caching its result. But it is easy to change the result during post-processing, for example marginalizing over some qubits or doing error mitigation on the result. I think this should not affect the original job result. At least, the job.result() call should have an option to fetch the original result from the API again.

@ajavadia ajavadia added the type: feature request New feature or request label Nov 24, 2019
@jyu00
Copy link
Collaborator

jyu00 commented Nov 25, 2019

If a user wants to change the result object but keep the original, can't they just do a copy.deepcopy()?

@ajavadia
Copy link
Member Author

ajavadia commented Nov 25, 2019 via email

@jyu00
Copy link
Collaborator

jyu00 commented Dec 5, 2019

Closed via #469

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants