Skip to main content

Useful tools for QEC simulation

Project description

qec-util

example workflow Code style: black PyPI

A collection of utility methods and objects to aid with the simulation, decoding and analysis of QEC experiments.

Installation

This package is available in PyPI, thus it can be installed using

pip install qec-util[all]

or alternatively, it can be installed from source using

git clone git@github.com:MarcSerraPeralta/qec-util.git
cd qec-util
pip install .[all]

The flag [all] is to install the requirements to be able to run all functionality from qec_util. If only specific functions are going to be used, it is recommended to run

pip install qec-util
pip install ... # requirements specified in the Notes of the specific functions

Setting up the gurobi license

  1. Create a free academic account
  2. Request a license, which will give you a license key
  3. Install the Gurobi Optimizer (or install gurobipy through conda) so that we can run the grbgetkey command
  4. Run grbgetkey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx using your license number
  5. At the end of ~/.bashrc add export GRB_LICENSE_FILE=/path/to/license.lic where the license path is printed when running the previous step
  6. Run source ~/.bashrc or open a new terminal and check that the license installation is successful by running the gurobi.sh command

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qec_util-0.4.2.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qec_util-0.4.2-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

Details for the file qec_util-0.4.2.tar.gz.

File metadata

  • Download URL: qec_util-0.4.2.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for qec_util-0.4.2.tar.gz
Algorithm Hash digest
SHA256 eace2849c10e5f7c9580b9db0fe682d854832b5a5d26dfe151d40b994d101653
MD5 10d248e0bd28250dfc794c88ca78b9fc
BLAKE2b-256 e5c284821c1c1621e029af92191178953a905bd8b43dcbb560a69cc351cf373c

See more details on using hashes here.

File details

Details for the file qec_util-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: qec_util-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 41.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for qec_util-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b8aabcbe052dbe02b0bcaf75b7dd2e31a3f9ab326e3111121272057e1b7dc6b
MD5 6c9138dc479e7cee8148d7c09e92988a
BLAKE2b-256 db2882af97a5ace4d053bd39d2f6410a6831bccffa462bd141347cfe91c1177c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page