Read the Docs build information Build id: 1144763 Project: xanaduai-pennylane-forest Version: latest Commit: 14709333ed6bb4fa134340f524d89aea44f3cb56 Date: 2022-10-19T13:36:30.303401Z State: finished Success: True [rtd-command-info] start-time: 2022-10-19T13:36:35.572995Z, end-time: 2022-10-19T13:36:40.755248Z, duration: 5, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/PennyLaneAI/pennylane-forest.git . Cloning into '.'... [rtd-command-info] start-time: 2022-10-19T13:36:41.084405Z, end-time: 2022-10-19T13:36:41.187471Z, 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 1470933 update sphinx theme [rtd-command-info] start-time: 2022-10-19T13:36:41.452900Z, end-time: 2022-10-19T13:36:41.541898Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-10-19T13:36:43.817123Z, end-time: 2022-10-19T13:36:57.927134Z, duration: 14, exit-code: 0 python3.7 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.7.9' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin/python3.7 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2022-10-19T13:36:58.193381Z, end-time: 2022-10-19T13:37:00.036419Z, 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-forest/envs/latest/lib/python3.7/site-packages (22.3) Collecting setuptools<58.3.0 Downloading setuptools-58.2.0-py3-none-any.whl (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.1/946.1 kB 32.9 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 65.5.0 Uninstalling setuptools-65.5.0: Successfully uninstalled setuptools-65.5.0 Successfully installed setuptools-58.2.0 [rtd-command-info] start-time: 2022-10-19T13:37:00.382924Z, end-time: 2022-10-19T13:37:08.195905Z, duration: 7, exit-code: 0 python -m pip install --upgrade --no-cache-dir 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 Collecting pillow Downloading Pillow-9.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 58.6 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 254.5 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 179.4 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.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 200.2 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 190.3 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 docutils>=0.11 Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 256.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 203.0 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 256.8 MB/s eta 0:00:00 Collecting imagesize>=1.3 Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.2/121.2 kB 226.0 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 218.3 MB/s eta 0:00:00 Collecting requests>=2.5.0 Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 194.4 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 223.5 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 197.6 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 182.5 MB/s eta 0:00:00 Collecting snowballstemmer>=2.0 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 212.4 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 212.5 MB/s eta 0:00:00 Collecting importlib-metadata>=4.8 Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB) Collecting packaging>=21.0 Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 174.8 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 261.3 MB/s eta 0:00:00 Collecting pytz>=2015.7 Downloading pytz-2022.5-py2.py3-none-any.whl (500 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 500.7/500.7 kB 263.0 MB/s eta 0:00:00 Collecting typing-extensions>=3.6.4 Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting zipp>=0.5 Downloading zipp-3.9.0-py3-none-any.whl (5.8 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp37-cp37m-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 204.0 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 218.4 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 197.8 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 245.8 MB/s eta 0:00:00 Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23773 sha256=1bc3bd2541d0e9e511e66678f213cd1ff4a0644881439aff8fced66c350312c6 Stored in directory: /tmp/pip-ephem-wheel-cache-3wtv6511/wheels/d1/33/8e/f9d24f00cc130866aacfe7c3bc15571217e2b22cc4c4e1b443 Successfully built mock Installing collected packages: snowballstemmer, pytz, mock, commonmark, alabaster, zipp, urllib3, typing-extensions, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, 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-5.0.0 mock-1.0.1 packaging-21.3 pillow-9.2.0 pyparsing-3.0.9 pytz-2022.5 readthedocs-sphinx-ext-2.1.9 recommonmark-0.5.0 requests-2.28.1 snowballstemmer-2.2.0 sphinx-5.3.0 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 typing-extensions-4.4.0 urllib3-1.26.12 zipp-3.9.0 [rtd-command-info] start-time: 2022-10-19T13:37:08.377343Z, end-time: 2022-10-19T13:37:37.065161Z, duration: 28, 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 15.8 MB/s eta 0:00:00 Collecting pennylane Downloading PennyLane-0.26.0-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 107.8 MB/s eta 0:00:00 Collecting pyquil<2.28.3,>=2.16 Downloading pyquil-2.28.2.tar.gz (200 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.4/200.4 kB 236.1 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting sphinx-automodapi Downloading sphinx_automodapi-0.14.1-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.0/77.0 kB 195.9 MB/s eta 0:00:00 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-sphinx-theme Downloading pennylane_sphinx_theme-0.3.3-py3-none-any.whl (43 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 kB 157.1 MB/s eta 0:00:00 Collecting cachetools Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting toml Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting networkx Downloading networkx-2.6.3-py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 225.8 MB/s eta 0:00:00 Collecting autoray>=0.3.1 Downloading autoray-0.5.0-py3-none-any.whl (37 kB) Collecting retworkx Downloading retworkx-0.12.0-py3-none-any.whl (10 kB) Collecting pennylane-lightning>=0.26 Downloading PennyLane_Lightning-0.26.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.7/13.7 MB 169.5 MB/s eta 0:00:00 Collecting autograd Downloading autograd-1.5-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 192.6 MB/s eta 0:00:00 Collecting scipy Downloading scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.1/38.1 MB 192.1 MB/s eta 0:00:00 Collecting semantic-version>=2.7 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting appdirs Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting numpy Downloading numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 181.0 MB/s eta 0:00:00 Collecting immutables==0.6 Downloading immutables-0.6.tar.gz (31 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from pyquil<2.28.3,>=2.16->-r doc/requirements.txt (line 3)) (2.28.1) Collecting rpcq>=3.6.0 Downloading rpcq-3.10.0.tar.gz (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.7/44.7 kB 159.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting lark Downloading lark-1.1.3-py3-none-any.whl (107 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.5/107.5 kB 214.7 MB/s eta 0:00:00 Requirement already satisfied: sphinx>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx-automodapi->-r doc/requirements.txt (line 4)) (5.3.0) Requirement already satisfied: pygments>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from pygments-github-lexers->-r doc/requirements.txt (line 5)) (2.13.0) Requirement already satisfied: pillow in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from pennylane-sphinx-theme->-r doc/requirements.txt (line 7)) (9.2.0) Collecting xanadu-sphinx-theme~=0.3.0 Downloading xanadu_sphinx_theme-0.3.2-py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.9/46.9 kB 168.2 MB/s eta 0:00:00 Collecting sphinx-gallery Downloading sphinx_gallery-0.11.1-py3-none-any.whl (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.0/138.0 kB 231.2 MB/s eta 0:00:00 Collecting ninja Downloading ninja-1.10.2.4-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.7/120.7 kB 224.7 MB/s eta 0:00:00 Collecting msgpack<1.0,>=0.6 Downloading msgpack-0.6.2-cp37-cp37m-manylinux1_x86_64.whl (243 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 243.4/243.4 kB 239.7 MB/s eta 0:00:00 Collecting python-rapidjson Downloading python_rapidjson-1.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 223.7 MB/s eta 0:00:00 Collecting pyzmq>=17 Downloading pyzmq-24.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 241.7 MB/s eta 0:00:00 Collecting ruamel.yaml Downloading ruamel.yaml-0.17.21-py3-none-any.whl (109 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.5/109.5 kB 219.1 MB/s eta 0:00:00 Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (1.0.2) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (1.0.3) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (1.0.2) Requirement already satisfied: packaging>=21.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (21.3) Requirement already satisfied: importlib-metadata>=4.8 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (5.0.0) Requirement already satisfied: Jinja2>=3.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (3.1.2) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (1.1.5) Requirement already satisfied: snowballstemmer>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (2.2.0) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (1.0.1) Requirement already satisfied: imagesize>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (1.4.1) Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (2.0.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (0.7.12) Requirement already satisfied: babel>=2.9 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (2.10.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from requests->pyquil<2.28.3,>=2.16->-r doc/requirements.txt (line 3)) (2022.9.24) Requirement already satisfied: charset-normalizer<3,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from requests->pyquil<2.28.3,>=2.16->-r doc/requirements.txt (line 3)) (2.1.1) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from requests->pyquil<2.28.3,>=2.16->-r doc/requirements.txt (line 3)) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from requests->pyquil<2.28.3,>=2.16->-r doc/requirements.txt (line 3)) (1.26.12) Collecting importlib-resources Downloading importlib_resources-5.10.0-py3-none-any.whl (34 kB) Collecting future>=0.15.2 Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 255.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting rustworkx==0.12.0 Downloading rustworkx-0.12.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 258.9 MB/s eta 0:00:00 Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from babel>=2.9->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (2022.5) Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from importlib-metadata>=4.8->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (3.9.0) Requirement already satisfied: typing-extensions>=3.6.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from importlib-metadata>=4.8->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (4.4.0) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from Jinja2>=3.0->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (2.1.1) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages (from packaging>=21.0->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 4)) (3.0.9) Collecting ruamel.yaml.clib>=0.2.6 Downloading ruamel.yaml.clib-0.2.6-cp37-cp37m-manylinux1_x86_64.whl (546 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 546.8/546.8 kB 242.8 MB/s eta 0:00:00 Building wheels for collected packages: pyquil, immutables, pygments-github-lexers, rpcq, future Building wheel for pyquil (pyproject.toml): started Building wheel for pyquil (pyproject.toml): finished with status 'done' Created wheel for pyquil: filename=pyquil-2.28.2-py3-none-any.whl size=239570 sha256=2bda87a882df71d639e3a67983fb37e707d77e24204ac5d35c3f7182229d9f05 Stored in directory: /tmp/pip-ephem-wheel-cache-jrubizjg/wheels/c2/51/a8/62f9f801bc830c5bbd281afdb9b2cfc87b07cc84ded82b0a43 Building wheel for immutables (setup.py): started Building wheel for immutables (setup.py): finished with status 'done' Created wheel for immutables: filename=immutables-0.6-cp37-cp37m-linux_x86_64.whl size=77098 sha256=e5257558fdf758c9663ac2601bb0341a7fa559bff908e00a6476616fb4b432f9 Stored in directory: /tmp/pip-ephem-wheel-cache-jrubizjg/wheels/17/2f/80/1d66f65b94a6f35420e9f1dd44b60fff67f061bcae97e85e72 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=47b38f5582fb2d5448ab2d1ebf2b239faa9a0248cbd2533a0bc470994a9f1991 Stored in directory: /tmp/pip-ephem-wheel-cache-jrubizjg/wheels/79/73/8b/843f3646d8907ec08a8833dd1e0fcf1e23811be951a5b388c3 Building wheel for rpcq (setup.py): started Building wheel for rpcq (setup.py): finished with status 'done' Created wheel for rpcq: filename=rpcq-3.10.0-py3-none-any.whl size=45969 sha256=5e132ae1ff33abfee212aa2fe22e837cda73822c5c1d2e81150846ced69bc8d3 Stored in directory: /tmp/pip-ephem-wheel-cache-jrubizjg/wheels/86/e8/eb/651541fbaf01220d3078e4563d7bf2a86cfe00e7beead0c8e5 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=4dcb823190f88e44da09849b3591e65780145698ce7b0a2c81210722dbda34a3 Stored in directory: /tmp/pip-ephem-wheel-cache-jrubizjg/wheels/3e/3c/b4/7132d27620dd551cf00823f798a7190e7320ae7ffb71d1e989 Successfully built pyquil immutables pygments-github-lexers rpcq future Installing collected packages: ninja, msgpack, lark, immutables, appdirs, toml, semantic-version, ruamel.yaml.clib, pyzmq, python-rapidjson, pygments-github-lexers, numpy, networkx, importlib-resources, future, docutils, cachetools, scipy, rustworkx, ruamel.yaml, autoray, autograd, sphinx-gallery, sphinx-automodapi, rpcq, retworkx, xanadu-sphinx-theme, pyquil, 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 appdirs-1.4.4 autograd-1.5 autoray-0.5.0 cachetools-5.2.0 docutils-0.16 future-0.18.2 immutables-0.6 importlib-resources-5.10.0 lark-1.1.3 msgpack-0.6.2 networkx-2.6.3 ninja-1.10.2.4 numpy-1.21.6 pennylane-0.26.0 pennylane-lightning-0.26.1 pennylane-sphinx-theme-0.3.3 pygments-github-lexers-0.0.5 pyquil-2.28.2 python-rapidjson-1.9 pyzmq-24.0.1 retworkx-0.12.0 rpcq-3.10.0 ruamel.yaml-0.17.21 ruamel.yaml.clib-0.2.6 rustworkx-0.12.0 scipy-1.7.3 semantic-version-2.10.0 sphinx-automodapi-0.14.1 sphinx-gallery-0.11.1 toml-0.10.2 xanadu-sphinx-theme-0.3.2 [rtd-command-info] start-time: 2022-10-19T13:37:37.299223Z, end-time: 2022-10-19T13:37:37.980575Z, duration: 0, exit-code: 0 python /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/checkouts/latest/setup.py install --force running install running bdist_egg running egg_info creating PennyLane_Forest.egg-info writing PennyLane_Forest.egg-info/PKG-INFO writing dependency_links to PennyLane_Forest.egg-info/dependency_links.txt writing entry points to PennyLane_Forest.egg-info/entry_points.txt writing requirements to PennyLane_Forest.egg-info/requires.txt writing top-level names to PennyLane_Forest.egg-info/top_level.txt writing manifest file 'PennyLane_Forest.egg-info/SOURCES.txt' reading manifest file 'PennyLane_Forest.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'PennyLane_Forest.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/pennylane_forest copying pennylane_forest/numpy_wavefunction.py -> build/lib/pennylane_forest copying pennylane_forest/qvm.py -> build/lib/pennylane_forest copying pennylane_forest/qpu.py -> build/lib/pennylane_forest copying pennylane_forest/_version.py -> build/lib/pennylane_forest copying pennylane_forest/__init__.py -> build/lib/pennylane_forest copying pennylane_forest/ops.py -> build/lib/pennylane_forest copying pennylane_forest/device.py -> build/lib/pennylane_forest copying pennylane_forest/wavefunction.py -> build/lib/pennylane_forest copying pennylane_forest/converter.py -> build/lib/pennylane_forest creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/numpy_wavefunction.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/qvm.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/qpu.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/_version.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/__init__.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/ops.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/device.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/wavefunction.py -> build/bdist.linux-x86_64/egg/pennylane_forest copying build/lib/pennylane_forest/converter.py -> build/bdist.linux-x86_64/egg/pennylane_forest byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/numpy_wavefunction.py to numpy_wavefunction.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/qvm.py to qvm.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/qpu.py to qpu.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/_version.py to _version.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/__init__.py to __init__.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/ops.py to ops.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/device.py to device.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/wavefunction.py to wavefunction.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_forest/converter.py to converter.cpython-37.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_Forest.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_Forest.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_Forest.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_Forest.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_Forest.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_Forest.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages/setuptools/dist.py:487: UserWarning: Normalizing '0.25.0-dev' to '0.25.0.dev0' warnings.warn(tmpl.format(**locals())) zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/PennyLane_Forest-0.25.0.dev0-py3.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing PennyLane_Forest-0.25.0.dev0-py3.7.egg Copying PennyLane_Forest-0.25.0.dev0-py3.7.egg to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Adding PennyLane-Forest 0.25.0.dev0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages/PennyLane_Forest-0.25.0.dev0-py3.7.egg Processing dependencies for PennyLane-Forest==0.25.0.dev0 Searching for PennyLane==0.26.0 Best match: PennyLane 0.26.0 Adding PennyLane 0.26.0 to easy-install.pth file Installing pl-device-test script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for pyquil==2.28.2 Best match: pyquil 2.28.2 Adding pyquil 2.28.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for PennyLane-Lightning==0.26.1 Best match: PennyLane-Lightning 0.26.1 Adding PennyLane-Lightning 0.26.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for networkx==2.6.3 Best match: networkx 2.6.3 Adding networkx 2.6.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for autograd==1.5 Best match: autograd 1.5 Adding autograd 1.5 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for cachetools==5.2.0 Best match: cachetools 5.2.0 Adding cachetools 5.2.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for autoray==0.5.0 Best match: autoray 0.5.0 Adding autoray 0.5.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for appdirs==1.4.4 Best match: appdirs 1.4.4 Adding appdirs 1.4.4 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for toml==0.10.2 Best match: toml 0.10.2 Adding toml 0.10.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for retworkx==0.12.0 Best match: retworkx 0.12.0 Adding retworkx 0.12.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for numpy==1.21.6 Best match: numpy 1.21.6 Adding numpy 1.21.6 to easy-install.pth file Installing f2py script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Installing f2py3 script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Installing f2py3.7 script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for semantic-version==2.10.0 Best match: semantic-version 2.10.0 Adding semantic-version 2.10.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for scipy==1.7.3 Best match: scipy 1.7.3 Adding scipy 1.7.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for rpcq==3.10.0 Best match: rpcq 3.10.0 Adding rpcq 3.10.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for lark==1.1.3 Best match: lark 1.1.3 Adding lark 1.1.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for requests==2.28.1 Best match: requests 2.28.1 Adding requests 2.28.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for immutables==0.6 Best match: immutables 0.6 Adding immutables 0.6 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for ninja==1.10.2.4 Best match: ninja 1.10.2.4 Adding ninja 1.10.2.4 to easy-install.pth file Installing ninja script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for future==0.18.2 Best match: future 0.18.2 Adding future 0.18.2 to easy-install.pth file Installing futurize script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Installing pasteurize script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for rustworkx==0.12.0 Best match: rustworkx 0.12.0 Adding rustworkx 0.12.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for msgpack==0.6.2 Best match: msgpack 0.6.2 Adding msgpack 0.6.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for python-rapidjson==1.9 Best match: python-rapidjson 1.9 Adding python-rapidjson 1.9 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for ruamel.yaml==0.17.21 Best match: ruamel.yaml 0.17.21 Adding ruamel.yaml 0.17.21 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for pyzmq==24.0.1 Best match: pyzmq 24.0.1 Adding pyzmq 24.0.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for idna==3.4 Best match: idna 3.4 Adding idna 3.4 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for urllib3==1.26.12 Best match: urllib3 1.26.12 Adding urllib3 1.26.12 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for charset-normalizer==2.1.1 Best match: charset-normalizer 2.1.1 Adding charset-normalizer 2.1.1 to easy-install.pth file Installing normalizer script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for certifi==2022.9.24 Best match: certifi 2022.9.24 Adding certifi 2022.9.24 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Searching for ruamel.yaml.clib==0.2.6 Best match: ruamel.yaml.clib 0.2.6 Adding ruamel.yaml.clib 0.2.6 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/envs/latest/lib/python3.7/site-packages Finished processing dependencies for PennyLane-Forest==0.25.0.dev0 [rtd-command-info] start-time: 2022-10-19T13:37:39.873525Z, end-time: 2022-10-19T13:37:39.935737Z, duration: 0, exit-code: 0 cat doc/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # PennyLane-Forest documentation build configuration file, created by # sphinx-quickstart on Tue Apr 17 11:43:51 2018. # # 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 # 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')) # -- 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-Forest" copyright = "2022" 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_forest # The full version, including alpha/beta/rc tags. release = pennylane_forest.__version__ # The short X.Y version. version = re.match(r"^(\d+\.\d+)", release).expand(r"\1") # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # today_fmt is used as the format for a strftime call. today_fmt = "%Y-%m-%d" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. show_authors = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx" # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. #html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. # html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". # html_title = None # A shorter title for the navigation bar. Default is the same as html_title. # html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. # html_logo = None # The name of an image file (relative to this directory) to use as a favicon of # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. html_favicon = '_static/favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. # html_extra_path = [] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. # html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # html_use_smartypants = True # Custom sidebar templates, must be a dictionary that maps document names # to template names. # # This is required for the alabaster theme # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars # html_sidebars = { # '**': [ # 'about.html', # 'navigation.html', # 'relations.html', # needs 'show_related': True theme option to display # 'searchbox.html', # 'donate.html', # ] # } # 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-Forestdoc" # # -- 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-Forest", "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-forest' 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-Forest.tex", "PennyLane-Forest 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-Forest", "PennyLane-Forest 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-Forest", "PennyLane-Forest Documentation", author, "PennyLane-Forest", "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': [ ("html", "//docs.pennylane.ai/_/downloads/forest/en/latest/htmlzip/"), ], 'subprojects': [ ], 'slug': 'xanaduai-pennylane-forest', 'name': u'pennylane-forest', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://docs.pennylane.ai/projects/forest/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-forest', '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': '14709333', } # 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-forest/builds/1144763/' 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-10-19T13:37:40.162094Z, end-time: 2022-10-19T13:37:55.902717Z, duration: 15, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html Running Sphinx v5.3.0 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). making output directory... done [autosummary] generating autosummary for: code.rst, devices/numpy_wavefunction.rst, devices/qpu.rst, devices/qvm.rst, devices/wavefunction.rst, index.rst, installation.rst, support.rst [automodsumm] code.rst: found 9 automodsumm entries to generate building [mo]: targets for 0 po files that are out of date building [html]: targets for 8 source files that are out of date updating environment: [new config] 17 added, 0 changed, 0 removed reading sources... [ 5%] code reading sources... [ 11%] code/api/pennylane_forest.CPHASE reading sources... [ 17%] code/api/pennylane_forest.ISWAP reading sources... [ 23%] code/api/pennylane_forest.NumpyWavefunctionDevice reading sources... [ 29%] code/api/pennylane_forest.PSWAP reading sources... [ 35%] code/api/pennylane_forest.QVMDevice reading sources... [ 41%] code/api/pennylane_forest.WavefunctionDevice reading sources... [ 47%] code/api/pennylane_forest.load_program reading sources... [ 52%] code/api/pennylane_forest.load_quil reading sources... [ 58%] code/api/pennylane_forest.load_quil_from_file reading sources... [ 64%] devices/numpy_wavefunction reading sources... [ 70%] devices/qpu reading sources... [ 76%] devices/qvm reading sources... [ 82%] devices/wavefunction reading sources... [ 88%] index reading sources... [ 94%] installation reading sources... [100%] support /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/checkouts/latest/doc/index.rst:47: ERROR: Error in "title-card" directive: unknown option: "figure". .. title-card:: :name: Ensemble classification with Forest and Qiskit devices :figure: :link: https://pennylane.ai/qml/demos/ensemble_multi_qpu.html /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/checkouts/latest/doc/index.rst:52: ERROR: Error in "title-card" directive: unknown option: "figure". .. title-card:: :name: PyTorch and noisy devices :figure: :link: https://pennylane.ai/qml/demos/pytorch_noise.html looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 5%] code writing output... [ 11%] code/api/pennylane_forest.CPHASE writing output... [ 17%] code/api/pennylane_forest.ISWAP writing output... [ 23%] code/api/pennylane_forest.NumpyWavefunctionDevice writing output... [ 29%] code/api/pennylane_forest.PSWAP writing output... [ 35%] code/api/pennylane_forest.QVMDevice writing output... [ 41%] code/api/pennylane_forest.WavefunctionDevice writing output... [ 47%] code/api/pennylane_forest.load_program writing output... [ 52%] code/api/pennylane_forest.load_quil writing output... [ 58%] code/api/pennylane_forest.load_quil_from_file writing output... [ 64%] devices/numpy_wavefunction writing output... [ 70%] devices/qpu writing output... [ 76%] devices/qvm writing output... [ 82%] devices/wavefunction writing output... [ 88%] index writing output... [ 94%] installation writing output... [100%] support generating indices... genindex py-modindex done highlighting module code... [ 20%] pennylane_forest.converter highlighting module code... [ 40%] pennylane_forest.numpy_wavefunction highlighting module code... [ 60%] pennylane_forest.ops highlighting module code... [ 80%] pennylane_forest.qvm highlighting module code... [100%] pennylane_forest.wavefunction writing additional pages... search done 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, 3 warnings. The HTML pages are in _build/html. [rtd-command-info] start-time: 2022-10-19T13:37:56.298876Z, end-time: 2022-10-19T13:38:05.145460Z, duration: 8, exit-code: 0 python -m sphinx -T -E -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=en . _build/localmedia Running Sphinx v5.3.0 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). making output directory... done [autosummary] generating autosummary for: code.rst, code/api/pennylane_forest.CPHASE.rst, code/api/pennylane_forest.ISWAP.rst, code/api/pennylane_forest.NumpyWavefunctionDevice.rst, code/api/pennylane_forest.PSWAP.rst, code/api/pennylane_forest.QVMDevice.rst, code/api/pennylane_forest.WavefunctionDevice.rst, code/api/pennylane_forest.load_program.rst, code/api/pennylane_forest.load_quil.rst, code/api/pennylane_forest.load_quil_from_file.rst, devices/numpy_wavefunction.rst, devices/qpu.rst, devices/qvm.rst, devices/wavefunction.rst, index.rst, installation.rst, support.rst [automodsumm] code.rst: found 9 automodsumm entries to generate building [mo]: targets for 0 po files that are out of date building [readthedocssinglehtmllocalmedia]: all documents updating environment: [new config] 17 added, 0 changed, 0 removed reading sources... [ 5%] code reading sources... [ 11%] code/api/pennylane_forest.CPHASE reading sources... [ 17%] code/api/pennylane_forest.ISWAP reading sources... [ 23%] code/api/pennylane_forest.NumpyWavefunctionDevice reading sources... [ 29%] code/api/pennylane_forest.PSWAP reading sources... [ 35%] code/api/pennylane_forest.QVMDevice reading sources... [ 41%] code/api/pennylane_forest.WavefunctionDevice reading sources... [ 47%] code/api/pennylane_forest.load_program reading sources... [ 52%] code/api/pennylane_forest.load_quil reading sources... [ 58%] code/api/pennylane_forest.load_quil_from_file reading sources... [ 64%] devices/numpy_wavefunction reading sources... [ 70%] devices/qpu reading sources... [ 76%] devices/qvm reading sources... [ 82%] devices/wavefunction reading sources... [ 88%] index reading sources... [ 94%] installation reading sources... [100%] support /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/checkouts/latest/doc/index.rst:47: ERROR: Error in "title-card" directive: unknown option: "figure". .. title-card:: :name: Ensemble classification with Forest and Qiskit devices :figure: :link: https://pennylane.ai/qml/demos/ensemble_multi_qpu.html /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-forest/checkouts/latest/doc/index.rst:52: ERROR: Error in "title-card" directive: unknown option: "figure". .. title-card:: :name: PyTorch and noisy devices :figure: :link: https://pennylane.ai/qml/demos/pytorch_noise.html looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done assembling single document... installation support devices/numpy_wavefunction devices/wavefunction devices/qvm code code/api/pennylane_forest.load_program code/api/pennylane_forest.load_quil code/api/pennylane_forest.load_quil_from_file code/api/pennylane_forest.CPHASE code/api/pennylane_forest.ISWAP code/api/pennylane_forest.NumpyWavefunctionDevice code/api/pennylane_forest.PSWAP code/api/pennylane_forest.QVMDevice code/api/pennylane_forest.WavefunctionDevice done writing... done writing additional files... done copying static files... done copying extra files... done dumping object inventory... done Updating searchtools for Read the Docs search... build succeeded, 3 warnings. The HTML page is in _build/localmedia.