Read the Docs build information Build id: 1046290 Project: xanaduai-pennylane-qsharp Version: stable Commit: 77c3a4ae2f94bb83dc3339b9abce1be92aef8266 Date: 2022-08-09T15:01:11.814767Z State: finished Success: True [rtd-command-info] start-time: 2022-08-09T15:12:25.674634Z, end-time: 2022-08-09T15:12:26.424252Z, 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: 2022-08-09T15:12:26.615412Z, end-time: 2022-08-09T15:12:26.697555Z, duration: 0, exit-code: 0 git checkout --force 77c3a4ae2f94bb83dc3339b9abce1be92aef8266 Note: switching to '77c3a4ae2f94bb83dc3339b9abce1be92aef8266'. 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 77c3a4a Publish Release workflow (#15) [rtd-command-info] start-time: 2022-08-09T15:12:26.967487Z, end-time: 2022-08-09T15:12:27.056017Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-08-09T15:12:28.052641Z, end-time: 2022-08-09T15:12:32.851083Z, duration: 4, exit-code: 0 python3.8 -mvirtualenv --system-site-packages 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/stable/bin/python3.8 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2022-08-09T15:12:33.059288Z, end-time: 2022-08-09T15:12:34.827428Z, 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/stable/lib/python3.8/site-packages (22.2.2) Collecting setuptools<58.3.0 Downloading setuptools-58.2.0-py3-none-any.whl (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.1/946.1 kB 27.6 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 63.4.2 Uninstalling setuptools-63.4.2: Successfully uninstalled setuptools-63.4.2 Successfully installed setuptools-58.2.0 [rtd-command-info] start-time: 2022-08-09T15:12:35.018378Z, end-time: 2022-08-09T15:13:02.274656Z, duration: 27, exit-code: 0 python -m pip install --upgrade --no-cache-dir -I mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.2 setuptools<58.3.0 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 24.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pillow==5.4.1 Downloading Pillow-5.4.1.tar.gz (16.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 203.4 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.12-py2.py3-none-any.whl (14 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 kB 189.6 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-5.1.1-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 228.9 MB/s eta 0:00:00 Collecting sphinx-rtd-theme Downloading sphinx_rtd_theme-1.0.0-py2.py3-none-any.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 232.0 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<2.2 Downloading readthedocs_sphinx_ext-2.1.8-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 276.9 MB/s eta 0:00:00 Collecting future Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 274.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting docutils>=0.11 Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 268.4 MB/s eta 0:00:00 Collecting Jinja2>=2.3 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 253.7 MB/s eta 0:00:00 Collecting babel>=1.3 Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 191.6 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 237.9 MB/s eta 0:00:00 Collecting imagesize Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting Pygments>=2.0 Downloading Pygments-2.12.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 273.6 MB/s eta 0:00:00 Collecting importlib-metadata>=4.4 Downloading importlib_metadata-4.12.0-py3-none-any.whl (21 kB) Collecting requests>=2.5.0 Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 216.7 MB/s eta 0:00:00 Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.2/121.2 kB 253.8 MB/s eta 0:00:00 Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 238.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 236.3 MB/s eta 0:00:00 Collecting sphinxcontrib-htmlhelp>=2.0.0 Downloading sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.5/100.5 kB 224.0 MB/s eta 0:00:00 Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 216.0 MB/s eta 0:00:00 Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 205.2 MB/s eta 0:00:00 Collecting docutils>=0.11 Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 kB 272.9 MB/s eta 0:00:00 Collecting pytz>=2015.7 Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 kB 269.7 MB/s eta 0:00:00 Collecting zipp>=0.5 Downloading zipp-3.8.1-py3-none-any.whl (5.6 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.0-py3-none-any.whl (39 kB) Collecting certifi>=2017.4.17 Downloading certifi-2022.6.15-py3-none-any.whl (160 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.2/160.2 kB 251.5 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 191.7 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.11-py2.py3-none-any.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.9/139.9 kB 248.9 MB/s eta 0:00:00 Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 230.6 MB/s eta 0:00:00 Building wheels for collected packages: mock, pillow, future 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=23773 sha256=f15eaee0d26514e3c123916e3d7f32076b03e21da71dcb5eef163b5fc9cc9fd1 Stored in directory: /tmp/pip-ephem-wheel-cache-fy73rlnp/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Building wheel for pillow (setup.py): started Building wheel for pillow (setup.py): finished with status 'done' Created wheel for pillow: filename=Pillow-5.4.1-cp38-cp38-linux_x86_64.whl size=1260150 sha256=26da4c32e90cbb6e8147062c3a38512a713fd989f43f75e88c98d988b35325b7 Stored in directory: /tmp/pip-ephem-wheel-cache-fy73rlnp/wheels/5f/a8/6b/5b7b3f764d879214eb03570f74d2b086201eb514e6ffa68d6d 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.2-py3-none-any.whl size=491070 sha256=227befc2950157e144de147d1bf20224865518f4cf686d3328cb905edaaefcd9 Stored in directory: /tmp/pip-ephem-wheel-cache-fy73rlnp/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 Successfully built mock pillow future Installing collected packages: snowballstemmer, pytz, mock, alabaster, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, setuptools, pyparsing, Pygments, pillow, MarkupSafe, imagesize, idna, future, docutils, charset-normalizer, certifi, babel, requests, packaging, Jinja2, importlib-metadata, commonmark, sphinx, readthedocs-sphinx-ext, sphinx-rtd-theme, recommonmark ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. matplotlib 3.3.2 requires pillow>=6.2.0, but you have pillow 5.4.1 which is incompatible. Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.1 Pygments-2.12.0 alabaster-0.7.12 babel-2.10.3 certifi-2022.6.15 charset-normalizer-2.1.0 commonmark-0.8.1 docutils-0.17.1 future-0.18.2 idna-3.3 imagesize-1.4.1 importlib-metadata-4.12.0 mock-1.0.1 packaging-21.3 pillow-5.4.1 pyparsing-3.0.9 pytz-2022.1 readthedocs-sphinx-ext-2.1.8 recommonmark-0.5.0 requests-2.28.1 setuptools-58.2.0 snowballstemmer-2.2.0 sphinx-5.1.1 sphinx-rtd-theme-1.0.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.11 zipp-3.8.1 [rtd-command-info] start-time: 2022-08-09T15:13:02.505308Z, end-time: 2022-08-09T15:13:11.949704Z, duration: 9, 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 18.9 MB/s eta 0:00:00 Collecting sphinxcontrib-bibtex Downloading sphinxcontrib_bibtex-2.4.2-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.24.0-py3-none-any.whl (957 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 957.4/957.4 kB 112.5 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 218.0 MB/s eta 0:00:00 Requirement already satisfied: Sphinx>=2.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (5.1.1) Collecting pybtex>=0.24 Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 236.5 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: pygments>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pygments-github-lexers->-r doc/requirements.txt (line 3)) (2.12.0) Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting retworkx Downloading retworkx-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 252.8 MB/s eta 0:00:00 Requirement already satisfied: numpy 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 toml Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting cachetools Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting autoray>=0.3.1 Downloading autoray-0.3.2-py3-none-any.whl (36 kB) Collecting pennylane-lightning>=0.24 Downloading PennyLane_Lightning-0.24.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.4/9.4 MB 199.9 MB/s eta 0:00:00 Collecting autograd Downloading autograd-1.4-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.8/48.8 kB 195.2 MB/s eta 0:00:00 Collecting scipy Downloading scipy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (43.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 MB 210.1 MB/s eta 0:00:00 Collecting networkx Downloading networkx-2.8.5-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 239.0 MB/s eta 0:00:00 Collecting semantic-version==2.6 Downloading semantic_version-2.6.0-py3-none-any.whl (14 kB) Collecting ninja Downloading ninja-1.10.2.3-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (108 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.1/108.1 kB 244.4 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 272.3 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-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.2) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.1.5) Requirement already satisfied: babel>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.10.3) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.28.1) Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.0) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.1) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.4.1) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.3) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.2.0) Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.2) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (0.7.12) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (21.3) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.1.2) Requirement already satisfied: importlib-metadata>=4.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (4.12.0) Requirement already satisfied: future>=0.15.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from autograd->pennylane->-r doc/requirements.txt (line 4)) (0.18.2) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from babel>=1.3->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2022.1) Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from importlib-metadata>=4.4->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.8.1) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from Jinja2>=2.3->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.1.1) Requirement already satisfied: charset-normalizer<3,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.1.0) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.26.11) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2022.6.15) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.3) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from packaging->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.0.9) Building wheels for collected packages: pygments-github-lexers 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=86f29f8b7d26c048fd82d3ffab52637feecd796360908fbd610e7f8f30441802 Stored in directory: /tmp/pip-ephem-wheel-cache-9u3tb0mj/wheels/75/c6/f7/fc341b39d0b970c9c3a2918a97347ea8f992c14a43dd719f4e Successfully built pygments-github-lexers Installing collected packages: semantic-version, ninja, appdirs, toml, scipy, retworkx, PyYAML, pygments-github-lexers, networkx, latexcodec, docutils, cachetools, autoray, autograd, pybtex, sphinx-automodapi, pybtex-docutils, sphinxcontrib-bibtex, pennylane-lightning, pennylane Attempting uninstall: docutils Found existing installation: docutils 0.17.1 Uninstalling docutils-0.17.1: Successfully uninstalled docutils-0.17.1 Successfully installed PyYAML-6.0 appdirs-1.4.4 autograd-1.4 autoray-0.3.2 cachetools-5.2.0 docutils-0.16 latexcodec-2.0.1 networkx-2.8.5 ninja-1.10.2.3 pennylane-0.24.0 pennylane-lightning-0.24.0 pybtex-0.24.0 pybtex-docutils-1.0.2 pygments-github-lexers-0.0.5 retworkx-0.11.0 scipy-1.9.0 semantic-version-2.6.0 sphinx-automodapi-0.14.1 sphinxcontrib-bibtex-2.4.2 toml-0.10.2 [rtd-command-info] start-time: 2022-08-09T15:13:12.198598Z, end-time: 2022-08-09T15:13:18.671127Z, duration: 6, 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/stable Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting qsharp Downloading qsharp-0.25.222597-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/stable/lib/python3.8/site-packages (from PennyLane-qsharp==0.19.0) (0.24.0) Requirement already satisfied: autoray>=0.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.3.2) Requirement already satisfied: scipy in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.9.0) Requirement already satisfied: pennylane-lightning>=0.24 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.24.0) Requirement already satisfied: toml in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.10.2) Requirement already satisfied: retworkx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.11.0) Requirement already satisfied: cachetools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (5.2.0) Requirement already satisfied: networkx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (2.8.5) Requirement already satisfied: autograd in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.4) Requirement already satisfied: semantic-version==2.6 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (2.6.0) Requirement already satisfied: numpy in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.19.2) Collecting numpy Downloading numpy-1.23.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 174.2 MB/s eta 0:00:00 Requirement already satisfied: appdirs in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.4.4) Collecting qsharp-core==0.25.222597 Downloading qsharp_core-0.25.222597-py3-none-any.whl (38 kB) Collecting qsharp-chemistry==0.25.222597 Downloading qsharp_chemistry-0.25.222597-py3-none-any.whl (5.5 kB) Collecting jupyter-client<7.0 Downloading jupyter_client-6.1.12-py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.7/112.7 kB 241.5 MB/s eta 0:00:00 Collecting pyzmq<20.0.0 Downloading pyzmq-19.0.2-cp38-cp38-manylinux1_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 278.6 MB/s eta 0:00:00 Collecting traitlets!=5.2.2 Downloading traitlets-5.3.0-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.8/106.8 kB 223.4 MB/s eta 0:00:00 Requirement already satisfied: ninja in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from pennylane-lightning>=0.24->pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.10.2.3) Requirement already satisfied: future>=0.15.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/stable/lib/python3.8/site-packages (from autograd->pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.18.2) Requirement already satisfied: python-dateutil>=2.1 in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from jupyter-client<7.0->qsharp-core==0.25.222597->qsharp->PennyLane-qsharp==0.19.0) (2.8.1) Collecting python-dateutil>=2.1 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 119.2 MB/s eta 0:00:00 Collecting jupyter-core>=4.6.0 Downloading jupyter_core-4.11.1-py3-none-any.whl (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.4/88.4 kB 238.4 MB/s eta 0:00:00 Collecting tornado>=4.1 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 270.5 MB/s eta 0:00:00 Requirement already satisfied: six>=1.5 in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from python-dateutil>=2.1->jupyter-client<7.0->qsharp-core==0.25.222597->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=13406 sha256=421938a13d940d68e6397e92a56337a485f1a54236c99e06e3c91b347c71a293 Stored in directory: /tmp/pip-ephem-wheel-cache-23_3po8m/wheels/a7/2a/83/73d4ae62d502b028b20dac740eb322d3b2552c653c0b354df0 Successfully built PennyLane-qsharp Installing collected packages: traitlets, tornado, six, pyzmq, numpy, 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/stable Can't uninstall 'six'. No files were found to uninstall. 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/stable Can't uninstall 'numpy'. 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/stable Can't uninstall 'python-dateutil'. No files were found to uninstall. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. matplotlib 3.3.2 requires pillow>=6.2.0, but you have pillow 5.4.1 which is incompatible. Successfully installed PennyLane-qsharp-0.19.0 jupyter-client-6.1.12 jupyter-core-4.11.1 numpy-1.23.1 python-dateutil-2.8.2 pyzmq-19.0.2 qsharp-0.25.222597 qsharp-chemistry-0.25.222597 qsharp-core-0.25.222597 six-1.16.0 tornado-6.2 traitlets-5.3.0 [rtd-command-info] start-time: 2022-08-09T15:13:20.493328Z, end-time: 2022-08-09T15:13:20.594387Z, 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. templates_path = ['_templates', 'xanadu_theme'] # 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 = "Copyright 2019-2020." 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 = None # 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', # ] #} html_sidebars = { '**' : [ 'logo-text.html', 'searchbox.html', 'globaltoc.html', # 'sourcelink.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 = 'xanadu_theme' html_theme_path = ['.'] # 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 = { # Set the path to a special layout to include for the homepage # "index_template": "special_index.html", # Set the name of the project to appear in the left sidebar. "project_nav_name": "PennyLane-Qsharp", # Set your Disqus short name to enable comments # "disqus_comments_shortname": "pennylane-1", # Set you GA account ID to enable tracking "google_analytics_account": "UA-130507810-2", # Path to a touch icon "touch_icon": "logo_new.png", # Specify a base_url used to generate sitemap.xml links. If not # specified, then no sitemap will be built. # "base_url": "" # Allow a separate homepage from the master_doc # "homepage": "index", # Allow the project link to be overriden to a custom URL. # "projectlink": "http://myproject.url", "large_toc": True, # colors "navigation_button": "#19b37b", "navigation_button_hover": "#0e714d", "toc_caption": "#19b37b", "toc_hover": "#19b37b", "table_header_bg": "#edf7f4", "table_header_border": "#19b37b", "download_button": "#19b37b", # gallery options # "github_repo": "XanaduAI/PennyLane", # "gallery_dirs": "tutorials", } edit_on_github_project = 'XanaduAI/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 from directives import CustomDeviceGalleryItemDirective def setup(app): app.add_directive('devicegalleryitem', CustomDeviceGalleryItemDirective) ########################################################################### # 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: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] 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': "stable", 'version_slug': "stable", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'proxied_static_path': "/_/static/", 'versions': [ ], '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': '77c3a4ae2f94bb83dc3339b9abce1be92aef8266', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': '77c3a4ae2f94bb83dc3339b9abce1be92aef8266', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': '77c3a4ae2f94bb83dc3339b9abce1be92aef8266', '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': '77c3a4ae', } # 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 'tag' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/xanaduai-pennylane-qsharp/builds/1046290/' 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: 2022-08-09T15:13:20.790301Z, end-time: 2022-08-09T15:13:28.173588Z, duration: 7, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html Running Sphinx v5.1.1 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). 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, 1 warning. The HTML pages are in _build/html.