Useful tools for QEC simulation
Project description
qec-util
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
- Create a free academic account
- Request a license, which will give you a license key
- Install the Gurobi Optimizer (or install
gurobipythrough conda) so that we can run thegrbgetkeycommand - Run
grbgetkey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxusing your license number - At the end of
~/.bashrcaddexport GRB_LICENSE_FILE=/path/to/license.licwhere the license path is printed when running the previous step - Run
source ~/.bashrcor open a new terminal and check that the license installation is successful by running thegurobi.shcommand
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qec_util-0.4.1.tar.gz.
File metadata
- Download URL: qec_util-0.4.1.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f111aaae3f200c6331ab0b6f191012cb97f40bf5929a9173d2a11bd82005b24
|
|
| MD5 |
2d21bc9af44756a048965388e6738613
|
|
| BLAKE2b-256 |
d245a70641be684e32814cd0ee1fa3ad054b188cea703b444ddf316f5c4bd601
|
File details
Details for the file qec_util-0.4.1-py3-none-any.whl.
File metadata
- Download URL: qec_util-0.4.1-py3-none-any.whl
- Upload date:
- Size: 37.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4132cda8817e2b74eaaecccf4335526a8596f42ef0096b3f4de1e1bad6122e0c
|
|
| MD5 |
eaef625bd947c6c649eaa40de8ae9925
|
|
| BLAKE2b-256 |
52f062735fb7912ce10dd70ab0ec39e6c345ff72f1324209100ac058bdb4a188
|