Skip to content

The Backend in the Tergite software stack of the WACQT quantum computer.

License

Notifications You must be signed in to change notification settings

tergite/tergite-backend

Repository files navigation

Tergite Backend (formerly Tergite BCC)

CI

The Backend in the Tergite software stack of the WACQT quantum computer.

This project is developed by a core group of collaborators.
Chalmers Next Labs AB (CNL) takes on the role of managing and maintaining this project.

Version Control

The tergite stack is developed on a separate version control system and mirrored on Github. If you are reading this on GitHub, then you are looking at a mirror.

Dependencies

Quick Start

  • Ensure you have conda installed. (You could simply have python +3.9 installed instead.)
  • Ensure you have the Redis server running
  • Clone the repo
git clone [email protected]:tergite/tergite-backend.git
  • Create conda environment
conda create -n bcc -y python=3.9
conda activate bcc
  • Install dependencies
cd tergite-backend
pip install -r requirements.txt
  • Copy the dot-env-template.txt file to .env and update the environment variables there appropriately.
cp dot-env-template.txt .env

Note: If you want to run without a running MSS, set the variable IS_STANDALONE=True in the .env
Note: If you don't want to use the simulator, set the variable EXECUTOR_TYPE=quantify in the .env

  • If you have EXECUTOR_TYPE=quantify, copy the quantify example config file quantify-config.example.yml into the quantify-config.yml file and update the variables there in.
    Ignore this if you are using the qiskit pulse simulator
cp quantify-config.example.yml quantify-config.yml

Note: If you want to just run a dummy cluster, you can copy the one in the test fixtures

cp app/tests/fixtures/dummy-quantify-config.yml quantify-config.yml
  • Copy the backend example config file backend_config.example.toml into the backend_config.toml file and update the variables there in.
cp backend_config.example.toml backend_config.toml

Note: If you are running the simulator, you can copy the one in the test fixtures

cp app/tests/fixtures/backend_config.simq1.toml backend_config.toml
  • Run start script
./start_bcc.sh

Documentation

Find more documentation in the docs folder

Contribution Guidelines

If you would like to contribute, please have a look at our contribution guidelines

Authors

This project is a work of many contributors.

Special credit goes to the authors of this project as seen in the CREDITS file.

ChangeLog

To view the changelog for each version, have a look at the CHANGELOG.md file.

License

Apache 2.0 License

Acknowledgements

This project was sponsored by: