HIQ Python Bindings
Python bindings for the HIQ quantum compilation platform.
Installation
pip install hiq
Quick Start
import hiq
# Create a Bell state circuit
qc = hiq.Circuit("bell", num_qubits=2)
qc.h(0).cx(0, 1).measure_all()
# Check circuit properties
print(f"Depth: {qc.depth()}")
print(f"Qubits: {qc.num_qubits}")
# Convert to QASM
qasm = hiq.to_qasm(qc)
print(qasm)
# Parse QASM
qc2 = hiq.from_qasm("""
OPENQASM 3.0;
qubit[2] q;
h q[0];
cx q[0], q[1];
""")
Features
- Circuit Building: Fluent API for building quantum circuits
- Standard Gates: H, X, Y, Z, S, T, CX, CZ, and many more
- IQM Native Gates: PRX gate support
- QASM3 I/O: Parse and emit OpenQASM 3.0
- Compilation Types: Layout, CouplingMap, BasisGates for compilation
Pre-built Circuits
# Bell state
bell = hiq.Circuit.bell()
# GHZ state
ghz = hiq.Circuit.ghz(5)
# Quantum Fourier Transform
qft = hiq.Circuit.qft(4)
License
Apache-2.0
Metadata
Release files for hiq-quantum 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hiq_quantum-1.0.1.tar.gz | 82.2 kB | Details |
Built distributions (wheels)
Total release size: 6.2 MB
Release files / hiq_quantum-1.0.1.tar.gz
| Download URL | hiq_quantum-1.0.1.tar.gz |
|---|---|
| Size | 82.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d423757e8b25a9ef9a0e4da3b06c360c01070555913fbaf671dda421388141a2
|
|
BLAKE2b-256 checksum How to use checksums |
090f2e7bcb6c5db99b92c418fa5edb51f1c53d3c945897eb88a0195be2cea2df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hiq_quantum-1.0.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 433.6 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.11 PyPy 3.11 7.3 |
|
SHA-256 checksum How to use checksums |
e29f47e0d21e5d33b18db0c3f6f94b8dddc033d04171f515fa833df2929128c1
|
|
BLAKE2b-256 checksum How to use checksums |
9ba0e5aadbc0caa92639cfabcdc7d70b09668b2c2bdd1769c7cc6426fcfc2b2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp314-cp314-win_amd64.whl
| Download URL | hiq_quantum-1.0.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 299.9 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a247d3e24c2f22c24f1e96188d26f48acd0c03e29eb1781c1b347187c4b39a42
|
|
BLAKE2b-256 checksum How to use checksums |
38e3ad4aaed0bad002dad0bad7fe384e63b56dc453c60853d5cadec9c073884e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hiq_quantum-1.0.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 432.7 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d339b7a5c514aa90a55dc4bb1811a9b568b23dedb8fceaec148833114bb5fdeb
|
|
BLAKE2b-256 checksum How to use checksums |
713640e39754558d1e9e4dae74d70273b6e5f1538bc0e1f098f92877e7c76093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | hiq_quantum-1.0.1-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 391.7 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
88d7e8eca18b84e40a70ff8933d6ed77369210eefe98fea15aab5ada0334bb32
|
|
BLAKE2b-256 checksum How to use checksums |
102efa4084250a111e9fca8b020832452d3a052e681c8bec06f6a186bdc0a08f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp313-cp313-win_amd64.whl
| Download URL | hiq_quantum-1.0.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 299.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c265fc880624324e134f30c5de08e85ebea4ce81f1cd0b4c0fc397774b39fd04
|
|
BLAKE2b-256 checksum How to use checksums |
cc19d56da994fb2673d129c26d849068d8684986518358047714917e3910a48c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hiq_quantum-1.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 432.7 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
647b150516b7bd85de6618a77a09fba8ae68618fa7f8856175b4523743b5eb4e
|
|
BLAKE2b-256 checksum How to use checksums |
e83f84675df25ba988ceccc3bd5c817b41b923437183b366f2d16adfc4fea4ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | hiq_quantum-1.0.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 391.7 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5a7f59cf35a192ffe0151702c1760573ce31ee9005b16c9f48e2cee0394cfcfe
|
|
BLAKE2b-256 checksum How to use checksums |
0d39c700bca8ea047888314cef709b97c77c26c2c287cdfefd103f51829bb15a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp312-cp312-win_amd64.whl
| Download URL | hiq_quantum-1.0.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 299.3 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2e38253a12d05ac04d2f976104100f3d146bdb11e5064dc591ebe15cd47bbda2
|
|
BLAKE2b-256 checksum How to use checksums |
883bb6c9677f69f8ed32fb8d81a656232597b9188de228f2c8a70b72c2e29561
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hiq_quantum-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 432.6 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
24f4d432c476aee7aa9d942dc071757d6782b1859524b01ca4ed52967a80eca1
|
|
BLAKE2b-256 checksum How to use checksums |
a24c7f8967c2c1c46629caecdcf3265bb572d14a33d4c47808e57bcd8e130bc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | hiq_quantum-1.0.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 391.5 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
407e12f343b7b043852a6118fd022d5c814d19f8ca8a231793c282fa6da87d19
|
|
BLAKE2b-256 checksum How to use checksums |
1090a06f2503af8f62e2f119732a087f27283f18883c88a092c7a482c8195bd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp311-cp311-win_amd64.whl
| Download URL | hiq_quantum-1.0.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 299.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
37a9545bf77c0b0e05a9c8ed4cca3071aef95ca246698c7bf1aad7391dd44fcd
|
|
BLAKE2b-256 checksum How to use checksums |
2f64713a6838cd91617f1f555bb7ea495f8895b1708cd144a1d449c02c7844e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hiq_quantum-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 434.1 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a1d17b8229a6d22a3434a3854e13f28e0fab23b565e64b3aa424c89b057141d5
|
|
BLAKE2b-256 checksum How to use checksums |
97926fbc6a5ecd38c1a5d69b96d36b8946761c82fbc293dfb603d5d5da089f5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | hiq_quantum-1.0.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 391.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2f019d1d20b255609622857540e1a073f90733e9ad16eb8e1cfccbe62eacf0e9
|
|
BLAKE2b-256 checksum How to use checksums |
a28d21a61fedd26e4b092bf7ca5c9bb10f2daa6106f0ec0fe468db5346e39eca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp310-cp310-win_amd64.whl
| Download URL | hiq_quantum-1.0.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 302.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dcd35993e40443b1dc148e9ad7a13164a27ffcec34ba522226affbd4e0a7def4
|
|
BLAKE2b-256 checksum How to use checksums |
08ea547a7b4b5bbba2600d84f52129923b7e85f7f6744a4320d4fffb70d54b80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hiq_quantum-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 436.8 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a840dfcbda60fb695fa6fb62fbd26e30304e334bb0defcf481a38736df538d6e
|
|
BLAKE2b-256 checksum How to use checksums |
02c60f2c4ac19b50b2f529ed31c63f67404a9c440921770b5f1e14c7fbeaa73d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|
Release files / hiq_quantum-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hiq_quantum-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 436.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
47253a9bc55310f7bd2c6224a0a7b6ab0472fbeba43ffb2b8eff2731a0e63924
|
|
BLAKE2b-256 checksum How to use checksums |
3e3dba8732f6a099304a3f0e8321f71e76fbcbd2491cf161c8eeef27b6261b8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.5
|