Read the Docs build information Build id: 1067197 Project: xanaduai-pennylane-qsharp Version: latest Commit: f1ca9fb595851f3cff76c5afaaaa6f2f7cba8ae5 Date: 2022-08-24T19:22:55.259521Z State: finished Success: True [rtd-command-info] start-time: 2022-08-24T19:23:00.447806Z, end-time: 2022-08-24T19:23:01.138355Z, 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-24T19:23:01.393132Z, end-time: 2022-08-24T19:23:01.476492Z, 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 f1ca9fb Updated sphinx theme (#21) [rtd-command-info] start-time: 2022-08-24T19:23:01.711532Z, end-time: 2022-08-24T19:23:01.791903Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-08-24T19:23:02.802908Z, end-time: 2022-08-24T19:23:07.656510Z, 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/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: 2022-08-24T19:23:07.867410Z, end-time: 2022-08-24T19:23:09.609110Z, 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 (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.7 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 65.3.0 Uninstalling setuptools-65.3.0: Successfully uninstalled setuptools-65.3.0 Successfully installed setuptools-58.2.0 [rtd-command-info] start-time: 2022-08-24T19:23:09.862921Z, end-time: 2022-08-24T19:23:18.676077Z, duration: 8, 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.8.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.2 setuptools<58.3.0 Collecting pillow Downloading Pillow-9.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 50.5 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 293.1 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 203.2 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 237.4 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 233.5 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 291.5 MB/s eta 0:00:00 Collecting future Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 288.2 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 284.3 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 Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 203.0 MB/s eta 0:00:00 Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 247.4 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 241.4 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 245.8 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 246.3 MB/s eta 0:00:00 Collecting requests>=2.5.0 Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 226.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 258.2 MB/s eta 0:00:00 Collecting importlib-metadata>=4.4 Downloading importlib_metadata-4.12.0-py3-none-any.whl (21 kB) Collecting babel>=1.3 Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 179.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 248.4 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.13.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 258.3 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 250.9 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 280.6 MB/s eta 0:00:00 Collecting pytz>=2015.7 Downloading pytz-2022.2.1-py2.py3-none-any.whl (500 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 500.6/500.6 kB 291.9 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 certifi>=2017.4.17 Downloading certifi-2022.6.15-py3-none-any.whl (160 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.2/160.2 kB 259.8 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 219.2 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 265.3 MB/s eta 0:00:00 Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 239.8 MB/s eta 0:00:00 Building wheels for collected packages: mock, 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=e530e8164e1d28a4b2d4f8e16c8999db143a7c55d6d7568033f3cb66f50bbb07 Stored in directory: /tmp/pip-ephem-wheel-cache-jlylh9t_/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 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=74a87b7eabd3f8f20a06241b1b4e9f53614a76bf0bd9e2b5ba3385e95f0f88fe Stored in directory: /tmp/pip-ephem-wheel-cache-jlylh9t_/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 Successfully built mock 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 Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.1 Pygments-2.13.0 alabaster-0.7.12 babel-2.10.3 certifi-2022.6.15 charset-normalizer-2.1.1 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-9.2.0 pyparsing-3.0.9 pytz-2022.2.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.12 zipp-3.8.1 [rtd-command-info] start-time: 2022-08-24T19:23:18.868755Z, end-time: 2022-08-24T19:23:28.795541Z, 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.4 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.25.1-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 116.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 239.1 MB/s eta 0:00:00 Collecting xanadu-sphinx-theme==0.1.0 Downloading xanadu_sphinx_theme-0.1.0-py3-none-any.whl (38 kB) Collecting sphinx-gallery Downloading sphinx_gallery-0.11.1-py3-none-any.whl (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.0/138.0 kB 251.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 xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (9.2.0) Requirement already satisfied: sphinx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (5.1.1) 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)) (4.12.0) Collecting pybtex-docutils>=1.0.0 Downloading pybtex_docutils-1.0.2-py3-none-any.whl (6.3 kB) Collecting pybtex>=0.24 Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 286.3 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.13.0) 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 213.0 MB/s eta 0:00:00 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 290.3 MB/s eta 0:00:00 Collecting networkx Downloading networkx-2.8.6-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 262.8 MB/s eta 0:00:00 Collecting toml Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting pennylane-lightning>=0.25 Downloading PennyLane_Lightning-0.25.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.7/13.7 MB 191.0 MB/s eta 0:00:00 Collecting semantic-version>=2.7 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) 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 autoray>=0.3.1 Downloading autoray-0.3.2-py3-none-any.whl (36 kB) Collecting autograd Downloading autograd-1.4-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.8/48.8 kB 210.5 MB/s eta 0:00:00 Collecting cachetools Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) 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.8.1) 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 252.7 MB/s eta 0:00:00 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) 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 297.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: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (1.0.2) 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->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (1.0.3) Requirement already satisfied: babel>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2.10.3) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2.28.1) 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->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2.0.0) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2.2.0) 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->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (1.1.5) 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->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (1.0.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->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (0.7.12) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (21.3) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (3.1.2) 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->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (1.0.1) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (1.4.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->-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/latest/lib/python3.8/site-packages (from babel>=1.3->sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2022.2.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>=2.3->sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2.1.1) Requirement already satisfied: charset-normalizer<3,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests>=2.5.0->sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2.1.1) 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>=2.5.0->sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (3.3) 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>=2.5.0->sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (1.26.12) 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>=2.5.0->sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (2022.6.15) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from packaging->sphinx->xanadu-sphinx-theme==0.1.0->-r doc/requirements.txt (line 6)) (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=49b133e3bdfb8103b709392f5f8620a7493740872c7e54f41a27587df817f494 Stored in directory: /tmp/pip-ephem-wheel-cache-e77vn1sb/wheels/75/c6/f7/fc341b39d0b970c9c3a2918a97347ea8f992c14a43dd719f4e Successfully built pygments-github-lexers Installing collected packages: ninja, appdirs, toml, semantic-version, scipy, retworkx, PyYAML, pygments-github-lexers, networkx, latexcodec, docutils, cachetools, autoray, autograd, pybtex, sphinx-gallery, sphinx-automodapi, pybtex-docutils, xanadu-sphinx-theme, 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.6 ninja-1.10.2.3 pennylane-0.25.1 pennylane-lightning-0.25.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.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.1.0 [rtd-command-info] start-time: 2022-08-24T19:23:29.558297Z, end-time: 2022-08-24T19:23:35.864876Z, 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/latest 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/latest/lib/python3.8/site-packages (from PennyLane-qsharp==0.19.0) (0.25.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: 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.3.2) Requirement already satisfied: pennylane-lightning>=0.25 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.25.0) 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.2.0) 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.9.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.4) 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.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 208.6 MB/s eta 0:00:00 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) 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: 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) (2.8.6) 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.11.0) 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 traitlets!=5.2.2 Downloading traitlets-5.3.0-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.8/106.8 kB 246.4 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 290.3 MB/s eta 0:00:00 Collecting jupyter-client<7.0 Downloading jupyter_client-6.1.12-py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.7/112.7 kB 251.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.25->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/latest/lib/python3.8/site-packages (from autograd->pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.18.2) Collecting jupyter-core>=4.6.0 Downloading jupyter_core-4.11.1-py3-none-any.whl (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.4/88.4 kB 243.7 MB/s eta 0:00:00 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 277.9 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 282.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=13393 sha256=89c768cbb196feaee15bf5fed6991a188407e0684f21d2dc38be254237e38d09 Stored in directory: /tmp/pip-ephem-wheel-cache-2pd3abs5/wheels/8f/e5/45/6014987f2a5fe5a3675488a0b99e5d43422524c37283e96b1e 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/latest 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/latest 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/latest Can't uninstall 'python-dateutil'. No files were found to uninstall. Successfully installed PennyLane-qsharp-0.19.0 jupyter-client-6.1.12 jupyter-core-4.11.1 numpy-1.23.2 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-24T19:23:37.677111Z, end-time: 2022-08-24T19:23:37.737492Z, 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 = "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 = 'xanadu' html_sidebars = { '**' : [ 'searchbox.html', 'globaltoc.html', ] } # 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_logo_path": "_static/logo.png", "navbar_wordmark_path": "_static/pennylane.svg", # Specifying #19b37b is more correct but does not match the other PL websites. "navbar_logo_colour": "#2d7c7f", "navbar_home_link": "https://pennylane.ai", "navbar_left_links": [ { "name": "Quantum machine learning", "href": "https://pennylane.ai/qml/", }, { "name": "Demos", "href": "https://pennylane.ai/qml/demonstrations.html", }, { "name": "Install", "href": "https://pennylane.ai/install.html", }, { "name": "Plugins", "href": "https://pennylane.ai/plugins.html", "active": True, }, { "name": "Documentation", "href": "https://docs.pennylane.ai/", }, { "name": "Blog", "href": "https://pennylane.ai/blog/", } ], "navbar_right_links": [ { "name": "FAQ", "href": "https://pennylane.ai/faq.html", "icon": "fas fa-question", }, { "name": "Support", "href": "https://discuss.pennylane.ai/", "icon": "fab fa-discourse", }, { "name": "GitHub", "href": "https://github.com/PennyLaneAI/pennylane-qiskit", "icon": "fab fa-github", } ], "extra_copyrights": [ "TensorFlow, the TensorFlow logo, and any related marks are trademarks " "of Google Inc." ], "google_analytics_tracking_id": "UA-130507810-1", "border_colour": "#19b37b", "prev_next_button_colour": "#19b37b", "prev_next_button_hover_colour": "#0e714d", "table_header_background_colour": "#edf7f4", "text_accent_colour": "#19b37b", "toc_marker_colour": "#19b37b", } 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 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': "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': 'f1ca9fb5', } # 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/1067197/' 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-24T19:23:37.918657Z, end-time: 2022-08-24T19:23:50.622105Z, duration: 12, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html Running Sphinx v5.1.1 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 _build/html.