Read the Docs build information Build id: 1562302 Project: xanaduai-pennylane-qsharp Version: latest Commit: 7ba567a98af42ab9aa32a219635d55de4e27a043 Date: 2023-06-26T20:04:58.010156Z State: finished Success: True [rtd-command-info] start-time: 2023-06-26T20:04:59.982697Z, end-time: 2023-06-26T20:05:00.652770Z, duration: 0, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/PennyLaneAI/PennyLane-qsharp.git . Cloning into '.'... [rtd-command-info] start-time: 2023-06-26T20:05:00.942659Z, end-time: 2023-06-26T20:05:01.045128Z, 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 7ba567a Switch to GA4 (#22) [rtd-command-info] start-time: 2023-06-26T20:05:01.287164Z, end-time: 2023-06-26T20:05:01.377938Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2023-06-26T20:05:01.678100Z, end-time: 2023-06-26T20:05:01.742604Z, duration: 0, exit-code: 0 cat .readthedocs.yml version: 2 sphinx: configuration: doc/conf.py python: version: 3.8 install: - requirements: doc/requirements.txt - method: pip path: . system_packages: true build: image: latest [rtd-command-info] start-time: 2023-06-26T20:05:02.946111Z, end-time: 2023-06-26T20:05:09.235507Z, duration: 6, exit-code: 0 python3.8 -mvirtualenv --system-site-packages $READTHEDOCS_VIRTUALENV_PATH Using base prefix '/home/docs/.pyenv/versions/3.8.6' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/bin/python3.8 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2023-06-26T20:05:09.472870Z, end-time: 2023-06-26T20:05:10.879303Z, duration: 1, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (23.1.2) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (68.0.0) [rtd-command-info] start-time: 2023-06-26T20:05:11.144412Z, end-time: 2023-06-26T20:05:20.154831Z, duration: 9, exit-code: 0 python -m pip install --upgrade --no-cache-dir -I pillow mock==1.0.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.9.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.3 setuptools Collecting pillow Downloading Pillow-9.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 58.2 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 255.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.13-py3-none-any.whl (13 kB) Collecting commonmark==0.9.1 Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 193.1 MB/s eta 0:00:00 Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx Downloading sphinx-7.0.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 202.4 MB/s eta 0:00:00 Collecting sphinx-rtd-theme Downloading sphinx_rtd_theme-1.2.2-py2.py3-none-any.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 194.7 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<2.3 Downloading readthedocs_sphinx_ext-2.2.1-py2.py3-none-any.whl (11 kB) Collecting setuptools Downloading setuptools-68.0.0-py3-none-any.whl (804 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 kB 260.7 MB/s eta 0:00:00 Collecting docutils>=0.11 (from recommonmark==0.5.0) Downloading docutils-0.20.1-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 256.5 MB/s eta 0:00:00 Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.6/120.6 kB 233.7 MB/s eta 0:00:00 Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 218.7 MB/s eta 0:00:00 Collecting sphinxcontrib-jsmath (from sphinx) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-htmlhelp>=2.0.0 (from sphinx) Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.8/99.8 kB 213.6 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml>=1.1.5 (from sphinx) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 211.2 MB/s eta 0:00:00 Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 230.7 MB/s eta 0:00:00 Collecting Jinja2>=3.0 (from sphinx) Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 242.0 MB/s eta 0:00:00 Collecting Pygments>=2.13 (from sphinx) Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 261.1 MB/s eta 0:00:00 Collecting snowballstemmer>=2.0 (from sphinx) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 222.9 MB/s eta 0:00:00 Collecting babel>=2.9 (from sphinx) Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 189.5 MB/s eta 0:00:00 Collecting imagesize>=1.3 (from sphinx) Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting requests>=2.25.0 (from sphinx) Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 201.8 MB/s eta 0:00:00 Collecting packaging>=21.0 (from sphinx) Downloading packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 191.4 MB/s eta 0:00:00 Collecting importlib-metadata>=4.8 (from sphinx) Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB) Collecting sphinx Downloading sphinx-6.2.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 208.3 MB/s eta 0:00:00 Collecting docutils>=0.11 (from recommonmark==0.5.0) Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.0/570.0 kB 249.9 MB/s eta 0:00:00 Collecting sphinxcontrib-jquery<5,>=4 (from sphinx-rtd-theme) Downloading sphinxcontrib_jquery-4.1-py2.py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 241.3 MB/s eta 0:00:00 Collecting pytz>=2015.7 (from babel>=2.9->sphinx) Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 252.0 MB/s eta 0:00:00 Collecting zipp>=0.5 (from importlib-metadata>=4.8->sphinx) Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->sphinx) Downloading MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.25.0->sphinx) Downloading charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.9/195.9 kB 244.6 MB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests>=2.25.0->sphinx) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 202.2 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx) Downloading urllib3-2.0.3-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 209.1 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx) Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 240.9 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=23753 sha256=c6e9edad65b49cb8c70434b8b696fbd603af22b323c8648f26013692a27cfe13 Stored in directory: /tmp/pip-ephem-wheel-cache-xi7hxjni/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Successfully built mock Installing collected packages: snowballstemmer, pytz, mock, commonmark, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, setuptools, Pygments, pillow, packaging, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, alabaster, requests, Jinja2, importlib-metadata, sphinx, readthedocs-sphinx-ext, sphinxcontrib-jquery, recommonmark, sphinx-rtd-theme Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.3 Pygments-2.15.1 alabaster-0.7.13 babel-2.12.1 certifi-2023.5.7 charset-normalizer-3.1.0 commonmark-0.9.1 docutils-0.18.1 idna-3.4 imagesize-1.4.1 importlib-metadata-6.7.0 mock-1.0.1 packaging-23.1 pillow-9.5.0 pytz-2023.3 readthedocs-sphinx-ext-2.2.1 recommonmark-0.5.0 requests-2.31.0 setuptools-68.0.0 snowballstemmer-2.2.0 sphinx-6.2.1 sphinx-rtd-theme-1.2.2 sphinxcontrib-applehelp-1.0.4 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.1 sphinxcontrib-jquery-4.1 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-2.0.3 zipp-3.15.0 [rtd-command-info] start-time: 2023-06-26T20:05:20.597703Z, end-time: 2023-06-26T20:05:36.995082Z, duration: 16, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Collecting docutils==0.16 (from -r doc/requirements.txt (line 1)) Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 548.2/548.2 kB 16.9 MB/s eta 0:00:00 Collecting sphinxcontrib-bibtex (from -r doc/requirements.txt (line 2)) Downloading sphinxcontrib_bibtex-2.5.0-py3-none-any.whl (39 kB) Collecting pygments-github-lexers (from -r doc/requirements.txt (line 3)) 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 (from -r doc/requirements.txt (line 4)) Downloading PennyLane-0.31.0-py3-none-any.whl (1.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 113.6 MB/s eta 0:00:00 Collecting sphinx-automodapi (from -r doc/requirements.txt (line 5)) Downloading sphinx_automodapi-0.15.0-py3-none-any.whl (80 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.3/80.3 kB 213.7 MB/s eta 0:00:00 Collecting pennylane-sphinx-theme (from -r doc/requirements.txt (line 6)) Downloading pennylane_sphinx_theme-0.3.8-py3-none-any.whl (43 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 kB 175.9 MB/s eta 0:00:00 Requirement already satisfied: Sphinx>=2.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (6.2.1) Collecting pybtex>=0.24 (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 253.0 MB/s eta 0:00:00 Collecting pybtex-docutils>=1.0.0 (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading pybtex_docutils-1.0.2-py3-none-any.whl (6.3 kB) Requirement already satisfied: importlib-metadata>=3.6 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (6.7.0) 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.15.1) Collecting numpy<1.24 (from pennylane->-r doc/requirements.txt (line 4)) Downloading numpy-1.23.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 190.9 MB/s eta 0:00:00 Collecting scipy<=1.10 (from pennylane->-r doc/requirements.txt (line 4)) Downloading scipy-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 152.9 MB/s eta 0:00:00 Collecting networkx (from pennylane->-r doc/requirements.txt (line 4)) Downloading networkx-3.1-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 236.8 MB/s eta 0:00:00 Collecting rustworkx (from pennylane->-r doc/requirements.txt (line 4)) Downloading rustworkx-0.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 232.4 MB/s eta 0:00:00 Collecting autograd<=1.5 (from pennylane->-r doc/requirements.txt (line 4)) Downloading autograd-1.5-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 209.5 MB/s eta 0:00:00 Collecting toml (from pennylane->-r doc/requirements.txt (line 4)) Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting appdirs (from pennylane->-r doc/requirements.txt (line 4)) Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting semantic-version>=2.7 (from pennylane->-r doc/requirements.txt (line 4)) Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting autoray>=0.3.1 (from pennylane->-r doc/requirements.txt (line 4)) Downloading autoray-0.6.3-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.3/48.3 kB 163.1 MB/s eta 0:00:00 Collecting cachetools (from pennylane->-r doc/requirements.txt (line 4)) Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB) Collecting pennylane-lightning>=0.31 (from pennylane->-r doc/requirements.txt (line 4)) Downloading PennyLane_Lightning-0.31.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.6/16.6 MB 198.3 MB/s eta 0:00:00 Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane->-r doc/requirements.txt (line 4)) (2.31.0) Collecting xanadu-sphinx-theme~=0.3.0 (from pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) Downloading xanadu_sphinx_theme-0.3.7-py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.1/47.1 kB 186.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.5.0) Collecting sphinx-gallery (from pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) Downloading sphinx_gallery-0.13.0-py3-none-any.whl (147 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.4/147.4 kB 237.7 MB/s eta 0:00:00 Collecting future>=0.15.2 (from autograd<=1.5->pennylane->-r doc/requirements.txt (line 4)) Downloading future-0.18.3.tar.gz (840 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 257.4 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' 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.15.0) Collecting PyYAML>=3.01 (from pybtex>=0.24->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) 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 254.5 MB/s eta 0:00:00 Collecting latexcodec>=1.0.4 (from pybtex>=0.24->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) 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.16.0) Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.4) Requirement already satisfied: sphinxcontrib-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-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: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.1) Requirement already satisfied: sphinxcontrib-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-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.0.3) Requirement already satisfied: 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) INFO: pip is looking at multiple versions of sphinx to determine which version is compatible with other requirements. This could take a while. Collecting Sphinx>=2.1 (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading sphinx-7.0.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 217.3 MB/s eta 0:00:00 Downloading sphinx-7.0.0-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 221.5 MB/s eta 0:00:00 Downloading sphinx-6.2.0-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 84.4 MB/s eta 0:00:00 Downloading sphinx-6.1.3-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 172.0 MB/s eta 0:00:00 Downloading sphinx-6.1.2-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 223.9 MB/s eta 0:00:00 Downloading sphinx-6.1.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 160.7 MB/s eta 0:00:00 Downloading sphinx-6.1.0-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 202.7 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of sphinx to determine which version is compatible with other requirements. This could take a while. Downloading sphinx-6.0.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 219.4 MB/s eta 0:00:00 Downloading sphinx-6.0.0-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 219.6 MB/s eta 0:00:00 Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 206.1 MB/s eta 0:00:00 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: 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.12.1) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (0.7.13) 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: packaging>=21.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from Sphinx>=2.1->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (23.1) Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (2.0.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (2023.5.7) Requirement already satisfied: importlib-resources in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from xanadu-sphinx-theme~=0.3.0->pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) (5.12.0) 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)) (2023.3) 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.3) 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=6213 sha256=e9b3c98ad2c904a20df4a8e4825554e479062def41cd6878eb97dd6c12b2a4b8 Stored in directory: /tmp/pip-ephem-wheel-cache-6_csf9gk/wheels/75/c6/f7/fc341b39d0b970c9c3a2918a97347ea8f992c14a43dd719f4e Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492022 sha256=91e300afe3edbc1373356eccc580f1cb7aa42775ae8c3bbb19a403e047fefd67 Stored in directory: /tmp/pip-ephem-wheel-cache-6_csf9gk/wheels/a0/0b/ee/e6994fadb42c1354dcccb139b0bf2795271bddfe6253ccdf11 Successfully built pygments-github-lexers future Installing collected packages: appdirs, toml, semantic-version, PyYAML, pygments-github-lexers, numpy, networkx, latexcodec, future, docutils, cachetools, autoray, Sphinx, scipy, rustworkx, pybtex, autograd, sphinx-gallery, sphinx-automodapi, pybtex-docutils, xanadu-sphinx-theme, sphinxcontrib-bibtex, pennylane-sphinx-theme, pennylane-lightning, pennylane Attempting uninstall: numpy Found existing installation: numpy 1.24.3 Not uninstalling numpy at /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages, outside environment /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest Can't uninstall 'numpy'. No files were found to uninstall. Attempting uninstall: docutils Found existing installation: docutils 0.18.1 Uninstalling docutils-0.18.1: Successfully uninstalled docutils-0.18.1 Attempting uninstall: Sphinx Found existing installation: Sphinx 6.2.1 Uninstalling Sphinx-6.2.1: Successfully uninstalled Sphinx-6.2.1 Successfully installed PyYAML-6.0 Sphinx-5.3.0 appdirs-1.4.4 autograd-1.5 autoray-0.6.3 cachetools-5.3.1 docutils-0.16 future-0.18.3 latexcodec-2.0.1 networkx-3.1 numpy-1.23.5 pennylane-0.31.0 pennylane-lightning-0.31.0 pennylane-sphinx-theme-0.3.8 pybtex-0.24.0 pybtex-docutils-1.0.2 pygments-github-lexers-0.0.5 rustworkx-0.13.0 scipy-1.10.0 semantic-version-2.10.0 sphinx-automodapi-0.15.0 sphinx-gallery-0.13.0 sphinxcontrib-bibtex-2.5.0 toml-0.10.2 xanadu-sphinx-theme-0.3.7 [rtd-command-info] start-time: 2023-06-26T20:05:37.248990Z, end-time: 2023-06-26T20:05:42.597624Z, duration: 5, 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 (from PennyLane-qsharp==0.19.0) Downloading qsharp-0.28.277227-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.31.0) Requirement already satisfied: numpy<1.24 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.23.5) Requirement already satisfied: scipy<=1.10 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.10.0) Requirement already satisfied: networkx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (3.1) Requirement already satisfied: rustworkx 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.13.0) Requirement already satisfied: autograd<=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.5) Requirement already satisfied: 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: 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: autoray>=0.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.6.3) Requirement already satisfied: cachetools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (5.3.1) Requirement already satisfied: pennylane-lightning>=0.31 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.31.0) Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (2.31.0) Collecting qsharp-core==0.28.277227 (from qsharp->PennyLane-qsharp==0.19.0) Downloading qsharp_core-0.28.277227-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 7.5 MB/s eta 0:00:00 Collecting qsharp-chemistry==0.28.277227 (from qsharp->PennyLane-qsharp==0.19.0) Downloading qsharp_chemistry-0.28.277227-py3-none-any.whl (5.6 kB) Collecting jupyter-client>=7.3.4 (from qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) Downloading jupyter_client-8.3.0-py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 16.0 MB/s eta 0:00:00 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<=1.5->pennylane>=0.11->PennyLane-qsharp==0.19.0) (0.18.3) Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (2.0.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from requests->pennylane>=0.11->PennyLane-qsharp==0.19.0) (2023.5.7) Requirement already satisfied: importlib-metadata>=4.8.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) (6.7.0) Collecting jupyter-core!=5.0.*,>=4.12 (from jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) Downloading jupyter_core-5.3.1-py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.7/93.7 kB 201.4 MB/s eta 0:00:00 Requirement already satisfied: python-dateutil>=2.8.2 in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) (2.8.2) Collecting pyzmq>=23.0 (from jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) Downloading pyzmq-25.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 75.6 MB/s eta 0:00:00 Collecting tornado>=6.2 (from jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) Downloading tornado-6.3.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (426 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 426.9/426.9 kB 253.8 MB/s eta 0:00:00 Collecting traitlets>=5.3 (from jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) Downloading traitlets-5.9.0-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.4/117.4 kB 213.3 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>=4.8.3->jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) (3.15.0) Collecting platformdirs>=2.5 (from jupyter-core!=5.0.*,>=4.12->jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) Downloading platformdirs-3.8.0-py3-none-any.whl (16 kB) Requirement already satisfied: six>=1.5 in /home/docs/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from python-dateutil>=2.8.2->jupyter-client>=7.3.4->qsharp-core==0.28.277227->qsharp->PennyLane-qsharp==0.19.0) (1.16.0) 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=13378 sha256=36c14ad119f152ebc5345e2bdf1c597e6d24a4d7725fbe160b86dae000b4c8dc Stored in directory: /tmp/pip-ephem-wheel-cache-isp0lj88/wheels/8f/e5/45/6014987f2a5fe5a3675488a0b99e5d43422524c37283e96b1e Successfully built PennyLane-qsharp Installing collected packages: traitlets, tornado, pyzmq, platformdirs, jupyter-core, jupyter-client, qsharp-core, qsharp-chemistry, qsharp, PennyLane-qsharp Successfully installed PennyLane-qsharp-0.19.0 jupyter-client-8.3.0 jupyter-core-5.3.1 platformdirs-3.8.0 pyzmq-25.1.0 qsharp-0.28.277227 qsharp-chemistry-0.28.277227 qsharp-core-0.28.277227 tornado-6.3.2 traitlets-5.9.0 [rtd-command-info] start-time: 2023-06-26T20:05:44.473964Z, end-time: 2023-06-26T20:05:44.549354Z, 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 = "2023, 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": "G-C480Z9JL0D" } edit_on_github_project = 'PennyLaneAI/PennyLane-qsharp' edit_on_github_branch = 'master/doc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). # # 'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). # # 'pointsize': '10pt', # Additional stuff for the LaTeX preamble. # # 'preamble': '', # Latex figure (float) alignment # # 'figure_align': 'htbp', } latex_additional_files = ['macros.tex'] # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'PennyLane-qsharp.tex', 'PennyLane-Q# Documentation', 'Xanadu Inc.', 'manual'), ] # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ (master_doc, 'pennylane-qsharp', 'PennyLane-Q# Documentation', [author], 1) ] # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ (master_doc, 'PennyLane-Q#', 'PennyLane-Q# Documentation', author, 'PennyLane-Q#', 'Q# plugin for the PennyLane quantum machine learning library.', 'Miscellaneous'), ] #============================================================ # the order in which autodoc lists the documented members autodoc_member_order = 'bysource' # inheritance_diagram graphviz attributes inheritance_node_attrs = dict(color='lightskyblue1', style='filled') #autodoc_default_flags = ['members'] autosummary_generate = True ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} # This following legacy behavior will gradually be sliced out until its deprecated and removed. # Skipped for Sphinx 6+ # Skipped by internal Feature flag SKIP_SPHINX_HTML_THEME_PATH # Skipped by all new projects since SKIP_SPHINX_HTML_THEME_PATH's introduction (jan 2023) if ( using_rtd_theme and version_info < (6,0) and not False ): theme = importlib.import_module('sphinx_rtd_theme') if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] # Define websupport2_base_url and websupport2_static_url if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'proxied_static_path': "/_/static/", 'versions': [ ("latest", "/en/latest/"), ("stable", "/en/stable/"), ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'xanaduai-pennylane-qsharp', 'name': u'PennyLane-qsharp', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': '', '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': '7ba567a9', } # 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(): for key in context: if key not in html_context: html_context[key] = context[key] 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/1562302/' project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2023-06-26T20:05:44.945793Z, end-time: 2023-06-26T20:05:56.761665Z, duration: 11, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html Running Sphinx v5.3.0 making output directory... done [autosummary] generating autosummary for: code.rst, devices/quantum_simulator.rst, index.rst, installation.rst, support.rst [automodsumm] code.rst: found 4 automodsumm entries to generate building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] code reading sources... [ 22%] code/api/pennylane_qsharp.CCNOT reading sources... [ 33%] code/api/pennylane_qsharp.QuantumSimulatorDevice reading sources... [ 44%] code/api/pennylane_qsharp.S reading sources... [ 55%] code/api/pennylane_qsharp.T reading sources... [ 66%] devices/quantum_simulator reading sources... [ 77%] index reading sources... [ 88%] installation reading sources... [100%] support looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 11%] code writing output... [ 22%] code/api/pennylane_qsharp.CCNOT writing output... [ 33%] code/api/pennylane_qsharp.QuantumSimulatorDevice writing output... [ 44%] code/api/pennylane_qsharp.S writing output... [ 55%] code/api/pennylane_qsharp.T writing output... [ 66%] devices/quantum_simulator writing output... [ 77%] index writing output... [ 88%] installation writing output... [100%] support generating indices... genindex py-modindex done highlighting module code... [ 50%] pennylane_qsharp.ops highlighting module code... [100%] pennylane_qsharp.quantum_simulator writing additional pages... search done copying images... [100%] _static/puzzle_qsharp.png copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done Updating searchtools for Read the Docs search... build succeeded. The HTML pages are in ../_readthedocs/html.