To set up the project, run poetry install
The code for generating and running experiments can be found in generate_experiments.py
The parameter configurations for different experiments can be found in config.py
, where e.g. get_exp_one_qubit_unitary_config()
refers to the experimental setup for single-qubit unitary experiment.
To run the single-qubit unitary and the 4-qubit unitary experiments, simply call test_fig2()
and test_fig3()
to generate the results.
This repository uses python 3.10, pennylane, torch and qiskit, the specific versions can be found in pyproject.toml