Skip to main content

devqubit adapter for Braket

Project description

devqubit-braket

PyPI

Amazon Braket adapter for devqubit — automatic circuit capture, device property snapshots, and result logging for Braket local simulators and managed QPUs.

[!IMPORTANT] This is an internal adapter package. Install via pip install "devqubit[braket]" and use the devqubit public API.

Installation

pip install "devqubit[braket]"

Usage

from braket.circuits import Circuit
from braket.devices import LocalSimulator
from devqubit import track

circuit = Circuit().h(0).cnot(0, 1)

with track(project="braket-exp") as run:
    device = run.wrap(LocalSimulator())
    task = device.run(circuit, shots=1000)
    result = task.result()

What's Captured

Artifact Kind Role
OpenQASM 3 source.openqasm3 program
Circuit diagram braket.circuits.diagram program
Measurement counts result.counts.json result
Raw result result.braket.raw.json result_raw
Device properties device.braket.raw_properties.json device_raw
Execution envelope devqubit.envelope.json envelope

Documentation

See the Adapters guide for details on wrapping options, batch execution, and performance tuning.

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_braket-0.1.12.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

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

devqubit_braket-0.1.12-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file devqubit_braket-0.1.12.tar.gz.

File metadata

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

File hashes

Hashes for devqubit_braket-0.1.12.tar.gz
Algorithm Hash digest
SHA256 a74c43f0a0f7f4d67669a810ba059294b4a93af1792ab166bfadb876c4c0369d
MD5 b1e779bdea6af0048731d80104ac73f8
BLAKE2b-256 8c7a4c95d130ac952335a231ce27f98afc57a4d19ae20ab32f3921fe97f257e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_braket-0.1.12.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_braket-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for devqubit_braket-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 8c2b39b0b5415017bab588e4c1ec921a6177fe74fb9a56285083cf4f9c19dfbb
MD5 23a9cd85db53e6b2cc0ec03654eefe4d
BLAKE2b-256 ce0642339cbdf58dcdf0a3e4d0f741d87382c00edc410f9f3fbc38ac5fb148fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_braket-0.1.12-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