Skip to content

Commit

Permalink
docs: fix link to PHIR spec
Browse files Browse the repository at this point in the history
  • Loading branch information
qartik committed Nov 8, 2023
1 parent 6e0c2bc commit 2c7f978
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pytket-phir

PHIR stands for _[PECOS](https://github.com/PECOS-packages/PECOS) High-level Intermediate Representation_.
See [PHIR specification](https://github.com/CQCL/phir/blob/main/phir_spec_qasm.md) for more.
See [PHIR specification](https://github.com/CQCL/phir/blob/main/spec.md) for more.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytket-phir

PHIR stands for `PECOS <https://github.com/PECOS-packages/PECOS>`__
*High-level Intermediate Representation*. See `PHIR
specification <https://github.com/CQCL/phir/blob/main/phir_spec_qasm.md>`__
specification <https://github.com/CQCL/phir/blob/main/spec.md>`__
for more.

Indices and tables
Expand Down
2 changes: 1 addition & 1 deletion pytket/phir/phirgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def append_cmd(cmd: tk.Command, ops: list[dict[str, Any]]) -> None:

case tk.BarrierOp():
# TODO(kartik): confirm with Ciaran/spec
# https://github.com/CQCL/phir/blob/main/phir_spec_qasm.md
# https://github.com/CQCL/phir/blob/main/spec.md
logger.debug("Skipping Barrier instruction")

case tk.Conditional(): # where the condition is equality check
Expand Down

0 comments on commit 2c7f978

Please sign in to comment.