-
Notifications
You must be signed in to change notification settings - Fork 577
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
Parametrized Quantum Circuits for Reinforcement Learning stuck if using qsim backend #766
Comments
My guess would be there is something going on with the interface here: https://github.com/tensorflow/quantum/blob/v0.7.2/tensorflow_quantum/core/ops/cirq_ops.py#L125, might be a good place to investigate more. Although I am interested in seeing why you want to use qsim as the backend when TFQ already uses qsim by default. |
thank you, ill look into it.
It was a sanity check. I actually want to benchmark QRL using different backends, including
Im now trying on a gpu using these images but now I face other problems that possibly require to compile tensor flow from source. Another question. Any particular reason TFQ has pinned dependencies (as opposed to a range), could it be used with cirq>0.13? thank you |
thank you very much! I've added the error I get on gpu regarding the original issue about getting stuck on cpu mode. I've run these tests |
I've ran this notebook with no problem. However, if I try to use
qsim
as a backend by passing the backendbackend = qsimcirq.QSimSimulator()
explicitly toReUploadingPQC
, then I get the following messageand it gets stuck there indefinitely.
Any idea of what might be going on?
To reproduce:
replace
with
and then replace
versions:
The text was updated successfully, but these errors were encountered: