Read the Docs build information Build id: 1113870 Project: xanaduai-pennylane-qsharp Version: latest Commit: 38ae88582a34720189592b43942cb1aba33219de Date: 2022-09-26T20:52:46.091060Z State: finished Success: True [rtd-command-info] start-time: 2022-09-26T20:52:48.060039Z, end-time: 2022-09-26T20:52:49.454769Z, duration: 1, 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-09-26T20:52:49.646756Z, end-time: 2022-09-26T20:52:49.735634Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: switching to 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 38ae885 update sphinx theme [rtd-command-info] start-time: 2022-09-26T20:52:49.916500Z, end-time: 2022-09-26T20:52:49.986323Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-09-26T20:52:50.959543Z, end-time: 2022-09-26T20:52:56.503410Z, duration: 5, 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-09-26T20:52:56.736522Z, end-time: 2022-09-26T20:52:58.490655Z, 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 22.6 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 65.4.0 Uninstalling setuptools-65.4.0: Successfully uninstalled setuptools-65.4.0 Successfully installed setuptools-58.2.0 [rtd-command-info] start-time: 2022-09-26T20:52:58.687885Z, end-time: 2022-09-26T20:53:06.363194Z, duration: 7, exit-code: 0 python -m pip install --upgrade --no-cache-dir -I pillow mock==1.0.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.9.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.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 61.8 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 286.8 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.9.1 Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 215.9 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.2.1-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 240.5 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 221.2 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<2.2 Downloading readthedocs_sphinx_ext-2.1.9-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 289.6 MB/s eta 0:00:00 Collecting docutils>=0.11 Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 287.8 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 217.9 MB/s eta 0:00:00 Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting Jinja2>=3.0 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 259.1 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 252.1 MB/s eta 0:00:00 Collecting imagesize>=1.3 Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting packaging>=21.0 Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 225.3 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 272.2 MB/s eta 0:00:00 Collecting babel>=2.9 Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 199.2 MB/s eta 0:00:00 Collecting importlib-metadata>=4.8 Downloading importlib_metadata-4.12.0-py3-none-any.whl (21 kB) Collecting snowballstemmer>=2.0 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 252.6 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 252.7 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 234.0 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 264.3 MB/s eta 0:00:00 Collecting Pygments>=2.12 Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 285.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 291.3 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 285.5 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 pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 234.6 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.9.24-py3-none-any.whl (161 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 266.1 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 235.4 MB/s eta 0:00:00 Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 261.7 MB/s eta 0:00:00 Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23773 sha256=92f8b327e08462779c620d6eaadb414f3db2a33736792a7047b4d8f41f7501fd Stored in directory: /tmp/pip-ephem-wheel-cache-3oiko2cz/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Successfully built mock Installing collected packages: snowballstemmer, pytz, mock, commonmark, alabaster, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, setuptools, pyparsing, Pygments, pillow, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, requests, packaging, Jinja2, importlib-metadata, 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.9.24 charset-normalizer-2.1.1 commonmark-0.9.1 docutils-0.17.1 idna-3.4 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.9 recommonmark-0.5.0 requests-2.28.1 setuptools-58.2.0 snowballstemmer-2.2.0 sphinx-5.2.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-09-26T20:53:06.551097Z, end-time: 2022-09-26T20:53:17.697595Z, duration: 11, 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 19.9 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.26.0-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 124.7 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 231.9 MB/s eta 0:00:00 Collecting pennylane-sphinx-theme Downloading pennylane_sphinx_theme-0.3.1-py3-none-any.whl (43 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 kB 207.0 MB/s eta 0:00:00 Collecting pybtex>=0.24 Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 249.3 MB/s eta 0:00:00 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) Requirement already satisfied: Sphinx>=2.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (5.2.1) 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/latest/lib/python3.8/site-packages (from pygments-github-lexers->-r doc/requirements.txt (line 3)) (2.13.0) Collecting autograd Downloading autograd-1.4-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.8/48.8 kB 212.5 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 240.6 MB/s eta 0:00:00 Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting pennylane-lightning>=0.26 Downloading PennyLane_Lightning-0.26.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 198.8 MB/s eta 0:00:00 Collecting autoray>=0.3.1 Downloading autoray-0.3.2-py3-none-any.whl (36 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 276.8 MB/s eta 0:00:00 Collecting toml Downloading toml-0.10.2-py2.py3-none-any.whl (16 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 scipy Downloading scipy-1.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (43.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 MB 210.9 MB/s eta 0:00:00 Collecting cachetools Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting semantic-version>=2.7 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting xanadu-sphinx-theme Downloading xanadu_sphinx_theme-0.3.0-py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.5/46.5 kB 211.1 MB/s eta 0:00:00 Requirement already satisfied: pillow in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) (9.2.0) Collecting sphinx-gallery Downloading sphinx_gallery-0.11.1-py3-none-any.whl (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.0/138.0 kB 253.9 MB/s eta 0:00:00 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 240.5 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) 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 271.6 MB/s eta 0:00:00 Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (0.7.12) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.1.5) Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.0) Requirement already satisfied: babel>=2.9 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.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>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.28.1) Requirement already satisfied: imagesize>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.4.1) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.1) Requirement already satisfied: snowballstemmer>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.2.0) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.2) Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.2) Requirement already satisfied: packaging>=21.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (21.3) Requirement already satisfied: Jinja2>=3.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.1.2) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.3) Collecting future>=0.15.2 Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 272.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting importlib-resources Downloading importlib_resources-5.9.0-py3-none-any.whl (33 kB) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from babel>=2.9->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2022.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>=3.0->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.1.1) 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>=21.0->Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.0.9) 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>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.26.12) 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>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (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>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.4) 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>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2022.9.24) Building wheels for collected packages: pygments-github-lexers, future Building wheel for pygments-github-lexers (setup.py): started Building wheel for pygments-github-lexers (setup.py): finished with status 'done' Created wheel for pygments-github-lexers: filename=pygments_github_lexers-0.0.5-py3-none-any.whl size=6239 sha256=2c7f4593d2b3b33fafcb8071e4566826782bee58a6b225021edc9d9a9d17fc2e Stored in directory: /tmp/pip-ephem-wheel-cache-iteq4qrs/wheels/75/c6/f7/fc341b39d0b970c9c3a2918a97347ea8f992c14a43dd719f4e Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491070 sha256=d15db76603cdbc5fd254d5f6e7381b1203507ecef7ff263c10a549e44bef976a Stored in directory: /tmp/pip-ephem-wheel-cache-iteq4qrs/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 Successfully built pygments-github-lexers future Installing collected packages: ninja, appdirs, toml, semantic-version, scipy, retworkx, PyYAML, pygments-github-lexers, networkx, latexcodec, importlib-resources, future, docutils, cachetools, autoray, pybtex, autograd, sphinx-gallery, sphinx-automodapi, pybtex-docutils, xanadu-sphinx-theme, sphinxcontrib-bibtex, pennylane-sphinx-theme, 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 future-0.18.2 importlib-resources-5.9.0 latexcodec-2.0.1 networkx-2.8.6 ninja-1.10.2.3 pennylane-0.26.0 pennylane-lightning-0.26.0 pennylane-sphinx-theme-0.3.1 pybtex-0.24.0 pybtex-docutils-1.0.2 pygments-github-lexers-0.0.5 retworkx-0.11.0 scipy-1.9.1 semantic-version-2.10.0 sphinx-automodapi-0.14.1 sphinx-gallery-0.11.1 sphinxcontrib-bibtex-2.5.0 toml-0.10.2 xanadu-sphinx-theme-0.3.0 [rtd-command-info] start-time: 2022-09-26T20:53:17.969245Z, end-time: 2022-09-26T20:53:24.799408Z, 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.228311-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.26.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: 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: 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: 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: 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: pennylane-lightning>=0.26 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.26.0) Requirement already satisfied: semantic-version>=2.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (2.10.0) Requirement already satisfied: 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) 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: 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.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 212.3 MB/s eta 0:00:00 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.1) Collecting qsharp-core==0.25.228311 Downloading qsharp_core-0.25.228311-py3-none-any.whl (38 kB) Collecting qsharp-chemistry==0.25.228311 Downloading qsharp_chemistry-0.25.228311-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 240.6 MB/s eta 0:00:00 Collecting traitlets!=5.2.2 Downloading traitlets-5.4.0-py3-none-any.whl (107 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.1/107.1 kB 250.0 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 280.5 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.26->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 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 279.8 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.0 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.228311->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 278.9 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.228311->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=c9e8bfbc71b311af4715f2d2fc329f5871063e02c87a6b92af379f8d90c054f3 Stored in directory: /tmp/pip-ephem-wheel-cache-dp2_lvxm/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.3 python-dateutil-2.8.2 pyzmq-19.0.2 qsharp-0.25.228311 qsharp-chemistry-0.25.228311 qsharp-core-0.25.228311 six-1.16.0 tornado-6.2 traitlets-5.4.0 [rtd-command-info] start-time: 2022-09-26T20:53:26.320749Z, end-time: 2022-09-26T20:53:26.381855Z, duration: 0, exit-code: 0 cat doc/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # PennyLane-Forest documentation build configuration file. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys, os, re from unittest.mock import MagicMock, PropertyMock # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('..')) sys.path.insert(0, os.path.abspath('_ext')) sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath('.')), 'doc')) # Mock out all modules that aren't required for compiling of documentation class Mock(MagicMock): __name__ = 'foo' @classmethod def __getattr__(cls, name): return MagicMock() MOCK_MODULES = [ 'qsharp' ] mock = Mock() for mod_name in MOCK_MODULES: sys.modules[mod_name] = mock # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = '1.6' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ "sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.todo", "sphinx.ext.coverage", "sphinx.ext.mathjax", "sphinx.ext.napoleon", "sphinx.ext.inheritance_diagram", "sphinx.ext.intersphinx", 'sphinx.ext.viewcode', "sphinx_automodapi.automodapi" ] autosummary_generate = True autosummary_imported_members = False automodapi_toctreedirnm = "code/api" automodsumm_inherited_members = True # Add any paths that contain templates here, relative to this directory. from pennylane_sphinx_theme import templates_dir templates_path = [templates_dir()] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] source_suffix = '.rst' # The master toctree document. master_doc = 'index' # General information about the project. project = 'PennyLane-Q#' copyright = "2022, Xanadu Quantum Technologies" author = 'Xanadu' add_module_names = False # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. import pennylane_qsharp # The full version, including alpha/beta/rc tags. release = pennylane_qsharp.__version__ # The short X.Y version. version = re.match(r'^(\d+\.\d+)', release).expand(r'\1') # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = "en" # today_fmt is used as the format for a strftime call. today_fmt = '%Y-%m-%d' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. show_authors = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. #html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. #html_logo = None # The name of an image file (relative to this directory) to use as a favicon of # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. html_favicon = '_static/favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. #html_extra_path = [] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, must be a dictionary that maps document names # to template names. # # This is required for the alabaster theme # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars #html_sidebars = { # '**': [ # 'about.html', # 'navigation.html', # 'relations.html', # needs 'show_related': True theme option to display # 'searchbox.html', # 'donate.html', # ] #} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = None # Language to be used for generating the HTML full-text search index. # Sphinx supports the following languages: # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr' #html_search_language = 'en' # A dictionary with options for the search language support, empty by default. # Now only 'ja' uses this config value #html_search_options = {'type': 'default'} # The name of a javascript file (relative to the configuration directory) that # implements a search results scorer. If empty, the default will be used. #html_search_scorer = 'scorer.js' # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = 'PennyLane-QSharpdoc' # -- Xanadu theme --------------------------------------------------------- html_theme = 'pennylane' # Register the theme as an extension to generate a sitemap.xml # extensions.append("guzzle_sphinx_theme") # xanadu theme options (see theme.conf for more information) html_theme_options = { "navbar_name": "PennyLane-Q#", "extra_copyrights": [ "TensorFlow, the TensorFlow logo, and any related marks are trademarks " "of Google Inc." ], "toc_overview": True, "navbar_active_link": 3, "google_analytics_tracking_id": "UA-130507810-1" } edit_on_github_project = 'PennyLaneAI/PennyLane-qsharp' edit_on_github_branch = 'master/doc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). # # 'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). # # 'pointsize': '10pt', # Additional stuff for the LaTeX preamble. # # 'preamble': '', # Latex figure (float) alignment # # 'figure_align': 'htbp', } latex_additional_files = ['macros.tex'] # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'PennyLane-qsharp.tex', 'PennyLane-Q# Documentation', 'Xanadu Inc.', 'manual'), ] # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ (master_doc, 'pennylane-qsharp', 'PennyLane-Q# Documentation', [author], 1) ] # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ (master_doc, 'PennyLane-Q#', 'PennyLane-Q# Documentation', author, 'PennyLane-Q#', 'Q# plugin for the PennyLane quantum machine learning library.', 'Miscellaneous'), ] #============================================================ # the order in which autodoc lists the documented members autodoc_member_order = 'bysource' # inheritance_diagram graphviz attributes inheritance_node_attrs = dict(color='lightskyblue1', style='filled') #autodoc_default_flags = ['members'] autosummary_generate = True ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: 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': '38ae8858', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/xanaduai-pennylane-qsharp/builds/1113870/' 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-09-26T20:53:26.606819Z, end-time: 2022-09-26T20:53:38.481816Z, duration: 11, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html Running Sphinx v5.2.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.