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
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 devqubit_pennylane-0.1.11.tar.gz.
File metadata
- Download URL: devqubit_pennylane-0.1.11.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
877a0b1b6b6964847e2a7dc88b37541b17b70e6541108360c5fd09dd6a0aa949
|
|
| MD5 |
7cb041f94bd6530fa8cc0eae54ba0619
|
|
| BLAKE2b-256 |
7c206bae5cf5d082e18e21e10158db15c61e4a8d5527a9adb53d1e0e02caad91
|
Provenance
The following attestation bundles were made for devqubit_pennylane-0.1.11.tar.gz:
Publisher:
release.yaml on devqubit-labs/devqubit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devqubit_pennylane-0.1.11.tar.gz -
Subject digest:
877a0b1b6b6964847e2a7dc88b37541b17b70e6541108360c5fd09dd6a0aa949 - Sigstore transparency entry: 912486153
- Sigstore integration time:
-
Permalink:
devqubit-labs/devqubit@f2ad2f9b8b8883bcd9b5d735fb8ccc47f05e7544 -
Branch / Tag:
refs/tags/v0.1.11 - Owner: https://github.com/devqubit-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@f2ad2f9b8b8883bcd9b5d735fb8ccc47f05e7544 -
Trigger Event:
push
-
Statement type:
File details
Details for the file devqubit_pennylane-0.1.11-py3-none-any.whl.
File metadata
- Download URL: devqubit_pennylane-0.1.11-py3-none-any.whl
- Upload date:
- Size: 37.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0901992994c89b23962d8d214606b2f7568ef8b42b85be6012e4ed88f7e3531
|
|
| MD5 |
00df27f43a4e8c9bdf85ba543bedddd5
|
|
| BLAKE2b-256 |
39b94817dcf73a4083da0d9679bd4c9e971bde23b27b10ea23702c91f6687e3e
|
Provenance
The following attestation bundles were made for devqubit_pennylane-0.1.11-py3-none-any.whl:
Publisher:
release.yaml on devqubit-labs/devqubit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devqubit_pennylane-0.1.11-py3-none-any.whl -
Subject digest:
f0901992994c89b23962d8d214606b2f7568ef8b42b85be6012e4ed88f7e3531 - Sigstore transparency entry: 912486454
- Sigstore integration time:
-
Permalink:
devqubit-labs/devqubit@f2ad2f9b8b8883bcd9b5d735fb8ccc47f05e7544 -
Branch / Tag:
refs/tags/v0.1.11 - Owner: https://github.com/devqubit-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@f2ad2f9b8b8883bcd9b5d735fb8ccc47f05e7544 -
Trigger Event:
push
-
Statement type: