Read the Docs build information Build id: 1297267 Project: xanaduai-pennylane-qsharp Version: latest Commit: 38ae88582a34720189592b43942cb1aba33219de Date: 2023-02-13T15:23:59.414946Z State: finished Success: True [rtd-command-info] start-time: 2023-02-13T15:27:13.932426Z, end-time: 2023-02-13T15:27:14.773483Z, duration: 0, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/PennyLaneAI/PennyLane-qsharp.git . Cloning into '.'... [rtd-command-info] start-time: 2023-02-13T15:27:15.085921Z, end-time: 2023-02-13T15:27:15.189705Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: switching to 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 38ae885 update sphinx theme [rtd-command-info] start-time: 2023-02-13T15:27:15.408396Z, end-time: 2023-02-13T15:27:15.475044Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2023-02-13T15:27:16.610908Z, end-time: 2023-02-13T15:27:21.332147Z, duration: 4, exit-code: 0 python3.8 -mvirtualenv --system-site-packages $READTHEDOCS_VIRTUALENV_PATH Using base prefix '/home/docs/.pyenv/versions/3.8.6' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/bin/python3.8 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2023-02-13T15:27:21.532523Z, end-time: 2023-02-13T15:27:23.305035Z, duration: 1, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools<58.3.0 Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (23.0) Collecting setuptools<58.3.0 Downloading setuptools-58.2.0-py3-none-any.whl (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.1/946.1 kB 22.6 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 67.2.0 Uninstalling setuptools-67.2.0: Successfully uninstalled setuptools-67.2.0 Successfully installed setuptools-58.2.0 [rtd-command-info] start-time: 2023-02-13T15:27:23.691074Z, end-time: 2023-02-13T15:27:31.616781Z, duration: 7, exit-code: 0 python -m pip install --upgrade --no-cache-dir -I pillow mock==1.0.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.9.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.3 setuptools<58.3.0 Collecting pillow Downloading Pillow-9.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 53.9 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 278.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Collecting commonmark==0.9.1 Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 207.1 MB/s eta 0:00:00 Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx Downloading sphinx-6.1.3-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 175.5 MB/s eta 0:00:00 Collecting sphinx-rtd-theme Downloading sphinx_rtd_theme-1.2.0-py2.py3-none-any.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 166.7 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<2.3 Downloading readthedocs_sphinx_ext-2.2.0-py2.py3-none-any.whl (11 kB) Collecting setuptools<58.3.0 Downloading setuptools-58.2.0-py3-none-any.whl (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.1/946.1 kB 286.0 MB/s eta 0:00:00 Collecting docutils>=0.11 Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 291.6 MB/s eta 0:00:00 Collecting babel>=2.9 Downloading Babel-2.11.0-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 170.3 MB/s eta 0:00:00 Collecting requests>=2.25.0 Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 226.8 MB/s eta 0:00:00 Collecting importlib-metadata>=4.8 Downloading importlib_metadata-6.0.0-py3-none-any.whl (21 kB) Collecting Jinja2>=3.0 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 225.2 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml>=1.1.5 Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 245.8 MB/s eta 0:00:00 Collecting snowballstemmer>=2.0 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 213.9 MB/s eta 0:00:00 Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 248.8 MB/s eta 0:00:00 Collecting Pygments>=2.13 Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 287.2 MB/s eta 0:00:00 Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting packaging>=21.0 Downloading packaging-23.0-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 127.4 MB/s eta 0:00:00 Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.6/120.6 kB 150.6 MB/s eta 0:00:00 Collecting imagesize>=1.3 Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 250.1 MB/s eta 0:00:00 Collecting sphinxcontrib-htmlhelp>=2.0.0 Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.8/99.8 kB 248.9 MB/s eta 0:00:00 Collecting sphinxcontrib-jquery!=3.0.0,>=2.0.0 Downloading sphinxcontrib_jquery-2.0.0-py3-none-any.whl (3.2 kB) Collecting docutils>=0.11 Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.0/570.0 kB 277.1 MB/s eta 0:00:00 Collecting pytz>=2015.7 Downloading pytz-2022.7.1-py2.py3-none-any.whl (499 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 499.4/499.4 kB 281.2 MB/s eta 0:00:00 Collecting zipp>=0.5 Downloading zipp-3.13.0-py3-none-any.whl (6.7 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.4/195.4 kB 257.2 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 213.8 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 259.5 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 253.8 MB/s eta 0:00:00 Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23772 sha256=0958cbf12868fc81df699840fd8b4b4ca577ef20b3cf31e2269afa28abd317fe Stored in directory: /tmp/pip-ephem-wheel-cache-zz95zs8x/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Successfully built mock Installing collected packages: snowballstemmer, pytz, mock, commonmark, charset-normalizer, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, setuptools, Pygments, pillow, packaging, MarkupSafe, imagesize, idna, docutils, certifi, babel, alabaster, sphinxcontrib-jquery, requests, Jinja2, importlib-metadata, sphinx, readthedocs-sphinx-ext, sphinx-rtd-theme, recommonmark Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.2 Pygments-2.14.0 alabaster-0.7.13 babel-2.11.0 certifi-2022.12.7 charset-normalizer-3.0.1 commonmark-0.9.1 docutils-0.18.1 idna-3.4 imagesize-1.4.1 importlib-metadata-6.0.0 mock-1.0.1 packaging-23.0 pillow-9.4.0 pytz-2022.7.1 readthedocs-sphinx-ext-2.2.0 recommonmark-0.5.0 requests-2.28.2 setuptools-58.2.0 snowballstemmer-2.2.0 sphinx-6.1.3 sphinx-rtd-theme-1.2.0 sphinxcontrib-applehelp-1.0.4 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.1 sphinxcontrib-jquery-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.14 zipp-3.13.0 [rtd-command-info] start-time: 2023-02-13T15:27:31.917997Z, end-time: 2023-02-13T15:27:47.248462Z, duration: 15, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Collecting docutils==0.16 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 548.2/548.2 kB 16.7 MB/s eta 0:00:00 Collecting sphinxcontrib-bibtex Downloading sphinxcontrib_bibtex-2.5.0-py3-none-any.whl (39 kB) Collecting pygments-github-lexers Downloading pygments-github-lexers-0.0.5.tar.gz (5.3 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pennylane Downloading PennyLane-0.28.0-py3-none-any.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 120.1 MB/s eta 0:00:00 Collecting sphinx-automodapi Downloading sphinx_automodapi-0.14.1-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.0/77.0 kB 224.9 MB/s eta 0:00:00 Collecting pennylane-sphinx-theme Downloading pennylane_sphinx_theme-0.3.7-py3-none-any.whl (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.9/45.9 kB 149.2 MB/s eta 0:00:00 Collecting pybtex-docutils>=1.0.0 Downloading pybtex_docutils-1.0.2-py3-none-any.whl (6.3 kB) Requirement already satisfied: importlib-metadata>=3.6 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (6.0.0) Requirement already satisfied: Sphinx>=2.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (6.1.3) Collecting pybtex>=0.24 Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 262.2 MB/s eta 0:00:00 Requirement already satisfied: pygments>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pygments-github-lexers->-r doc/requirements.txt (line 3)) (2.14.0) Collecting retworkx Downloading retworkx-0.12.1-py3-none-any.whl (10 kB) Requirement already satisfied: numpy<1.24 in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from pennylane->-r doc/requirements.txt (line 4)) (1.19.2) Collecting semantic-version>=2.7 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting scipy Downloading scipy-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 192.1 MB/s eta 0:00:00 Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane->-r doc/requirements.txt (line 4)) (2.28.2) Collecting autograd Downloading autograd-1.5-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 195.6 MB/s eta 0:00:00 Collecting pennylane-lightning>=0.28 Downloading PennyLane_Lightning-0.28.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.3/15.3 MB 195.2 MB/s eta 0:00:00 Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting autoray>=0.3.1 Downloading autoray-0.6.0-py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.4/46.4 kB 194.4 MB/s eta 0:00:00 Collecting networkx Downloading networkx-3.0-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 253.8 MB/s eta 0:00:00 Collecting toml Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting cachetools Downloading cachetools-5.3.0-py3-none-any.whl (9.3 kB) Collecting xanadu-sphinx-theme~=0.3.0 Downloading xanadu_sphinx_theme-0.3.6-py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.1/47.1 kB 219.0 MB/s eta 0:00:00 Collecting sphinx-gallery Downloading sphinx_gallery-0.11.1-py3-none-any.whl (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.0/138.0 kB 253.1 MB/s eta 0:00:00 Requirement already satisfied: pillow in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) (9.4.0) Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from importlib-metadata>=3.6->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.13.0) Collecting ninja Downloading ninja-1.11.1-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (145 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 146.0/146.0 kB 237.5 MB/s eta 0:00:00 Collecting PyYAML>=3.01 Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 701.2/701.2 kB 282.4 MB/s eta 0:00:00 Collecting latexcodec>=1.0.4 Downloading latexcodec-2.0.1-py2.py3-none-any.whl (18 kB) Requirement already satisfied: six in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from pybtex>=0.24->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.15.0) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.1) Requirement already satisfied: snowballstemmer>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.2.0) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.2) Requirement already satisfied: Jinja2>=3.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.1.2) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (0.7.13) Collecting Sphinx>=2.1 Downloading sphinx-6.1.2-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 129.4 MB/s eta 0:00:00 Downloading sphinx-6.1.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 200.5 MB/s eta 0:00:00 Downloading sphinx-6.1.0-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 204.0 MB/s eta 0:00:00 Downloading sphinx-6.0.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 239.2 MB/s eta 0:00:00 Downloading sphinx-6.0.0-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 242.1 MB/s eta 0:00:00 Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 243.0 MB/s eta 0:00:00 Requirement already satisfied: imagesize>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.4.1) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.1.5) Requirement already satisfied: packaging>=21.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (23.0) Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.4) Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.1) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.3) Requirement already satisfied: babel>=2.9 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.11.0) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (2022.12.7) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (3.4) Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (3.0.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (1.26.14) Collecting importlib-resources Downloading importlib_resources-5.10.2-py3-none-any.whl (34 kB) Collecting future>=0.15.2 Downloading future-0.18.3.tar.gz (840 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 284.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting rustworkx==0.12.1 Downloading rustworkx-0.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 267.6 MB/s eta 0:00:00 Collecting numpy<1.24 Downloading numpy-1.23.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 199.3 MB/s eta 0:00:00 Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from babel>=2.9->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2022.7.1) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Jinja2>=3.0->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.1.2) Building wheels for collected packages: pygments-github-lexers, future Building wheel for pygments-github-lexers (setup.py): started Building wheel for pygments-github-lexers (setup.py): finished with status 'done' Created wheel for pygments-github-lexers: filename=pygments_github_lexers-0.0.5-py3-none-any.whl size=6239 sha256=12f6282ad69cf3d5f32bd990bcc60d087d2d5a3487e887c36844ce53d7aa236d Stored in directory: /tmp/pip-ephem-wheel-cache-ui94_yrx/wheels/75/c6/f7/fc341b39d0b970c9c3a2918a97347ea8f992c14a43dd719f4e Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492036 sha256=8302a054c2a654d0ca1d9bbbf58dc1c31e0d3fc758bc341406b12e5d9c87b502 Stored in directory: /tmp/pip-ephem-wheel-cache-ui94_yrx/wheels/a0/0b/ee/e6994fadb42c1354dcccb139b0bf2795271bddfe6253ccdf11 Successfully built pygments-github-lexers future Installing collected packages: ninja, appdirs, toml, semantic-version, PyYAML, pygments-github-lexers, numpy, networkx, latexcodec, importlib-resources, future, docutils, cachetools, autoray, Sphinx, scipy, rustworkx, pybtex, autograd, sphinx-gallery, sphinx-automodapi, retworkx, pybtex-docutils, xanadu-sphinx-theme, sphinxcontrib-bibtex, pennylane-sphinx-theme, pennylane-lightning, pennylane Attempting uninstall: numpy Found existing installation: numpy 1.19.2 Not uninstalling numpy at /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages, outside environment /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest Can't uninstall 'numpy'. No files were found to uninstall. Attempting uninstall: docutils Found existing installation: docutils 0.18.1 Uninstalling docutils-0.18.1: Successfully uninstalled docutils-0.18.1 Attempting uninstall: Sphinx Found existing installation: Sphinx 6.1.3 Uninstalling Sphinx-6.1.3: Successfully uninstalled Sphinx-6.1.3 Successfully installed PyYAML-6.0 Sphinx-5.3.0 appdirs-1.4.4 autograd-1.5 autoray-0.6.0 cachetools-5.3.0 docutils-0.16 future-0.18.3 importlib-resources-5.10.2 latexcodec-2.0.1 networkx-3.0 ninja-1.11.1 numpy-1.23.5 pennylane-0.28.0 pennylane-lightning-0.28.2 pennylane-sphinx-theme-0.3.7 pybtex-0.24.0 pybtex-docutils-1.0.2 pygments-github-lexers-0.0.5 retworkx-0.12.1 rustworkx-0.12.1 scipy-1.10.0 semantic-version-2.10.0 sphinx-automodapi-0.14.1 sphinx-gallery-0.11.1 sphinxcontrib-bibtex-2.5.0 toml-0.10.2 xanadu-sphinx-theme-0.3.6 [rtd-command-info] start-time: 2023-02-13T15:27:47.478511Z, end-time: 2023-02-13T15:27:52.428492Z, duration: 4, exit-code: 0 python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir . Processing /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting qsharp Downloading qsharp-0.27.253010-py3-none-any.whl (2.2 kB) Requirement already satisfied: pennylane>=0.11 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from PennyLane-qsharp==0.19.0) (0.28.0) Requirement already satisfied: numpy<1.24 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.23.5) Requirement already satisfied: retworkx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.12.1) Requirement already satisfied: toml in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.10.2) Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (2.28.2) Requirement already satisfied: networkx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (3.0) Requirement already satisfied: autograd in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.5) Requirement already satisfied: scipy in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.10.0) Requirement already satisfied: autoray>=0.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.6.0) Requirement already satisfied: pennylane-lightning>=0.28 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.28.2) Requirement already satisfied: cachetools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (5.3.0) Requirement already satisfied: semantic-version>=2.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (2.10.0) Requirement already satisfied: appdirs in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.4.4) Collecting qsharp-chemistry==0.27.253010 Downloading qsharp_chemistry-0.27.253010-py3-none-any.whl (5.6 kB) Collecting qsharp-core==0.27.253010 Downloading qsharp_core-0.27.253010-py3-none-any.whl (38 kB) Collecting jupyter-client>=7.3.4 Downloading jupyter_client-8.0.2-py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.3/103.3 kB 14.4 MB/s eta 0:00:00 Requirement already satisfied: ninja in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane-lightning>=0.28->pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.11.1) Requirement already satisfied: future>=0.15.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from autograd->pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.18.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (2022.12.7) Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (3.0.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.26.14) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (3.4) Requirement already satisfied: rustworkx==0.12.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from retworkx->pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.12.1) Collecting traitlets>=5.3 Downloading traitlets-5.9.0-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.4/117.4 kB 197.8 MB/s eta 0:00:00 Collecting tornado>=6.2 Downloading tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 424.0/424.0 kB 55.1 MB/s eta 0:00:00 Collecting python-dateutil>=2.8.2 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 252.9 MB/s eta 0:00:00 Collecting pyzmq>=23.0 Downloading pyzmq-25.0.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 137.6 MB/s eta 0:00:00 Collecting jupyter-core!=5.0.*,>=4.12 Downloading jupyter_core-5.2.0-py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.3/94.3 kB 212.2 MB/s eta 0:00:00 Requirement already satisfied: importlib-metadata>=4.8.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from jupyter-client>=7.3.4->qsharp-core==0.27.253010->qsharp->PennyLane-qsharp==0.19.0) (6.0.0) Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from importlib-metadata>=4.8.3->jupyter-client>=7.3.4->qsharp-core==0.27.253010->qsharp->PennyLane-qsharp==0.19.0) (3.13.0) Collecting platformdirs>=2.5 Downloading platformdirs-3.0.0-py3-none-any.whl (14 kB) Requirement already satisfied: six>=1.5 in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from python-dateutil>=2.8.2->jupyter-client>=7.3.4->qsharp-core==0.27.253010->qsharp->PennyLane-qsharp==0.19.0) (1.15.0) Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: PennyLane-qsharp Building wheel for PennyLane-qsharp (setup.py): started Building wheel for PennyLane-qsharp (setup.py): finished with status 'done' Created wheel for PennyLane-qsharp: filename=PennyLane_qsharp-0.19.0-py3-none-any.whl size=13394 sha256=9e7256a9f9e29b92e6a0179a47d43c4644ab52b3846ea79cc29a7e7aa0d554e8 Stored in directory: /tmp/pip-ephem-wheel-cache-mp3au8z2/wheels/8f/e5/45/6014987f2a5fe5a3675488a0b99e5d43422524c37283e96b1e Successfully built PennyLane-qsharp Installing collected packages: traitlets, tornado, six, pyzmq, platformdirs, python-dateutil, jupyter-core, jupyter-client, qsharp-core, qsharp-chemistry, qsharp, PennyLane-qsharp Attempting uninstall: six Found existing installation: six 1.15.0 Not uninstalling six at /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages, outside environment /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest Can't uninstall 'six'. No files were found to uninstall. Attempting uninstall: python-dateutil Found existing installation: python-dateutil 2.8.1 Not uninstalling python-dateutil at /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages, outside environment /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest Can't uninstall 'python-dateutil'. No files were found to uninstall. Successfully installed PennyLane-qsharp-0.19.0 jupyter-client-8.0.2 jupyter-core-5.2.0 platformdirs-3.0.0 python-dateutil-2.8.2 pyzmq-25.0.0 qsharp-0.27.253010 qsharp-chemistry-0.27.253010 qsharp-core-0.27.253010 six-1.16.0 tornado-6.2 traitlets-5.9.0 [rtd-command-info] start-time: 2023-02-13T15:27:53.900720Z, end-time: 2023-02-13T15:27:53.970832Z, duration: 0, exit-code: 0 cat doc/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # PennyLane-Forest documentation build configuration file. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys, os, re from unittest.mock import MagicMock, PropertyMock # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('..')) sys.path.insert(0, os.path.abspath('_ext')) sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath('.')), 'doc')) # Mock out all modules that aren't required for compiling of documentation class Mock(MagicMock): __name__ = 'foo' @classmethod def __getattr__(cls, name): return MagicMock() MOCK_MODULES = [ 'qsharp' ] mock = Mock() for mod_name in MOCK_MODULES: sys.modules[mod_name] = mock # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = '1.6' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ "sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.todo", "sphinx.ext.coverage", "sphinx.ext.mathjax", "sphinx.ext.napoleon", "sphinx.ext.inheritance_diagram", "sphinx.ext.intersphinx", 'sphinx.ext.viewcode', "sphinx_automodapi.automodapi" ] autosummary_generate = True autosummary_imported_members = False automodapi_toctreedirnm = "code/api" automodsumm_inherited_members = True # Add any paths that contain templates here, relative to this directory. from pennylane_sphinx_theme import templates_dir templates_path = [templates_dir()] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] source_suffix = '.rst' # The master toctree document. master_doc = 'index' # General information about the project. project = 'PennyLane-Q#' copyright = "2022, Xanadu Quantum Technologies" author = 'Xanadu' add_module_names = False # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. import pennylane_qsharp # The full version, including alpha/beta/rc tags. release = pennylane_qsharp.__version__ # The short X.Y version. version = re.match(r'^(\d+\.\d+)', release).expand(r'\1') # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = "en" # today_fmt is used as the format for a strftime call. today_fmt = '%Y-%m-%d' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. show_authors = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. #html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. #html_logo = None # The name of an image file (relative to this directory) to use as a favicon of # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. html_favicon = '_static/favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. #html_extra_path = [] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, must be a dictionary that maps document names # to template names. # # This is required for the alabaster theme # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars #html_sidebars = { # '**': [ # 'about.html', # 'navigation.html', # 'relations.html', # needs 'show_related': True theme option to display # 'searchbox.html', # 'donate.html', # ] #} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = None # Language to be used for generating the HTML full-text search index. # Sphinx supports the following languages: # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr' #html_search_language = 'en' # A dictionary with options for the search language support, empty by default. # Now only 'ja' uses this config value #html_search_options = {'type': 'default'} # The name of a javascript file (relative to the configuration directory) that # implements a search results scorer. If empty, the default will be used. #html_search_scorer = 'scorer.js' # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = 'PennyLane-QSharpdoc' # -- Xanadu theme --------------------------------------------------------- html_theme = 'pennylane' # Register the theme as an extension to generate a sitemap.xml # extensions.append("guzzle_sphinx_theme") # xanadu theme options (see theme.conf for more information) html_theme_options = { "navbar_name": "PennyLane-Q#", "extra_copyrights": [ "TensorFlow, the TensorFlow logo, and any related marks are trademarks " "of Google Inc." ], "toc_overview": True, "navbar_active_link": 3, "google_analytics_tracking_id": "UA-130507810-1" } edit_on_github_project = 'PennyLaneAI/PennyLane-qsharp' edit_on_github_branch = 'master/doc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). # # 'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). # # 'pointsize': '10pt', # Additional stuff for the LaTeX preamble. # # 'preamble': '', # Latex figure (float) alignment # # 'figure_align': 'htbp', } latex_additional_files = ['macros.tex'] # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'PennyLane-qsharp.tex', 'PennyLane-Q# Documentation', 'Xanadu Inc.', 'manual'), ] # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ (master_doc, 'pennylane-qsharp', 'PennyLane-Q# Documentation', [author], 1) ] # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ (master_doc, 'PennyLane-Q#', 'PennyLane-Q# Documentation', author, 'PennyLane-Q#', 'Q# plugin for the PennyLane quantum machine learning library.', 'Miscellaneous'), ] #============================================================ # the order in which autodoc lists the documented members autodoc_member_order = 'bysource' # inheritance_diagram graphviz attributes inheritance_node_attrs = dict(color='lightskyblue1', style='filled') #autodoc_default_flags = ['members'] autosummary_generate = True ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} # This following legacy behavior will gradually be sliced out until its deprecated and removed. # Skipped for Sphinx 6+ # Skipped by internal Feature flag SKIP_SPHINX_HTML_THEME_PATH # Skipped by all new projects since SKIP_SPHINX_HTML_THEME_PATH's introduction (jan 2023) if ( using_rtd_theme and version_info < (6,0) and not False ): theme = importlib.import_module('sphinx_rtd_theme') if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] # Define websupport2_base_url and websupport2_static_url if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'proxied_static_path': "/_/static/", 'versions': [ ("latest", "/en/latest/"), ("stable", "/en/stable/"), ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'xanaduai-pennylane-qsharp', 'name': u'PennyLane-qsharp', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://docs.pennylane.ai/projects/qsharp/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/', 'api_host': 'https://readthedocs.com', 'github_user': 'PennyLaneAI', 'proxied_api_host': '/_', 'github_repo': 'PennyLane-qsharp', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': '38ae8858', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/xanaduai-pennylane-qsharp/builds/1297267/' project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2023-02-13T15:27:54.227095Z, end-time: 2023-02-13T15:28:02.871293Z, duration: 8, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . ../_readthedocs/html Running Sphinx v5.3.0 making output directory... done [autosummary] generating autosummary for: code.rst, devices/quantum_simulator.rst, index.rst, installation.rst, support.rst [automodsumm] code.rst: found 4 automodsumm entries to generate building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] code reading sources... [ 22%] code/api/pennylane_qsharp.CCNOT reading sources... [ 33%] code/api/pennylane_qsharp.QuantumSimulatorDevice reading sources... [ 44%] code/api/pennylane_qsharp.S reading sources... [ 55%] code/api/pennylane_qsharp.T reading sources... [ 66%] devices/quantum_simulator reading sources... [ 77%] index reading sources... [ 88%] installation reading sources... [100%] support looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 11%] code writing output... [ 22%] code/api/pennylane_qsharp.CCNOT writing output... [ 33%] code/api/pennylane_qsharp.QuantumSimulatorDevice writing output... [ 44%] code/api/pennylane_qsharp.S writing output... [ 55%] code/api/pennylane_qsharp.T writing output... [ 66%] devices/quantum_simulator writing output... [ 77%] index writing output... [ 88%] installation writing output... [100%] support generating indices... genindex py-modindex done highlighting module code... [ 50%] pennylane_qsharp.ops highlighting module code... [100%] pennylane_qsharp.quantum_simulator writing additional pages... search done copying images... [100%] _static/puzzle_qsharp.png copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done Updating searchtools for Read the Docs search... build succeeded. The HTML pages are in ../_readthedocs/html.