diff --git a/CHANGELOG.md b/CHANGELOG.md index b450c36..a8ce348 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -In https://github.com/CQCL/phir/pull/64: +In https://github.com/quantinuum/phir/pull/64: - spec: introduced `"Skip"` `"mop"` - model: added pydantic validation for `Idle`, `Transport` and `Skip` `MOp`s @@ -20,13 +20,13 @@ In https://github.com/CQCL/phir/pull/64: ### Added -- Added support for `"barrier"` `"meta"` instruction in https://github.com/CQCL/phir/pull/56 +- Added support for `"barrier"` `"meta"` instruction in https://github.com/quantinuum/phir/pull/56 ## [0.2.1] - 2023-12-12 ### Fixed -- spec & model: correct values for R2XXYYZZ gate params and args in https://github.com/CQCL/phir/pull/38 +- spec & model: correct values for R2XXYYZZ gate params and args in https://github.com/quantinuum/phir/pull/38 ## [0.2.0] - 2023-12-06 @@ -37,14 +37,14 @@ In https://github.com/CQCL/phir/pull/64: ### Fixed -- model: require `data_type` in `cvar_define` in https://github.com/CQCL/phir/pull/14 +- model: require `data_type` in `cvar_define` in https://github.com/quantinuum/phir/pull/14 ## [0.1.6] - 2023-11-07 ### Fixed - fix(spec): include missing `<=` comparison operator -- fix(model): better validation in https://github.com/CQCL/phir/pull/15 +- fix(model): better validation in https://github.com/quantinuum/phir/pull/15 - pick classical ops from Table I in the spec - pick quantum ops from Table II in the spec - split QOp into four, validate args/angles @@ -59,13 +59,13 @@ In https://github.com/CQCL/phir/pull/64: ### Changed -- feat: [include units for duration and angles](https://github.com/CQCL/phir/pull/9) +- feat: [include units for duration and angles](https://github.com/quantinuum/phir/pull/9) ## [0.1.4] - 2023-10-20 ### Changed -- [Better validation for tuples](https://github.com/CQCL/phir/pull/8) +- [Better validation for tuples](https://github.com/quantinuum/phir/pull/8) ## [0.1.3] - 2023-10-18 @@ -99,17 +99,17 @@ First release. - Pydantic model and JSON schema of the PHIR Specification. - `phir-cli` for validation against that model and pretty printing on the command line. -[0.1.0]: https://github.com/CQCL/phir/commits/v0.1.0 -[0.1.1]: https://github.com/CQCL/phir/compare/v0.1.0...v0.1.1 -[0.1.2]: https://github.com/CQCL/phir/compare/v0.1.1...v0.1.2 -[0.1.3]: https://github.com/CQCL/phir/compare/v0.1.2...v0.1.3 -[0.1.4]: https://github.com/CQCL/phir/compare/v0.1.3...v0.1.4 -[0.1.5]: https://github.com/CQCL/phir/compare/v0.1.4...v0.1.5 -[0.1.6]: https://github.com/CQCL/phir/compare/v0.1.5...v0.1.6 -[0.2.0]: https://github.com/CQCL/phir/compare/v0.1.6...v0.2.0 -[0.2.1]: https://github.com/CQCL/phir/compare/v0.2.0...v0.2.1 -[0.3.0]: https://github.com/CQCL/phir/compare/v0.2.0...v0.3.0 -[0.3.1]: https://github.com/CQCL/phir/compare/v0.3.0...v0.3.1 -[unreleased]: https://github.com/CQCL/phir/compare/v0.3.1...HEAD +[0.1.0]: https://github.com/quantinuum/phir/commits/v0.1.0 +[0.1.1]: https://github.com/quantinuum/phir/compare/v0.1.0...v0.1.1 +[0.1.2]: https://github.com/quantinuum/phir/compare/v0.1.1...v0.1.2 +[0.1.3]: https://github.com/quantinuum/phir/compare/v0.1.2...v0.1.3 +[0.1.4]: https://github.com/quantinuum/phir/compare/v0.1.3...v0.1.4 +[0.1.5]: https://github.com/quantinuum/phir/compare/v0.1.4...v0.1.5 +[0.1.6]: https://github.com/quantinuum/phir/compare/v0.1.5...v0.1.6 +[0.2.0]: https://github.com/quantinuum/phir/compare/v0.1.6...v0.2.0 +[0.2.1]: https://github.com/quantinuum/phir/compare/v0.2.0...v0.2.1 +[0.3.0]: https://github.com/quantinuum/phir/compare/v0.2.0...v0.3.0 +[0.3.1]: https://github.com/quantinuum/phir/compare/v0.3.0...v0.3.1 +[unreleased]: https://github.com/quantinuum/phir/compare/v0.3.1...HEAD diff --git a/README.md b/README.md index e9785a0..1a52431 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Python versions](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue.svg)](https://img.shields.io/badge/python-3.10%2C%203.11%2C%203.12-blue.svg) `phir` models the [PHIR specification](./spec.md) as a [Pydantic](https://docs.pydantic.dev/latest/) model. -See [our docs](https://cqcl.github.io/phir/). +See [our docs](https://quantinuum.github.io/phir/). Included is the tool `phir-cli` that provides validation and pretty printing on the command line. ## Prerequisites diff --git a/docs/source/index.rst b/docs/source/index.rst index 3a49376..500a757 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,7 +1,7 @@ phir ==== -Documentation for `CQCL phir `_ project. +Documentation for `quantinuum phir `_ project. ---- diff --git a/phir/model.py b/phir/model.py index f371888..3d2ecde 100644 --- a/phir/model.py +++ b/phir/model.py @@ -129,7 +129,7 @@ def check_sizes(self: MeasOp) -> MeasOp: class SQOp(Op): """Single-qubit Quantum operation.""" - # From https://github.com/CQCL/phir/blob/main/spec.md#table-ii---quantum-operations + # From https://github.com/quantinuum/phir/blob/main/spec.md#table-ii---quantum-operations qop: Literal[ "Init", "I", @@ -176,7 +176,7 @@ def check_angles(self: SQOp) -> SQOp: class TQOp(Op): """Two-qubit Quantum operation.""" - # From https://github.com/CQCL/phir/blob/main/spec.md#table-ii---quantum-operations + # From https://github.com/quantinuum/phir/blob/main/spec.md#table-ii---quantum-operations qop: Literal[ "CX", "CY", @@ -223,7 +223,7 @@ def check_angles(self: TQOp) -> TQOp: class COp(Op): """Classical operation.""" - # From https://github.com/CQCL/phir/blob/main/spec.md#table-i---cop-assignment-arithmetic-comparison--bitwise-operations + # From https://github.com/quantinuum/phir/blob/main/spec.md#table-i---cop-assignment-arithmetic-comparison--bitwise-operations cop: Literal[ "=", "+", diff --git a/pyproject.toml b/pyproject.toml index fb72884..2ab83d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,9 +42,9 @@ dev = [ phir-cli = "phir.cli:main" [project.urls] -Changelog = "https://github.com/CQCL/phir/blob/main/CHANGELOG.md" -Documentation = "https://cqcl.github.io/phir/" -Repository = "https://github.com/CQCL/phir" +Changelog = "https://github.com/quantinuum/phir/blob/main/CHANGELOG.md" +Documentation = "https://quantinuum.github.io/phir/" +Repository = "https://github.com/quantinuum/phir" [tool.setuptools.packages.find] where = ["."] diff --git a/tests/test_model.py b/tests/test_model.py index 193fda0..8a314ab 100644 --- a/tests/test_model.py +++ b/tests/test_model.py @@ -17,7 +17,7 @@ def test_spec_example() -> None: - """From https://github.com/CQCL/phir/blob/main/spec.md . + """From https://github.com/quantinuum/phir/blob/main/spec.md . Specifically "Overall PHIR Example with Quantinuum's Extended OpenQASM 2.0" """