Metadata-Version: 2.4
Name: westquant-pytket
Version: 0.1.0a2
Summary: Sequential representation search for pytket compiler passes and mappings
License: Apache-2.0
Project-URL: Homepage, https://github.com/WestQuantOpen
Project-URL: Source, https://github.com/WestQuantOpen/westquant-pytket
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: westquant-core>=0.2.0a1
Requires-Dist: pytket<3,>=2.18
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Dynamic: license-file

# westquant-pytket

Sequential representation search over pytket compiler choices.

Current alpha searches the ordered decision chain:

```text
optimization -> placement -> routing -> rebase
```

Built-in action families include `RemoveRedundancies`,
`FullPeepholeOptimise`, `SynthesiseTket`, naive/graph placement,
`RoutingPass`, `AASRouting` and `RebaseTket` through pytket's public pass API.

Every rollout produces a `wqt-policy-v0.1` record. Compilation failures are
retained. Small circuits attempt exact unitary verification; larger or
unsupported circuits are explicitly `unknown` rather than silently trusted.

## Native smoke

```bash
pip install -e ../westquant-core -e .[test]
pytest -q
python integration/smoke.py
```

## CLI

```bash
westquant-pytket-search --qasm circuit.qasm --edges 0-1,1-2,2-3 --beam-width 3
```
