Clifft - Multi-level compiler and VM for quantum circuits
Project description
Clifft
A multi-level compiler and Schrodinger Virtual Machine (SVM) for quantum circuits.
Clifft supports Clifford + T gates and beyond, with a focus on high-performance simulation.
Installation
pip install clifft
| Platform / CPU family | PyPI wheel |
|---|---|
Linux x86_64 with AVX2 |
Supported |
Linux aarch64 |
Supported |
macOS arm64 |
Supported |
Windows amd64 |
Supported |
macOS x86_64 |
Not supported |
| Other CPU families | Not supported |
All other platforms and CPU families should build from source. See installation docs.
For macOS source builds, install Homebrew libomp first if you want
OpenMP-enabled multi-core statevector execution:
brew install libomp
Linux source builds typically find OpenMP automatically with GCC or Clang.
Quick Start
import clifft
print(clifft.version())
Development
See the building from source guide for build instructions.
Acknowledgements
Clifft was developed with the assistance of AI tools, primarily Claude by Anthropic. All AI-generated code has been reviewed by human contributors. See our contributing guide for our AI contribution policy.
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 clifft-0.1.0.tar.gz.
File metadata
- Download URL: clifft-0.1.0.tar.gz
- Upload date:
- Size: 939.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7baaf88dee9f964f0b1d52435d4c3b7dd0f957a9ca27057863c2e6c86a236390
|
|
| MD5 |
a32fd3aead69b48251cc3fed6d640e9e
|
|
| BLAKE2b-256 |
4a233763deb59deaeef2e0f644b440a8e4f4304889ecb080ddca04a1413b6c0e
|
Provenance
The following attestation bundles were made for clifft-0.1.0.tar.gz:
Publisher:
release.yml on unitaryfoundation/clifft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clifft-0.1.0.tar.gz -
Subject digest:
7baaf88dee9f964f0b1d52435d4c3b7dd0f957a9ca27057863c2e6c86a236390 - Sigstore transparency entry: 1318711113
- Sigstore integration time:
-
Permalink:
unitaryfoundation/clifft@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unitaryfoundation
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clifft-0.1.0-cp312-abi3-win_amd64.whl.
File metadata
- Download URL: clifft-0.1.0-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 335.4 kB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef241f3122ed3d471beb1220d7d0d78d0d6368da807fe3b271d2a90ae768cabf
|
|
| MD5 |
f9fc512ead8d08f76bcc09df81a6785a
|
|
| BLAKE2b-256 |
a18e3c6041c4ee70ac7b4f38a9883c12e95facfc8f7f45ad827f77dfe72ae98d
|
Provenance
The following attestation bundles were made for clifft-0.1.0-cp312-abi3-win_amd64.whl:
Publisher:
release.yml on unitaryfoundation/clifft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clifft-0.1.0-cp312-abi3-win_amd64.whl -
Subject digest:
ef241f3122ed3d471beb1220d7d0d78d0d6368da807fe3b271d2a90ae768cabf - Sigstore transparency entry: 1318711249
- Sigstore integration time:
-
Permalink:
unitaryfoundation/clifft@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unitaryfoundation
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clifft-0.1.0-cp312-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: clifft-0.1.0-cp312-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 711.5 kB
- Tags: CPython 3.12+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d09de12cd72440c526faeffea54cd8b4084e1682ec82003051ede674497a4b6
|
|
| MD5 |
478cb7b61ba316f090e7c3c2a9557d25
|
|
| BLAKE2b-256 |
7e4f6b50ba1c468a393cc22c22af412f802907343e96bab737d2ba7a1fc9a05a
|
Provenance
The following attestation bundles were made for clifft-0.1.0-cp312-abi3-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on unitaryfoundation/clifft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clifft-0.1.0-cp312-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
1d09de12cd72440c526faeffea54cd8b4084e1682ec82003051ede674497a4b6 - Sigstore transparency entry: 1318711352
- Sigstore integration time:
-
Permalink:
unitaryfoundation/clifft@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unitaryfoundation
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clifft-0.1.0-cp312-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: clifft-0.1.0-cp312-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 576.4 kB
- Tags: CPython 3.12+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b2d567bc70894d6a51234c8f28fe0d33b4f92397220d357af0bc12897f4841e
|
|
| MD5 |
392553a87095ed3693174857338556c8
|
|
| BLAKE2b-256 |
ba6d2b457a4390327c0bb01e078373c43dda3136cddd16009ea18b864bb7de49
|
Provenance
The following attestation bundles were made for clifft-0.1.0-cp312-abi3-manylinux_2_28_aarch64.whl:
Publisher:
release.yml on unitaryfoundation/clifft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clifft-0.1.0-cp312-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
6b2d567bc70894d6a51234c8f28fe0d33b4f92397220d357af0bc12897f4841e - Sigstore transparency entry: 1318711184
- Sigstore integration time:
-
Permalink:
unitaryfoundation/clifft@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unitaryfoundation
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clifft-0.1.0-cp312-abi3-macosx_14_0_arm64.whl.
File metadata
- Download URL: clifft-0.1.0-cp312-abi3-macosx_14_0_arm64.whl
- Upload date:
- Size: 627.8 kB
- Tags: CPython 3.12+, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a78fe2c2fbbc2d72376e156bea15ca0058576b282e5b8ed970dab2bdcc389dc
|
|
| MD5 |
a5bf56f56d40055e452dcfc5dcc86303
|
|
| BLAKE2b-256 |
0a15582d755eae6200efa83cfd7966bca76b72613a8630fab4ae6affdf70b4da
|
Provenance
The following attestation bundles were made for clifft-0.1.0-cp312-abi3-macosx_14_0_arm64.whl:
Publisher:
release.yml on unitaryfoundation/clifft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clifft-0.1.0-cp312-abi3-macosx_14_0_arm64.whl -
Subject digest:
3a78fe2c2fbbc2d72376e156bea15ca0058576b282e5b8ed970dab2bdcc389dc - Sigstore transparency entry: 1318711291
- Sigstore integration time:
-
Permalink:
unitaryfoundation/clifft@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unitaryfoundation
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@427a499a4fd835d5a6324f4b1fbcd906c28639a1 -
Trigger Event:
push
-
Statement type: