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

how to set seed when using ZNEStrategy #46

Open
1 task done
cometta opened this issue Apr 15, 2023 · 1 comment
Open
1 task done

how to set seed when using ZNEStrategy #46

cometta opened this issue Apr 15, 2023 · 1 comment
Labels
bug Something isn't working triage Pending assessment

Comments

@cometta
Copy link

cometta commented Apr 15, 2023

Device

OS

Python version

Release version or branch/commit

What is the current behavior?

May i know when using zne(..) and ZNEStrategy(..), aside from noise_amplifier has input for seed. Any other part that i need to input seed? I use ZNEStrategy and each time get different result for ground state value

What is the expected behavior?

Steps to reproduce the problem

Context

Suggestions

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cometta cometta added bug Something isn't working triage Pending assessment labels Apr 15, 2023
@garrison
Copy link
Member

garrison commented Oct 3, 2023

and each time get different result for ground state value

Can you clarify how you are obtaining the ground state value? If it is through a simulator, you will need to pass a seed to that simulator. If it is through quantum hardware, there is no way to obtain a deterministic result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Pending assessment
Projects
None yet
Development

No branches or pull requests

2 participants