generated from CQCL/pytemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a4b25d3
Showing
50 changed files
with
7,176 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 454b15153b0f87394265bffdd4cb237d | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
pytket-phir | ||
=========== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
modules | ||
|
||
PHIR stands for `PECOS <https://github.com/PECOS-packages/PECOS>`__ | ||
*High-level Intermediate Representation*. See `PHIR | ||
specification <https://github.com/CQCL/phir/blob/main/spec.md>`__ | ||
for more. | ||
|
||
``pytket-phir`` is a circuit analyzer and translator from | ||
`pytket <https://tket.quantinuum.com/api-docs/index.html>`__ to PHIR. | ||
|
||
Also included is the CLI tool ``phirc`` that takes QASM programs as | ||
input and emulates them using PECOS. | ||
|
||
Installation | ||
------------ | ||
|
||
To install pytket-phir, simply run: | ||
|
||
.. code-block:: bash | ||
pip install pytket-phir | ||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pytket.phir | ||
=========== | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
pytket.phir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pytket.phir.rebasing package | ||
============================ | ||
|
||
Submodules | ||
---------- | ||
|
||
pytket.phir.rebasing.rebaser module | ||
----------------------------------- | ||
|
||
.. automodule:: pytket.phir.rebasing.rebaser | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: pytket.phir.rebasing | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
pytket.phir package | ||
=================== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
pytket.phir.rebasing | ||
pytket.phir.sharding | ||
|
||
Submodules | ||
---------- | ||
|
||
pytket.phir.api module | ||
---------------------- | ||
|
||
.. automodule:: pytket.phir.api | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.cli module | ||
---------------------- | ||
|
||
.. automodule:: pytket.phir.cli | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.machine module | ||
-------------------------- | ||
|
||
.. automodule:: pytket.phir.machine | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.phirgen module | ||
-------------------------- | ||
|
||
.. automodule:: pytket.phir.phirgen | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.phirgen\_parallel module | ||
------------------------------------ | ||
|
||
.. automodule:: pytket.phir.phirgen_parallel | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.place\_and\_route module | ||
------------------------------------ | ||
|
||
.. automodule:: pytket.phir.place_and_route | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.placement module | ||
---------------------------- | ||
|
||
.. automodule:: pytket.phir.placement | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.qtm\_machine module | ||
------------------------------- | ||
|
||
.. automodule:: pytket.phir.qtm_machine | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.routing module | ||
-------------------------- | ||
|
||
.. automodule:: pytket.phir.routing | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: pytket.phir | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
pytket.phir.sharding package | ||
============================ | ||
|
||
Submodules | ||
---------- | ||
|
||
pytket.phir.sharding.shard module | ||
--------------------------------- | ||
|
||
.. automodule:: pytket.phir.sharding.shard | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.sharding.sharder module | ||
----------------------------------- | ||
|
||
.. automodule:: pytket.phir.sharding.sharder | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pytket.phir.sharding.shards2ops module | ||
-------------------------------------- | ||
|
||
.. automodule:: pytket.phir.sharding.shards2ops | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: pytket.phir.sharding | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.