Skip to main content

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: Pin pydantic>=1.7.2,<2.0.0 in pyproject.tomlqcs-api-client<0.22.0 (required by pennylane-rigetti==0.36.0) uses Pydantic v1 APIs removed in v2; without this pin, Pydantic v2 causes AttributeError: 'QCSClientConfigurationSecrets' object has no attribute '__config__' at Rigetti device init time
  • fix: Extend compatibility shims in quapp_pennylane/__init__.py for pennylane-rigetti==0.36.0 against PennyLane 0.37–0.42+:
    • measurements.Expectation — renamed to ExpectationMP in PennyLane 0.37+
    • operation.Tensor — removed in PennyLane 0.40+; aliased to ops.Prod (its functional replacement for isinstance checks)
    • pennylane.QubitDevice — moved to pennylane.devices in 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quapp_pennylane-0.0.4.dev10.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quapp_pennylane-0.0.4.dev10-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file quapp_pennylane-0.0.4.dev10.tar.gz.

File metadata

  • Download URL: quapp_pennylane-0.0.4.dev10.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for quapp_pennylane-0.0.4.dev10.tar.gz
Algorithm Hash digest
SHA256 9048a4793a24e0e63d80d81e609a6f3e12631e7ea555e4fe0173e5d32b376086
MD5 0bfd332fa952e4024bfdf8a39f41dbfa
BLAKE2b-256 dd7ec43b1ce7f65044b1c22fe7d7468de9876ffce909fecff59f8241c4c6ef18

See more details on using hashes here.

File details

Details for the file quapp_pennylane-0.0.4.dev10-py3-none-any.whl.

File metadata

File hashes

Hashes for quapp_pennylane-0.0.4.dev10-py3-none-any.whl
Algorithm Hash digest
SHA256 e0a42087448a09b73df26416234624c06fe96f26ee515a0b46f5fe8c1ca37311
MD5 be1b2decc6537432f9d2e4455a5387b3
BLAKE2b-256 1765a586187b18be4c3d2bf3a88c611248b42c784f9d6fd01fd887550d3a71cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page