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.5.tar.gz (42.9 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.5-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: devqubit_pennylane-0.1.5.tar.gz
  • Upload date:
  • Size: 42.9 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.5.tar.gz
Algorithm Hash digest
SHA256 2f9dcfa9f61c677ff1be6174a6b20e6c32196b9cac6bc8accc5e7fc76652b285
MD5 d348091b229035ac3ee3e475b61883cb
BLAKE2b-256 d3ed697209ee2817b0998d4693ca1ce4f7aa20c2def2887fd1cb10800c24faae

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_pennylane-0.1.5.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.5-py3-none-any.whl.

File metadata

File hashes

Hashes for devqubit_pennylane-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5f25a80ae15a157969edec77a50474677e023e39ee46ec74ec6f9b72862d8bce
MD5 438d3911a1c57503c10f638b162d4190
BLAKE2b-256 727829365bc7ca85f8605b7f9d71d2dda7da08754e0be9f71c34d3095a9872b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_pennylane-0.1.5-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