QX simulator
QX simulator is a simulator of cQASM programs, developed by QuTech. At the moment, QX simulator only supports cQASM v3.0 programs (see cQASM-spec for the language specification).
It performs simulations of input programs received via file or string. It produces one of the following results:
- A simulation result: a quantum state and, optionally, a list of measurements.
- An error. In case the input program was malformed or the simulation failed.
It can be used:
- As a standalone executable (built from C++), from the command line.
- As a module (called
qxelarator), from Python projects (as a Python package).
cQASM v3.0 specification coverage
QX simulator has the following shortcomings regarding to the current cQASM v3.0 specification:
- Power gate modifier can only be used with integer exponents, not with fractional (rational or irrational) ones.
Getting started
Given a cQASM program example.cq.
version 3.0
qubit[2] q
bit[2] b
H q[0]
CNOT q[0], q[1]
b = measure q
We can simulate this circuit using QX simulator, either from the command line, or with a Python script.
Command line
build/Release# ./qx-simulator -c 1000 example.cq
Python
import qxelarator
if __name__ == "__main__":
result = qxelarator.execute_file('example.cq', iterations=1000)
print(result)
Documentation
The QX simulator documentation is hosted through GitHub Pages.
License
QX simulator is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Authors
Quantum Inspire: support@quantum-inspire.com
Metadata
Release files for qxelarator 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 34.7 MB
Release files / qxelarator-0.11.0-cp314-cp314-win_amd64.whl
| Download URL | qxelarator-0.11.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 750.8 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
69ddcc99ad0c8fe94130ea815492f9fc0cd1057287907ab36fa7ff9b8baee08b
|
|
BLAKE2b-256 checksum How to use checksums |
dfc2e9681239330264c73df12b5e59d675fa2652a254defd848ea9bed1942da5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | qxelarator-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
574275118404e2cc85f7aecde6b841526b87046f12914f1e1e09ee967328f95d
|
|
BLAKE2b-256 checksum How to use checksums |
c4e177436012b4829691390c92c244c832cbdb862ac3a3dff8365fbd41d22f22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | qxelarator-0.11.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.14 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
ebb7f9ebe345a5965b8194c49ba665c16cad67e88cb80414362f0009e86aac95
|
|
BLAKE2b-256 checksum How to use checksums |
b64163ba1765b2fed65b10979a144e8cf0319ee9bc2cb23def7bafb2f625f19a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | qxelarator-0.11.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7d8cd8ed44540abb053d47e4ca159ceba99b00d977aceaa2d1996f44bc79d73e
|
|
BLAKE2b-256 checksum How to use checksums |
c3e588396b9819c8c82f8eab90ecf56a0a1ff20594f0664227b5183b02e45895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp314-cp314-macosx_10_15_x86_64.whl
| Download URL | qxelarator-0.11.0-cp314-cp314-macosx_10_15_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
94906648b1f8cee61cc17cea15bffb47d8492b458596d94eefede1993e7ed9d6
|
|
BLAKE2b-256 checksum How to use checksums |
885dff42c00ea2eda4de00b5cbf8caf3538dd158ddb4ac817e2f1e124e7d9a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp313-cp313-win_amd64.whl
| Download URL | qxelarator-0.11.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 729.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c31b9684c28207cd069b56800082613cf6a5ec034bd0bd9310f99e5f01c60f99
|
|
BLAKE2b-256 checksum How to use checksums |
8121068448fe40c7fae6e84a716938fb2931a10742782b386b81ae2a12142bc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | qxelarator-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
bdf4192dad30dabc2c39b11b7e06f63c156dbe487ee63fb1a314ee20344bcef9
|
|
BLAKE2b-256 checksum How to use checksums |
394ebec242e9f7b3cad2377006101d7d04785d2f6d8f47bb220f4dbdf701a884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | qxelarator-0.11.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.13 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
a81cd05e30ce04ed966c07cbdce7c8677259c862a7f92a76684b7cceb90d3997
|
|
BLAKE2b-256 checksum How to use checksums |
efe19d28493b785d15ac4a7f0d6f512431231afee2bc1471026f91d0f8b57125
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | qxelarator-0.11.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
af313c894aa67f811e24622b297dc82d2ed2ac3c993e52d2eac446b66cab72c2
|
|
BLAKE2b-256 checksum How to use checksums |
523656b28e3b2eacd013db9583acc587484ff4a338e914240388baf339cf5a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | qxelarator-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
359f4d013ccb4d5c2bfa9808014da4bb3f51d76e6e9572760c1c0d9447611aa7
|
|
BLAKE2b-256 checksum How to use checksums |
1abce2112ba305c31d92add5bf451aea41e8268346d3b4896f3b69a8e60b0069
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp312-cp312-win_amd64.whl
| Download URL | qxelarator-0.11.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 730.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
09245306a7f957af6e1cb031730326ee8abeab1fc32cd91871d97a12fe9cb55f
|
|
BLAKE2b-256 checksum How to use checksums |
b0a2d5dab429735cfc7940f5ed171bab2cc9682b5b4fe40abcc5dc100c975d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | qxelarator-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e35efb9b267ee22c102d4a339080e468f97a0ebbc06265de40fefe825f6528ce
|
|
BLAKE2b-256 checksum How to use checksums |
06d647a3db84cdaccd48efde3e0e0e3523cb47649786ca037aeb8055231a7fbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | qxelarator-0.11.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
764822f56e2d6f282aabfc81c8bfe8077b32dc4abcbd408befef3e48f3ecf34f
|
|
BLAKE2b-256 checksum How to use checksums |
3584b08ee0c2348000a1e72f5dfc27e2900a3a3b987135103bc7c091b3066bc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | qxelarator-0.11.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0f1f6a1a973071d9c8cdf566ca69e1d46387e16a4f8962fe75305a3f03163d2c
|
|
BLAKE2b-256 checksum How to use checksums |
493a55280c98a0a901f9968bbe8f5e46b106183319f39b374fe89160fa2b9762
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | qxelarator-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
75a894e227b84840e230406200542248e8f51400e9fc91f3ff258c151f2ae0fd
|
|
BLAKE2b-256 checksum How to use checksums |
a64d447af0c0190ea93000c5c368cf9c3cc3f56f9e4ec5db6a4ab44d84205266
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp311-cp311-win_amd64.whl
| Download URL | qxelarator-0.11.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 729.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1cc3cc6720e94e6bf078e29640972cc3314d9247b4bcf3103b7ad43e0eac3948
|
|
BLAKE2b-256 checksum How to use checksums |
590791ec1e234230ca36a1a682fd0fa5e9b7fa65b8c4b3e68572cd4ecfb6f70f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | qxelarator-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
fe5f368d8f951ee2a498b4157d766e972cebd6df0c6205ccc079fcf728ef2805
|
|
BLAKE2b-256 checksum How to use checksums |
04bfaa53cfd008db4022e0a92502a46a487804d2c327126e3490216e82cae334
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | qxelarator-0.11.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
2d82116820775c8e8c2af2454fd2fe11ccb47c5b8feb2f524f45a85f5fea5d13
|
|
BLAKE2b-256 checksum How to use checksums |
c0e9e83b8b49602034b808702bdfbe3bf9b8f12487ab54fe38ea5282bb41d927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | qxelarator-0.11.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
123f8c6bcf192f17bb97507b1155b97429ed526df87d1a6fc777bc5f36dcf261
|
|
BLAKE2b-256 checksum How to use checksums |
cafa1e18f1be0c4f2d92d705c0f07b7cb68ec76e76fee69c8262047e8045d8bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | qxelarator-0.11.0-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
2e2f71f6d1c9eab533d380c4ac8793eb00cc229837b5d3d37583f481914994f0
|
|
BLAKE2b-256 checksum How to use checksums |
acd3dad70f9082eff08bb5ab8dd85a3e77de25ecef92dc78afb2e9ee5d57e17e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp310-cp310-win_amd64.whl
| Download URL | qxelarator-0.11.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 729.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
12a167aa433bc1edac31d895a96b645880bd8cb372b7312138f2adca7ab66fa3
|
|
BLAKE2b-256 checksum How to use checksums |
4b4eee62d6341089104312030c0b402d94a4f31bac88880e1f19ba88c50deb5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | qxelarator-0.11.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
dd8cb48a7a1ed1f879a50602171982263ed18cb075c9340dd7a64b4922e10dd0
|
|
BLAKE2b-256 checksum How to use checksums |
25e92fed09bfad5238ba8ba0af06051fa3bf73f4918ace8428f248f63399f0db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | qxelarator-0.11.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
25fb0f61cf42a162968d0dd1c2c2891d45e4395bf9f22cd0b7536ba9d6ecd254
|
|
BLAKE2b-256 checksum How to use checksums |
bb4fab357e174a86476dc189ade5473d4e753bbc4c03a31d7987c6a0250331b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | qxelarator-0.11.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f2d378d77d8388f1fc776e6fc05275d636fc72dbaa5b666a3a8c1b2d1f1a9cea
|
|
BLAKE2b-256 checksum How to use checksums |
0a21794f61eadb5935a78eb0621527fa11de7501fb8059208cce05d775c96d81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / qxelarator-0.11.0-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | qxelarator-0.11.0-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
a476fb19f5cf4c155902ebb1fe55b25ecb4d05271dd0c222e16c368e32f1ece4
|
|
BLAKE2b-256 checksum How to use checksums |
4fdd5951ba6585e52feb057e6ea700ab9fa0f4763087426de3fc63ffddd8e03f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for qxelarator 0.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.