A Python package for quantum simulator from UnitaryLab.
Project description
unitarylab
Unitarylab is the quantum simulator SDK from UntiaryLab.
Installation
pip install unitarlab
Quick Start
Create a Quantum Circuit
from unitarylab import Circuit, Register, ClassicalRegister
qr = Register('qr', 2)
cr = ClassicalRegister('cr', 2)
qc = Circuit(qr, qc)
or simply
from unitarylab import Circuit
qc = Circuit(2)
Add quantum gates to the Circuit
qc.h(0)
qc.cx(0,1)
Execute the Circuit
result = qc.execute()
print(result.state)
Visulize the Circuit
qc.draw() # picture of the Circuit
qc.analyze() # txt information of the Circuit
License
License: LicenseRef-UnitaryLab-LICENSE. The Chinese license text is authoritative; the English version is provided for reference only.
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 Distributions
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 unitarylab-1.0.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c05afa041c4ab6033568f96876abf750ec80a590dce8fab7074de849a0ea7ac2
|
|
| MD5 |
813473ffa9eeab10eaa9f8d4e59bfe12
|
|
| BLAKE2b-256 |
247942b9b8edd0673ac4a57dc4f3ddc2ba7cd7b46e2395df732706c3b027a7c4
|
File details
Details for the file unitarylab-1.0.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 31.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d750e7db72c4110fc5f9dbe9ebc4acd19ec96d59182b16609ada42bdb1fb3adc
|
|
| MD5 |
8e88c8a5783255dec9873fa1b0ae792d
|
|
| BLAKE2b-256 |
d1511dea4a7d8a197a14fcb50308e1a79726c5bc0c2e4cd5495663f7d9a7d66a
|
File details
Details for the file unitarylab-1.0.1-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2498980a06e58e4de3f156c4a980056cac1ffe171629aca6c5c6e6e969fa824c
|
|
| MD5 |
902ee455cd113a8f2101ab62c741ac62
|
|
| BLAKE2b-256 |
924d2443f3b9c7636cea9974795f3dbf90066de62589481882c096e39dedf679
|
File details
Details for the file unitarylab-1.0.1-cp312-cp312-macosx_10_13_x86_64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp312-cp312-macosx_10_13_x86_64.whl
- Upload date:
- Size: 4.5 MB
- Tags: CPython 3.12, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dfb3db36487e3c5e3472b3cc1d36b1edf2e90810a3ea44a2cf458803546cf15
|
|
| MD5 |
432e080e8b5330ee6d8f7ec447b54232
|
|
| BLAKE2b-256 |
83ec20017c7a85e5d8240fb810e5c02b02ceed7496468ff85b7e1274f079dc04
|
File details
Details for the file unitarylab-1.0.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b974873611167dc3f0cb29dc8bf9d57ae8daf9cd6dc920d6e3b1d7c92ff9e85
|
|
| MD5 |
7017b7e0c3edb3e2f58d97035ec8ab9b
|
|
| BLAKE2b-256 |
c4d717d24299f7b8429b76506a1483c87faebbd72e2aeb11bc4fd564a665bae1
|
File details
Details for the file unitarylab-1.0.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 31.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
352c75b391eb28c8e34e7975e89392aa7234d6a3907267dcec34bf919b8e5e5d
|
|
| MD5 |
1069f08fe0f6d0b1605dcabc6dcb4a35
|
|
| BLAKE2b-256 |
a36af2c5727178adc39f5205dd6a9f0aeeb609a535e4aa95bb744ade6e618fad
|
File details
Details for the file unitarylab-1.0.1-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbee3ba26b32883c94f65ff1dcceb2c5a872cf61ee9ed233d8a65b30aaca735f
|
|
| MD5 |
0c268eca3f367240027719924f46ed59
|
|
| BLAKE2b-256 |
069719bf05825fa3fd7d6492507baf2e30c948ff7012f924c56049c2af4de1ec
|
File details
Details for the file unitarylab-1.0.1-cp311-cp311-macosx_10_9_x86_64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.6 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d0e9ac34b09ab06e5b6f87cf835569a26ef54885cc4e5322fee9ab2247742c1
|
|
| MD5 |
dfd09c1222ffbf42fd7a2057df571b81
|
|
| BLAKE2b-256 |
b12612082372f91aee242a879f6b5e2e1d25233e4a0f6e50f27f90c4c9f723d0
|
File details
Details for the file unitarylab-1.0.1-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97224cf3657feb653c6f4b30585e3e4bf3b50ae8a5156032b05467a6a9ff5b9a
|
|
| MD5 |
b2c242f4e4bf7bde85293bef3d6c8afe
|
|
| BLAKE2b-256 |
261f473287e1e2f180489b7a18a7be555b70ca5f5859abce8fc1ef99b4e4fddf
|
File details
Details for the file unitarylab-1.0.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 29.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52f7d35e9d7380e700f43e5abacc68fff02b15fce8543f5cfc5d31159d6a9dca
|
|
| MD5 |
e97f96e9c370c5c74d844c5ec067183d
|
|
| BLAKE2b-256 |
82974f3a0caaebe9b597ba91dddb9e8e4e697b987d63b06805afb70c5d4a8891
|
File details
Details for the file unitarylab-1.0.1-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
935c3187b485c933d509ab1f5e3d4b59ac1d041c88f959dfe98eeda95beed314
|
|
| MD5 |
a1ab62ebbee38501807b7dcc0d299a61
|
|
| BLAKE2b-256 |
e123ae8ae4e0d91b3359e791790680236a21ff021adb5bbfef7c8639af14430f
|
File details
Details for the file unitarylab-1.0.1-cp310-cp310-macosx_10_9_x86_64.whl.
File metadata
- Download URL: unitarylab-1.0.1-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.6 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27d450895b2f6b7a7abad31d79e6637f8ffcab0a01b2ec9bddc86fcd2290c14c
|
|
| MD5 |
0d6697c46f6e70709edd2943dfe4c1c0
|
|
| BLAKE2b-256 |
ccc5d9d30beca67c5875d8626f3e6c08beb4456c12c6a809474a297740aff9d2
|