Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Add the link to the pytket-cutensornet docs (#519)
Browse files Browse the repository at this point in the history
* add cutensornet link

* append link to content

* update copyright

* remove import
  • Loading branch information
CalMacCQ authored Aug 10, 2023
1 parent 0936c49 commit da3aebc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docs/build-docs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python

import argparse
import datetime
from pathlib import Path
import shutil
import subprocess
Expand All @@ -26,6 +25,7 @@ PYTKET_QIR_DOCS_LINK = "https://cqcl.github.io/pytket-qir/api/index.html"
PYTKET_QISKIT_DOCS_LINK = "https://cqcl.github.io/pytket-qiskit/api/index.html"
PYTKET_QSHARP_DOCS_LINK = "https://cqcl.github.io/pytket-qsharp/api/index.html"
PYTKET_QUANTINUUM_DOCS_LINK = "https://cqcl.github.io/pytket-quantinuum/api/index.html"
PYTKET_CUTENSORNET_LINK = "https://cqcl.github.io/pytket-cutensornet/api/index.html"
PYTKET_QULACS_DOCS_LINK = "https://cqcl.github.io/pytket-qulacs/api/index.html"
PYTKET_QUJAX_DOCS_LINK = "https://cqcl.github.io/pytket-qujax/api/index.html"
PYTKET_STIM_DOCS_LINK = "https://cqcl.github.io/pytket-stim/api/index.html"
Expand Down Expand Up @@ -83,6 +83,7 @@ if __name__ == "__main__":
content.append(f"\tpytket-qiskit <{PYTKET_QISKIT_DOCS_LINK}>\n")
content.append(f"\tpytket-qsharp <{PYTKET_QSHARP_DOCS_LINK}>\n")
content.append(f"\tpytket-quantinuum <{PYTKET_QUANTINUUM_DOCS_LINK}>\n")
content.append(f"\tpytket-cutensornet <{PYTKET_CUTENSORNET_LINK}>\n")
content.append(f"\tpytket-qulacs <{PYTKET_QULACS_DOCS_LINK}>\n")
content.append(f"\tpytket-qujax <{PYTKET_QUJAX_DOCS_LINK}>\n")
content.append(f"\tpytket-stim <{PYTKET_STIM_DOCS_LINK}>\n")
Expand All @@ -105,8 +106,6 @@ if __name__ == "__main__":
"-D",
f"project=pytket-extensions",
"-D",
f"copyright={datetime.date.today().year} Cambridge Quantum Computing",
"-D",
"templates_path=templates",
".",
"build",
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# Configuration file for the Sphinx documentation builder.
# See https://www.sphinx-doc.org/en/master/usage/configuration.html

author = "Cambridge Quantum Computing Ltd"
copyright = "2023 Quantinuum"
author = "Quantinuum"

extensions = [
"sphinx.ext.autodoc",
Expand All @@ -13,8 +14,6 @@
"sphinx_copybutton",
]

pygments_style = "borland"

html_theme = "sphinx_book_theme"

html_theme_options = {
Expand Down Expand Up @@ -116,7 +115,6 @@ def correct_signature(
signature: str,
return_annotation: str,
) -> (str, str):

new_signature = signature
new_return_annotation = return_annotation
for k, v in app.config.custom_internal_mapping.items():
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The extensions can be found in other repos:
* [pytket-qiskit](https://github.com/CQCL/pytket-qiskit)
* [pytket-qsharp](https://github.com/CQCL/pytket-qsharp)
* [pytket-quantinuum](https://github.com/CQCL/pytket-quantinuum)
* [pytket-cutensornet](https://github.com/CQCL/pytket-cutensornet)
* [pytket-qujax](https://github.com/CQCL/pytket-qujax)
* [pytket-qulacs](https://github.com/CQCL/pytket-qulacs)
* [pytket-stim](https://github.com/CQCL/pytket-stim)
Expand Down
4 changes: 2 additions & 2 deletions dev-utils/generate_mgit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ echo "#!/bin/bash" > mgitrename.sh
echo "#!/bin/bash" > mgitcopy.sh

# choose the list of the extensions you want to use
# list of all extensions: "aqt" "braket" "cirq" "ionq" "iqm" "pennylane" "projectq" "pyquil" "pysimplex" "pyzx" "qir" "qiskit" "qsharp" "quantinuum" "qulacs" "qujax" "stim"
for ext in "aqt" "braket" "cirq" "ionq" "iqm" "pennylane" "projectq" "pyquil" "pysimplex" "pyzx" "qir" "qiskit" "qsharp" "quantinuum" "qulacs" "qujax" "stim"
# list of all extensions: "aqt" "braket" "cirq" "ionq" "iqm" "pennylane" "projectq" "pyquil" "pysimplex" "pyzx" "qir" "qiskit" "qsharp" "quantinuum" "cutensornet" "qulacs" "qujax" "stim"
for ext in "aqt" "braket" "cirq" "ionq" "iqm" "pennylane" "projectq" "pyquil" "pysimplex" "pyzx" "qir" "qiskit" "qsharp" "quantinuum" "cutensornet" "qulacs" "qujax" "stim"
do

echo "git clone git@github.com:CQCL/pytket-$ext.git" >> mgitclone.sh
Expand Down

0 comments on commit da3aebc

Please sign in to comment.