Metadata-Version: 2.4
Name: dyberforge
Version: 0.1.0
Summary: Open H-cat photonic quantum computing simulation SDK (Dyber Forge Workbench)
Author: Dyber, Inc.
License: Apache-2.0
Project-URL: Homepage, https://quantaforge.dyber.org
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: qutip>=5
Requires-Dist: matplotlib
Requires-Dist: stim>=1.13
Requires-Dist: pymatching>=2
Provides-Extra: devices
Requires-Dist: meep; extra == "devices"
Provides-Extra: crosscheck
Requires-Dist: strawberryfields; extra == "crosscheck"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Dynamic: license-file

# dyberforge (Workbench SDK)

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

## Install (development)

```bash
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

```python
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).
