Skip to main content

Open H-cat photonic quantum computing simulation SDK (Dyber Forge Workbench)

Project description

dyberforge (Workbench SDK)

Open-source H-cat photonic quantum computing simulation SDK. One import surface over the validated Dyber simulation code.

Install (development)

conda create -n dyber python=3.11 -y && conda activate dyber
pip install numpy scipy qutip matplotlib stim pymatching
pip install -e .            # from forge/sdk/

Use

import dyberforge as df
df.generate_cat(s_db=6.0, k=1, N=40)        # cat fidelity, parity, Wigner-ready state
df.loss_curves(2.0, [10**-0.32])            # loss budget, parity stabilization
df.estimate(gamma=0.005, target_logical_err=1e-9)  # 0.5% spec -> device spec (v2)

Run the example: python examples/quickstart.py.

Notes

  • The physics modules are vendored into dyberforge/, so the package is fully self-contained: pip install dyberforge works standalone with no path injection.
  • Public science only. The OpenForge compiler passes, calibration internals, the architecture loss-chain ledger, and foundry recipes are proprietary and are not part of this package.
  • Optional extras: pip install .[devices] (Meep), .[crosscheck] (Strawberry Fields), .[dev] (pytest).

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

dyberforge-0.1.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

dyberforge-0.1.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file dyberforge-0.1.0.tar.gz.

File metadata

  • Download URL: dyberforge-0.1.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dyberforge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1b8204ce0501ab620164ec261481b0a48527f8632b4f227831346ab8d073a0b
MD5 6d3c6f2bcee7608a3aeee8d960632e14
BLAKE2b-256 09f7d868b77ec10654c9e6a8ba2fdb2bf50175223aa2c00df2d82d6af81fa965

See more details on using hashes here.

File details

Details for the file dyberforge-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dyberforge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dyberforge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05828bbb404e964750b6c29656258d6107e3879287864f2a7a73588090ee52b6
MD5 556041de974a2b7d235c6aba9e9997f9
BLAKE2b-256 7b8fc5a04e5fe65b7d7347a04b1ccb630d3a2a9551b8e340c0500b398a6abba2

See more details on using hashes here.

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