Skip to content

synqs/pennylane-ls

Repository files navigation

PennyLane Plugin for Cold Atoms

The pennylane-ls plugin works on the connection between cold atoms and quantum information circuits.This is basically the technical implementation for the connection of cold atoms and quantum circuits, which we described in this blog post.

We also provide a few examples, where we describe published experiments with quantum circuits. They can be read through in our documentation:

  • A circuit description for tunneling of single bosons is examplified here.
  • A circuit description for squeezing in spinor Bose-Einstein condensate, which forms a long collective spin is presented here.
  • A circuit description of an experiment on a building block for quantum electrodynamics in one dimension is presented here
  • A circuit description for the dynamics of interacting fermions in two optial tweezers can be found here.

Internally, it allows us to run experiments that are controlled by the Labscript Suite through the interface and the with the features that Pennylane offers. It will connect to a control server which exposes the atoms through a json interface. The development for that server is happening in labscript-qc.

Get started with the examples

We are internally working with a quantum hardware simulator to which everyone can register. Then you can simply start hacking on one of the provided examples. The necessary steps are:

1.) Install pennylane-ls with pip:

pip install pennylane-ls

2.) Create a user account on our quantum hardware simulator qsimsim.

3.) Download one of the example notebooks.

4.) Create the credentials.py in the same directory as the. Its file content should be:

username = 'YOUR-USER-NAME' #Put here your username
password = 'YOUR-PASSWORD' #and the pwd

5.) Open the jupyter notebook and have fun.

6.) If something went wrong contact us, open an issue or contribute.

For connecting real hardware you can check out our labscript-qc repo.

Getting started with development

1.) Download this repo

2.) Go into the repo folder and install the dependencies with pipenv install

3.) Run simple unittests through pytest