Clone the files
git clone [email protected]:Wikstahl/error-mitigation.git
cd error-mitigation
Recommended: Create a new virtual environment using conda or venv
python -m venv .venv
activate it using
source .venv/bin/activate
install the required packages
python -m pip install -r requirements.txt
install the module
python -m setup.py
Examples of virtual distillation applied to qaoa states and thermal states are given in the folder examples
The src
folder contains the scripts used for producing the results. The qaoa folder produces the virtual distillation for variational states results, and thermal produces virtual distillation applied to thermal states results.