Skip to main content

devqubit adapter for Pennylane

Project description

devqubit-pennylane

PennyLane adapter for devqubit. Automatically captures circuits and results from PennyLane devices.

Installation

pip install devqubit[pennylane]

Usage

import pennylane as qml
from devqubit import track

dev = qml.device("default.qubit", wires=2, shots=1000)

@qml.qnode(dev)
def circuit():
    qml.Hadamard(wires=0)
    qml.CNOT(wires=[0, 1])
    return qml.counts()

with track(project="pennylane-exp") as run:
    run.wrap(dev)
    counts = circuit()

What's Captured

  • Circuits — PennyLane tape, OpenQASM 3
  • Results — Counts, expectation values, samples
  • Device info — Device name, wires, shots

License

Apache 2.0

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

devqubit_pennylane-0.1.8.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

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

devqubit_pennylane-0.1.8-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

Details for the file devqubit_pennylane-0.1.8.tar.gz.

File metadata

  • Download URL: devqubit_pennylane-0.1.8.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for devqubit_pennylane-0.1.8.tar.gz
Algorithm Hash digest
SHA256 1b83addb669d308eb50e43f9308114620eb8fea3e4d62476b717d0dd576b36a2
MD5 41048f568c0c2dd4478f22acc0cc78e7
BLAKE2b-256 08307b4bf1da4370e61ee49f180b1717b9e3881b09e5e9e3bd6002b664d81550

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_pennylane-0.1.8.tar.gz:

Publisher: release.yaml on devqubit-labs/devqubit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devqubit_pennylane-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for devqubit_pennylane-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a60a2ca85123887426d1226bbe42598f584d26495e6b6fb629a351234d604fc4
MD5 30c4acfd1c00669c9faf1f6d5ba6a85c
BLAKE2b-256 c005cd83e9dd9c4d63401268d07ee74524fdb1d14e428cd84950282c23716ef6

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_pennylane-0.1.8-py3-none-any.whl:

Publisher: release.yaml on devqubit-labs/devqubit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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