Skip to content

Deep reinforcement learning to generate arbitary quantum states and map out the control landscape.

Notifications You must be signed in to change notification settings

txhaug/deepQControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep reinforcement learning program to generate arbitary quantum states. This program has been used for "Engineering quantum current states with machine learning" (https://arxiv.org/abs/1911.09578). It is able to learn all driving protocols to generate arbitrary states on a 2D Bloch sphere, embedded in a higher dimensional Hilbertspace. The amazing feature is that it produces all the driving protocols (over a continous Bloch sphere) for all possible target states in a single run of the program. The learning is performed on all target states at the same time. Based on spinning Up AI deep learning with PPO, implemented in Tensorflow.

Prerequisites:

NOTE: Requires older version of qutip, namely <=4.7.5, which has dependencies on older versions of numyp and scipy. To install, make clean python environment and install packages as:

  • pip install numpy==1.26.4
  • pip install scipy==1.12.0
  • pip install qutip==4.7.5

Execute the main file RunSpinUpNV_reduced.py. Various parameters can be configures in the main file, at around line 404. You can choose from 3 pre-defined templates using the variable predefinedTemplates (line 414 in RunSpinUpNV_reduced.py) that reproduce the main results from the publication.

About

Deep reinforcement learning to generate arbitary quantum states and map out the control landscape.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages