pysimplex
This is a fast Clifford circuit simulator based on BH21.
Wheels are currently available for Linux, MacOS and Windows, for Python versions 3.8, 3.9 and 3.10.
Example usage:
from pysimplex import Simplex
S = Simplex(2) # a 2-qubit system
S.H(0).CX(0, 1)
b0 = S.MeasZ(0, coin=0) # 'coin' is an optional argument that fixes the result
assert b0 == 0 # without 'coin' it would be 0 or 1 with equal probability
b1 = S.MeasZ(1)
assert b0 == b1
assert not S.is_deterministic() # 'coin' is irrelevant here
The available operations are: X, Y, Z, H, S, Sdg, CX, CZ,
MeasX, MeasY and MeasZ. The global phase (in units of pi/4, modulo 8) can
be retrieved with the phase property.
Metadata
Release files for pysimplex 1.5.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: 1.4 MB
Release files / pysimplex-1.5.0-cp312-cp312-win_amd64.whl
| Download URL | pysimplex-1.5.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 112.3 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
916de12e0f477030efa2e06fb77ba5fdb2e242ca54272377689995eb36ce44c9
|
|
BLAKE2b-256 checksum How to use checksums |
5ab6f5395abeba1df14e697fd7d18fb72015e0a8843335eb36ac11ecf335423c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pysimplex-1.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 148.8 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0782f364f9abb07238f00c294090effb855519ff639b58a16a7b23e5f4ec2213
|
|
BLAKE2b-256 checksum How to use checksums |
2a4b87101b9e73b9f24083cb814f3ab803dedcf29845f41215953e4549584d86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp312-cp312-macosx_13_0_arm64.whl
| Download URL | pysimplex-1.5.0-cp312-cp312-macosx_13_0_arm64.whl |
|---|---|
| Size | 100.7 kB |
| Tags | CPython 3.12 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
825d5d9e07244c6d295385a5715f96806f3402f81741def85fd6cac05aaf542e
|
|
BLAKE2b-256 checksum How to use checksums |
97090591d140c705e9d9f8137419b7aff3a15ee0ad9f1bf160f83cf904b1e713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp312-cp312-macosx_12_0_x86_64.whl
| Download URL | pysimplex-1.5.0-cp312-cp312-macosx_12_0_x86_64.whl |
|---|---|
| Size | 108.7 kB |
| Tags | CPython 3.12 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
97226872046cd34d810b7524fcb79ccb99bece599a7aecb045483bef8e4873e4
|
|
BLAKE2b-256 checksum How to use checksums |
3cae249df9f3bdb3a20dda41b02e048c26aadef7a77e5cc1bccbb246f907ef36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp311-cp311-win_amd64.whl
| Download URL | pysimplex-1.5.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 113.3 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e91af244fc35cb7612f2885da75379303818e9f36dbc2b9d67c25c4939b100d4
|
|
BLAKE2b-256 checksum How to use checksums |
e47da5908b4b0cffbee2080a12c186f570bbf6d9add26d88ff8b17e0af3358f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pysimplex-1.5.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 150.5 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ed54e62dedb852cfff0e7d0eff2a49ef48dba50ebe8fba42057d9fef2b947eb
|
|
BLAKE2b-256 checksum How to use checksums |
df3387ff963807266ce4342e0ba8131faadc3b157b9e42f24e5027d6163dd896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp311-cp311-macosx_13_0_arm64.whl
| Download URL | pysimplex-1.5.0-cp311-cp311-macosx_13_0_arm64.whl |
|---|---|
| Size | 101.4 kB |
| Tags | CPython 3.11 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0c73d0192786d38a308f0c7bf6af74d35f382ca1233287d6d96c9b3e8eca41c2
|
|
BLAKE2b-256 checksum How to use checksums |
9eb8238479c1607c2a258a4e857801a71dcb0d35a13aa70c7a1f86b9b449f0ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp311-cp311-macosx_12_0_x86_64.whl
| Download URL | pysimplex-1.5.0-cp311-cp311-macosx_12_0_x86_64.whl |
|---|---|
| Size | 109.3 kB |
| Tags | CPython 3.11 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
7bec72c6679f457ba803a9443b4feabd7f862825213212e9a86a2d7e28897cf9
|
|
BLAKE2b-256 checksum How to use checksums |
4ca07a1e57b3bf05696da1327cb306a38575d6619991f21f2e973c9aced63c96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp310-cp310-win_amd64.whl
| Download URL | pysimplex-1.5.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 111.9 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bafc7a7d4c40c7746b5fd3c9133a6777b6009a44ea1e09e0c74ef6b7d954c6cc
|
|
BLAKE2b-256 checksum How to use checksums |
0dd35c7f864bc9d7bbe5cc8b4fe6e22ef3f260a6425bb6edf399593113f7c975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pysimplex-1.5.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 149.0 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d6e40bdac0e2e2f9876f5c277d844de11a2e88c60a24eb15c5db788b89eaea6d
|
|
BLAKE2b-256 checksum How to use checksums |
1a51d455dd5bdf7a436ea5c0a0c4fad368a275ada290e41e26fa79c26e079114
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp310-cp310-macosx_13_0_arm64.whl
| Download URL | pysimplex-1.5.0-cp310-cp310-macosx_13_0_arm64.whl |
|---|---|
| Size | 100.1 kB |
| Tags | CPython 3.10 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
67c84985fca28cf6ba6708ec59c2a0159ff767de527e4753b4c05246d5b877b6
|
|
BLAKE2b-256 checksum How to use checksums |
9a516cb7d580c97f673f6f39e2b0424eec7c069b541c2b3d82ef5d2eb8c1b2f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pysimplex-1.5.0-cp310-cp310-macosx_12_0_x86_64.whl
| Download URL | pysimplex-1.5.0-cp310-cp310-macosx_12_0_x86_64.whl |
|---|---|
| Size | 107.9 kB |
| Tags | CPython 3.10 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
b70531060a4f7c0234fc3b99084b73956adffe64c7d9462cf89c3ceddbbc4228
|
|
BLAKE2b-256 checksum How to use checksums |
399d21e0dcaafee1a90b47baf85d2ba23ea77c5500c13dd9f0f0deee18f7db14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|