quao
quao is a supporting library for Quantum Computing.
Installation
Install quao with pip (Python >=3.10)
pip install quao
Usage/Examples
from quao import Backend, RequestData, Utils
# Define sdk name
sdk = "qiskit"
# Pre-processing input data
def pre_process(input):
data = RequestData(input, sdk)
return data
# Post-processing output data
def post_process(job):
output = Utils.counts_post_process(job)
return output
def handle(event, context):
# 1. Pre-processing
requestData = pre_process(event)
# 2. Generate Quantum Circuit
qc = generate_circuit(requestData.input)
# 3. Verify and get Backend information
backend = Backend(requestData, qc)
# 4. Submit job and wait up to 1 min for job to complete.
job = backend.submit_job(qc)
# 5. Post-process
if job.jobResult:
job = post_process(job)
response = Utils.generate_response(job)
# 6. Send back the result
return response
Authors
Documentation
TBA
Metadata
Release files for quao 0.4.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quao-0.4.14.tar.gz | 24.7 kB | Without provenance | Details for quao-0.4.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quao-0.4.14-py3-none-any.whl | Python 3 | none | any | Details for quao-0.4.14-py3-none-any.whl |
Total release size: 75.7 kB
Release files / quao-0.4.14.tar.gz
| Download URL | quao-0.4.14.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8106e6fdbc5d53547322dddbda53046381fa49e2aecfb5e3840016e1396da0b
|
|
BLAKE2b-256 checksum How to use checksums |
318a73aa5b8607829131004caa110627f0195eabbca36897c2ecc30e3d5bcf44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|
Release files / quao-0.4.14-py3-none-any.whl
| Download URL | quao-0.4.14-py3-none-any.whl |
|---|---|
| Size | 51.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
847e716924a7408e84975f588c57cff156c30607d5b4726d769f31f377d86dbd
|
|
BLAKE2b-256 checksum How to use checksums |
9539a0f6142cf3839f6bc4879bfeff3378cd101e9920d872339146ea3df7d8c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|
Security for quao 0.4.14
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.