A collection of experiments using the open source Atos myQLM or Atos QLM
The code here can be run on the open-source myQLM simulator. Support for the QLM simulator is planned.
If you would like to test the code and you do not have access to a QLM, you can install the open source myQLM.
The best way to install the code would be through pyenv and the pyenv-virtualenv. Refer to their guides on how to install them. After both of them are installed, you can run.
pyenv install 3.9.10 # install python version 3.9.10
pyenv virtualenv 3.9.10 myqlm_env # create a virtual environment with that python version
where 3.9.10 is the python version used for this code and myqlm_env is the
name of the virtual environment (you can change whatever name you like). You can
also try other python version, but be sure they are available on myQLM website
documentation.
Then, you can install myQLM inside the environment by launching
pyenv activate myqlm_env
pip install myqlm
If you want to use jupyter notebooks, you should also execute
pip install jupyter
Then, you can clone this repository and activate the environment.
cd <SOME_DIR>
git clone https://github.com/tigerjack/qat-experiments.git
cd qat-experiments
pyenv activate myqlm_env
where <SOME_DIR> can be whatever directory you want this repository to be
contained in.
If you would like to contribute to the code, please open a GitHub issue. You can learn all the details of myQLM by following the documentation freely available at https://myqlm.github.io/. You can also ask for help on the official slack channel.
- Algorithms
- Simon
- Deutsch-Jozsa
- Bernstein-Vazirani
- Grover
- Quantum teleportation