-
Notifications
You must be signed in to change notification settings - Fork 120
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
Noisy VQE in Qulacs #302
Comments
As far as I have heard and tested, qulacs's simulation works also for noisy circuits. I'm sorry if my guess is wrong. I guess the scipy-optimize stops at the first iteration since you execute the circuit simulation with state vector. In other words, if you use the In qulacs, there are two classes that represent the quantum state: In the tutorial's example, a quantum state is simulated only once per iteration. Thus, if you use Thus, there are two ways to resolve them.
As far as I checked, the example in the tutorial does not work when we add noisy quantum gates to the circuits, but it works again when I replace |
@corryvrequan thanks a lot for the answer and sorry for the late reply. I indeed tested the tutorial with In this regards, I would like to add another question: Many thanks again, |
@StefanoBarison |
Good morning,
I was trying to use Qulacs for a simple VQE on the Ising chain Hamiltonian.
I followed the tutorial and everything works fine until I put
DepolarizingNoise
as gates in the circuit.The
scipy.optimize.minimize
method seems to have problem with noisy cost functions, sometime the calculation ends, other time it gets stuck at the first iteration, so it's very inconsistent.Is there a specific way to do noisy VQE calculation in Qulacs?
Thanks
The text was updated successfully, but these errors were encountered: