Quapp pennylane library supporting Quapp Platform for Quantum Computing
Project description
quapp-pennylane
Quapp PennyLane library supporting the Quapp Platform for Quantum Computing with providers, devices, circuit export, invocation, and job fetching utilities.
Overview
quapp-pennylane is a Python library that integrates the Quapp Platform with
PennyLane-based quantum backends and simulators. It provides common abstractions
for providers and devices, helpers for circuit construction/export, robust job
submission and result fetching flows, and consistent, job-scoped logging across
components. Recent improvements focus on cleaner and more consistent logging,
better error handling, and clear separation of concerns between invocation and
fetching flows.
Features
- Provider and device factories for PennyLane-compatible platforms (e.g., local simulators and vendor-backed devices exposed via PennyLane).
- Circuit export utilities and helpers for building and running PennyLane circuits.
- Handlers for job invocation and job result fetching with enhanced, context-rich logging.
- Job-scoped, instance-bound logging for improved traceability and debugging.
- Refined log levels and simplified imports to reduce noise and improve clarity.
Installation
Install via pip:
pip install quapp-pennylane
Recently Changes Highlights
- fix: Patch
pydantic.BaseModel.__config__at import time for Pydantic v2 environments —qcs-api-client<0.22.0accessesself.__config__.env_prefix(Pydantic v1 inner Config class removed in v2); shim provides a fallback__config__onBaseModelso instance lookup resolves via class MRO instead of hitting Pydantic v2's__getattr__which raisesAttributeError - fix: Pin
pydantic>=1.7.2,<2.0.0inpyproject.toml— makes the Pydantic v1 requirement ofqcs-api-client<0.22.0explicit to prevent pip from resolving v2 - fix: Extend compatibility shims in
quapp_pennylane/__init__.pyforpennylane-rigetti==0.36.0against PennyLane 0.37–0.42+:measurements.Expectation— renamed toExpectationMPin PennyLane 0.37+operation.Tensor— removed in PennyLane 0.40+; aliased toops.Prod(its functional replacement for isinstance checks)pennylane.QubitDevice— moved topennylane.devicesin PennyLane ~0.40+; re-exported at the top-level namespace
- build: Bump a version to
0.0.4.dev9
For detailed usage and API references, please refer to the in-code documentation or contact the maintainers.
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 Distribution
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 quapp_pennylane-0.0.4.dev11.tar.gz.
File metadata
- Download URL: quapp_pennylane-0.0.4.dev11.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d88a1bf2f151afcd80126627b9cb07eaad451e14755d105a307938244996a3f
|
|
| MD5 |
2833cd929aefb51ea3015a3203b96194
|
|
| BLAKE2b-256 |
5ed59b566114c59c3da49860c2481ccca9cc1ee49d0176b663ca19af9d466c70
|
File details
Details for the file quapp_pennylane-0.0.4.dev11-py3-none-any.whl.
File metadata
- Download URL: quapp_pennylane-0.0.4.dev11-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80d8814f5218e903095930581af1f46abbf20ce69c1b6359296624af3f3640f2
|
|
| MD5 |
575dfaf26fb221e367bcea51ea5af914
|
|
| BLAKE2b-256 |
9ea851be3ca12834cb9538f4378e62c382a47758c043207a80d5d6dfa44873f1
|