Skip to main content

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

Metadata

Release files for qec-util 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qec-util 0.5.0
File Size Uploaded
qec_util-0.5.0.tar.gz 41.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qec-util 0.5.0
File Interpreter ABI Platform
qec_util-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 91.0 kB

Release files / qec_util-0.5.0.tar.gz

Download URL qec_util-0.5.0.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
969251705489a2c504c2523477232db9bc6bd7394308ca0af91e25337b347490
BLAKE2b-256 checksum
How to use checksums
0c1a9d8a66c36a0d64bb3aa767be8edfd54908257526e0affe8427a502885881
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / qec_util-0.5.0-py3-none-any.whl

Download URL qec_util-0.5.0-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c457ccc51aeb005e907b8e1bcf733c67993d30a20fdcd0810b986c400511e35
BLAKE2b-256 checksum
How to use checksums
217b8cf1230b2e94e8f25dbd0b417417a7ebd9bdb32c7e789f8044beea16bcc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page