Metadata-Version: 2.4
Name: westquant-pennylane
Version: 0.1.0a1
Summary: Sequential transform and operator representation search for PennyLane
License: Apache-2.0
Project-URL: Homepage, https://github.com/WestQuantOpen
Project-URL: Source, https://github.com/WestQuantOpen/westquant-pennylane
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: westquant-core>=0.2.0a1
Requires-Dist: pennylane<0.46,>=0.45.1
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Dynamic: license-file

# westquant-pennylane

WestQuant representation search for PennyLane 0.45.x.

The alpha search policy operates on transform decisions rather than inventing a
new execution backend:

```text
commute -> cancel -> merge -> cleanup
```

Actions use PennyLane's public transform layer (`commute_controlled`,
`cancel_inverses`, `merge_rotations`, `remove_barrier`). A separate
`OperatorTransformationProvider` is included so chemistry/operator
representations can add versioned active-space, mapping, tapering, grouping and
factorization transformations without changing the policy schema.

Small measurement-free tapes attempt exact matrix verification. All other
cases are conservatively marked `unknown`.

Requires Python 3.11+ because current PennyLane 0.45.1 does.

## Native smoke

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