Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.34.2 instead.
Reason given by maintainers: Invalid Python requirements

Classiq

The Classiq Quantum Algorithm Design platform helps teams build sophisticated quantum circuits that could not be designed otherwise

We do this by synthesizing high-level functional models into optimized quantum circuits, taking into account the constraints that are important to the designer. Furthermore, we are able to generate circuits for practically any universal gate-based quantum computer and are compatible with most quantum cloud providers.

Requirements

Python 3.8+

Installation

pip install --upgrade pip
$ pip install 'classiq[all]'

Example

from classiq import generator
from classiq_interface.generator.state_preparation import (
    StatePreparation,
    PMF,
    StatePreparationOutputs,
    Metrics,
    NonNegativeFloatRange,
)
from classiq_interface.generator.qft import QftInputs, QFT

probabilities = (0.5, 0.1, 0.2, 0.005, 0.015, 0.12, 0.035, 0.025)
pmf = PMF(pmf=probabilities)
sp_params = StatePreparation(
    probabilities=pmf,
    num_qubits=4,
    error_metric={Metrics.KL: NonNegativeFloatRange(upper_bound=0.3)},
)

circuit_generator = generator.Generator(qubit_count=20, max_depth=100)
output_dict = circuit_generator.StatePreparation(params=sp_params)

state_preparation_output = output_dict[StatePreparationOutputs.OUT]

qft_params = QFT(num_qubits=3)
circuit_generator.QFT(
    params=qft_params, in_wires={QftInputs.IN: state_preparation_output}
)

circuit = circuit_generator.generate()
circuit.show()

License

See license.

Metadata

Release files for classiq 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for classiq 0.1.11
File Size Uploaded Provenance Actions
classiq-0.1.11.tar.gz 15.5 kB Without provenance Details for classiq-0.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for classiq 0.1.11
File Interpreter ABI Platform Actions
classiq-0.1.11-py3-none-any.whl Python 3 none any Details for classiq-0.1.11-py3-none-any.whl

Total release size: 35.9 kB

Release files / classiq-0.1.11.tar.gz

Download URL classiq-0.1.11.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e6d28b75bd5207e01fa66e373861180b975086943ee27a51977fada1edaf2541
BLAKE2b-256 checksum
How to use checksums
e7c0dfce62a0e33575e0430a8166dea61a1c5cf0f1a4708a13e8cda276573bee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.12 Linux/5.8.0-1042-azure

Release files / classiq-0.1.11-py3-none-any.whl

Download URL classiq-0.1.11-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
657b661e139ec635be6c2ed70cccbe4aef7ee4d6e17c30d054deabe6270b227f
BLAKE2b-256 checksum
How to use checksums
a80eef40761f289b71054679f4c424c64d2f8c088c5fc3c437df52a5c547cbdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.12 Linux/5.8.0-1042-azure

Security for classiq 0.1.11

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.

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page