Skip to content

Quantum Reinforcement Learning Demo #962

Open
@AVON257

Description

@AVON257

General information

Name
Thomas Nathaniel Toseland (My GitHub ID is AVON257).

Affiliation (optional)
University of St Andrews.

Twitter (optional)
I don't have Twitter but anyone interested can email me at [email protected].

Image (optional)
How do you make a computer solve this problem fast?
https://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html [online] (accessed 21/10/2023).


Demo information

Title
Quantum Reinforcement Learning using complex variables.

Abstract
A short abstract describing your demo. Try to keep it to 1-3 sentences that make clear the goal and outcome of the demo.

The purpose of this is to solve the cart-pole problem of reinforcement learning, faster than has been previously possible using a simulated, quantum computing demo. This has not yet been tested on real hardware but on my desktop (with an RTX3090), this only takes about 2 minutes or less to train.

Relevant links
[Add a link to your demo (as a GitHub repository, Jupyter Notebook, Python script, etc.) as well as links to any papers/resources used
https://github.com/AVON257/Complex-Valued-Quantum-Neural-Networks/blob/main/Reinforcement%20Learning(1).ipynb.

References:
http://bayesiandeeplearning.org/2021/papers/22.pdf [online] (28/02/2022). (1).
https://github.com/LauraGentini/QRL [online] (accessed 28/02/2022). (2).
https://ionq.com/best-practices [online] (accessed 05/07/2022). (3).
https://pytorch.org/docs/stable/generated/torch.complex.html [online] (accessed 09/07/2022). (4).
https://ionq.com/docs/get-started-with-qiskit [online] (accessed 09/07/2022). (5).
https://qiskit.org/documentation/partners/ionq/guides/usage.html [online] (accessed 09/07/2022). (6).
https://qiskit.org/documentation/stubs/qiskit.circuit.library.RZZGate.html [online] (accessed 14/07/2022). (7).
https://qiskit.org/documentation/stubs/qiskit.circuit.library.RXXGate.html [online] (accessed 14/07/2022). (8).
https://qiskit.org/documentation/stubs/qiskit.circuit.library.RZZGate.html [online] (accessed 14/07/2022). (9).
https://arxiv.org/abs/1611.02779 [online] (accessed 14/07/2022). (10).
https://ionq.com/docs/getting-started-with-native-gates [online] (accessed 16/07/2022). (11).
appropriate resources from https://qiskit.org/ [online] (accessed 16/07/2022). (12).
https://www.nature.com/articles/s41467-019-13534-2.pdf [online] (accessed 20/07/2022). (13).
S.Russell.P.Norvig. Artificial Intelligence: A Modern Approach. (14).
https://github.com/openqasm/openqasm/tree/OpenQASM2.x [online] (accessed 21/07/2022). (15).
https://arxiv.org/pdf/2104.14722.pdf [online] (accessed 21/07/2022). (16).
https://arxiv.org/pdf/2109.00506.pdf [online] (accessed 21/07/2022). (17).
https://strawberryfields.readthedocs.io/en/stable/ [online] (accessed 21/07/2022). (18).
https://pennylane.ai/qml/ [online] (accessed 21/07/2022). (19).
https://arxiv.org/pdf/2108.12926.pdf [online] (accessed 22/07/2022). (20).
https://strawberryfields.readthedocs.io/en/stable/code/sf_ops.html [online] (accessed 21/07/2022). (21).
https://www.nature.com/articles/s41586-021-04301-9 [online] (accessed 28/07/2022). (22).
https://link.springer.com/content/pdf/10.1007/s13244-018-0639-9.pdf [online] (accessed 28/07/2022). (23).
https://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html [online] (accessed 21/10/2023). (24)

https://pennylane.ai/qml/demos/tutorial_qnn_module_torch [online] (accessed 21/10/2023). (25).

Lectures on Several Complex Variables P.M. Gauthier (kindle edition). (25).
Combinatorial and Toric Homotopy (Kindle edition, A.Darby, J.Grbic, Z.Lu, J.Wu) (26).
BiHarmonic Submanifolds and Biharmonic Maps in Riemannian Geometry (Ye-Lin Ou, Bang-Yen Chen, Kindle Edition), (27).
https://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html [online] (accessed 21/10/2023). (28).

Metadata

Metadata

Labels

demosUpdating the demonstrations/tutorials

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions