devqubit adapter for Cirq
Project description
devqubit-cirq
Google Cirq adapter for devqubit. Automatically captures circuits and results from Cirq simulators.
Installation
pip install devqubit[cirq]
Usage
import cirq
from devqubit import track
q0, q1 = cirq.LineQubit.range(2)
circuit = cirq.Circuit([
cirq.H(q0),
cirq.CNOT(q0, q1),
cirq.measure(q0, q1, key="result"),
])
with track(project="cirq-exp") as run:
simulator = run.wrap(cirq.Simulator())
result = simulator.run(circuit, repetitions=1000)
What's Captured
- Circuits — Cirq JSON, OpenQASM 3
- Results — Measurement counts, histograms
- Simulator info — Simulator type, configuration
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_cirq-0.1.2.tar.gz.
File metadata
- Download URL: devqubit_cirq-0.1.2.tar.gz
- Upload date:
- Size: 30.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8492c9494161a12c90ff28e630aa56b1b545910500d9aac64a5114800d9b7cfa
|
|
| MD5 |
e486fccd8cdad64c8ebd664c22b87a81
|
|
| BLAKE2b-256 |
aaae70190736b9217ddb19db4815ac6dbff7f0affa3c016d444a25c82ddebb18
|
Provenance
The following attestation bundles were made for devqubit_cirq-0.1.2.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_cirq-0.1.2.tar.gz -
Subject digest:
8492c9494161a12c90ff28e630aa56b1b545910500d9aac64a5114800d9b7cfa - Sigstore transparency entry: 813200412
- Sigstore integration time:
-
Permalink:
devqubit-labs/devqubit@4d0f819a727f163803b58123c31bf14ee4db6e00 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/devqubit-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@4d0f819a727f163803b58123c31bf14ee4db6e00 -
Trigger Event:
push
-
Statement type:
File details
Details for the file devqubit_cirq-0.1.2-py3-none-any.whl.
File metadata
- Download URL: devqubit_cirq-0.1.2-py3-none-any.whl
- Upload date:
- Size: 24.2 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 |
1cc579ad635b5940e54cdcda6f6403785e6ca7689b904b2c4613a9862ab948c9
|
|
| MD5 |
97b9e4b05d32d0dbb263c1d1f4a0f034
|
|
| BLAKE2b-256 |
80c7c0a1259b7ec2528a3c5a05fb091e3f9bc8478d17d150db1af9d05f1d0152
|
Provenance
The following attestation bundles were made for devqubit_cirq-0.1.2-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_cirq-0.1.2-py3-none-any.whl -
Subject digest:
1cc579ad635b5940e54cdcda6f6403785e6ca7689b904b2c4613a9862ab948c9 - Sigstore transparency entry: 813200435
- Sigstore integration time:
-
Permalink:
devqubit-labs/devqubit@4d0f819a727f163803b58123c31bf14ee4db6e00 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/devqubit-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@4d0f819a727f163803b58123c31bf14ee4db6e00 -
Trigger Event:
push
-
Statement type: