Read the Docs build information Build id: 2627314 Project: xanaduai-pennylane-qsharp Version: latest Commit: 1371b3f9f10c4210b2b8c3563d27bf27482b59b8 Date: 2024-11-19T19:52:06.409731Z State: finished Success: False [rtd-command-info] start-time: 2024-11-19T19:52:07.669466Z, end-time: 2024-11-19T19:52:08.271498Z, duration: 0, exit-code: 0 git clone --depth 1 https://github.com/PennyLaneAI/PennyLane-qsharp.git . Cloning into '.'... [rtd-command-info] start-time: 2024-11-19T19:52:08.353866Z, end-time: 2024-11-19T19:52:09.222720Z, duration: 0, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 refs/heads/master:refs/remotes/origin/master From https://github.com/PennyLaneAI/PennyLane-qsharp * [new tag] v0.19.0 -> v0.19.0 * [new tag] v0.8.0 -> v0.8.0 [rtd-command-info] start-time: 2024-11-19T19:52:09.357560Z, end-time: 2024-11-19T19:52:09.423160Z, 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 1371b3f Update RTD configuration file (#23) [rtd-command-info] start-time: 2024-11-19T19:52:09.488242Z, end-time: 2024-11-19T19:52:09.544078Z, duration: 0, exit-code: 0 cat .readthedocs.yml version: 2 sphinx: configuration: doc/conf.py python: install: - requirements: doc/requirements.txt - method: pip path: . build: os: ubuntu-22.04 tools: python: "3.8" apt_packages: - graphviz [rtd-command-info] start-time: 2024-11-19T19:52:10.429364Z, end-time: 2024-11-19T19:52:13.233284Z, duration: 2, exit-code: 0 apt-get update --assume-yes --quiet Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [45.2 kB] Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2439 kB] Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3383 kB] Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1223 kB] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2719 kB] Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3298 kB] Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [52.2 kB] Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1512 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB] Fetched 15.2 MB in 2s (8855 kB/s) Reading package lists... [rtd-command-info] start-time: 2024-11-19T19:52:13.311288Z, end-time: 2024-11-19T19:52:16.151180Z, duration: 2, exit-code: 0 apt-get install --assume-yes --quiet -- graphviz Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: fonts-liberation libann0 Suggested packages: graphviz-doc The following NEW packages will be installed: fonts-liberation graphviz libann0 0 upgraded, 3 newly installed, 0 to remove and 176 not upgraded. Need to get 1500 kB of archives. After this operation, 4700 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 fonts-liberation all 1:1.07.4-11 [822 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libann0 amd64 1.1.2+doc-7build1 [26.0 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 graphviz amd64 2.42.2-6ubuntu0.1 [653 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1500 kB in 1s (2252 kB/s) Selecting previously unselected package fonts-liberation. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 272117 files and directories currently installed.) Preparing to unpack .../fonts-liberation_1%3a1.07.4-11_all.deb ... Unpacking fonts-liberation (1:1.07.4-11) ... Selecting previously unselected package libann0. Preparing to unpack .../libann0_1.1.2+doc-7build1_amd64.deb ... Unpacking libann0 (1.1.2+doc-7build1) ... Selecting previously unselected package graphviz. Preparing to unpack .../graphviz_2.42.2-6ubuntu0.1_amd64.deb ... Unpacking graphviz (2.42.2-6ubuntu0.1) ... Setting up libann0 (1.1.2+doc-7build1) ... Setting up fonts-liberation (1:1.07.4-11) ... Setting up graphviz (2.42.2-6ubuntu0.1) ... Processing triggers for libc-bin (2.35-0ubuntu3.6) ... Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ... [rtd-command-info] start-time: 2024-11-19T19:52:20.422321Z, end-time: 2024-11-19T19:52:20.502224Z, duration: 0, exit-code: 0 asdf global python 3.8.20 [rtd-command-info] start-time: 2024-11-19T19:52:20.922129Z, end-time: 2024-11-19T19:52:22.137808Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.8.20.final.0-64 in 864ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/docs/.local/share/virtualenv) added seed packages: pip==23.1, setuptools==67.6.1, wheel==0.40.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator [rtd-command-info] start-time: 2024-11-19T19:52:22.223088Z, end-time: 2024-11-19T19:52:35.305367Z, duration: 13, 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) Collecting pip Downloading pip-24.3.1-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 10.7 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (67.6.1) Collecting setuptools Downloading setuptools-75.3.0-py3-none-any.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 26.5 MB/s eta 0:00:00 Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 67.6.1 Uninstalling setuptools-67.6.1: Successfully uninstalled setuptools-67.6.1 Attempting uninstall: pip Found existing installation: pip 23.1 Uninstalling pip-23.1: Successfully uninstalled pip-23.1 Successfully installed pip-24.3.1 setuptools-75.3.0 [rtd-command-info] start-time: 2024-11-19T19:52:35.382408Z, end-time: 2024-11-19T19:52:41.653445Z, duration: 6, exit-code: 0 python -m pip install --upgrade --no-cache-dir sphinx Collecting sphinx Downloading sphinx-7.1.2-py3-none-any.whl.metadata (5.8 kB) Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl.metadata (2.7 kB) Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl.metadata (1.4 kB) Collecting sphinxcontrib-jsmath (from sphinx) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl.metadata (1.4 kB) Collecting sphinxcontrib-htmlhelp>=2.0.0 (from sphinx) Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl.metadata (2.8 kB) Collecting sphinxcontrib-serializinghtml>=1.1.5 (from sphinx) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl.metadata (1.4 kB) Collecting Jinja2>=3.0 (from sphinx) Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting Pygments>=2.13 (from sphinx) Downloading pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB) Collecting docutils<0.21,>=0.18.1 (from sphinx) Downloading docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB) Collecting snowballstemmer>=2.0 (from sphinx) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl.metadata (6.5 kB) Collecting babel>=2.9 (from sphinx) Downloading babel-2.16.0-py3-none-any.whl.metadata (1.5 kB) Collecting alabaster<0.8,>=0.7 (from sphinx) Downloading alabaster-0.7.13-py3-none-any.whl.metadata (3.0 kB) Collecting imagesize>=1.3 (from sphinx) Downloading imagesize-1.4.1-py2.py3-none-any.whl.metadata (1.5 kB) Collecting requests>=2.25.0 (from sphinx) Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting packaging>=21.0 (from sphinx) Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB) Collecting importlib-metadata>=4.8 (from sphinx) Downloading importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB) Collecting pytz>=2015.7 (from babel>=2.9->sphinx) Downloading pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB) Collecting zipp>=3.20 (from importlib-metadata>=4.8->sphinx) Downloading zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->sphinx) Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.25.0->sphinx) Downloading charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB) Collecting idna<4,>=2.5 (from requests>=2.25.0->sphinx) Downloading idna-3.10-py3-none-any.whl.metadata (10 kB) Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx) Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB) Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx) Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB) Downloading sphinx-7.1.2-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 111.2 MB/s eta 0:00:00 Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Downloading babel-2.16.0-py3-none-any.whl (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 205.1 MB/s eta 0:00:00 Downloading docutils-0.20.1-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 474.4 MB/s eta 0:00:00 Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Downloading importlib_metadata-8.5.0-py3-none-any.whl (26 kB) Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) Downloading packaging-24.2-py3-none-any.whl (65 kB) Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 534.5 MB/s eta 0:00:00 Downloading requests-2.32.3-py3-none-any.whl (64 kB) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) Downloading certifi-2024.8.30-py3-none-any.whl (167 kB) Downloading charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (143 kB) Downloading idna-3.10-py3-none-any.whl (70 kB) Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB) Downloading pytz-2024.2-py2.py3-none-any.whl (508 kB) Downloading urllib3-2.2.3-py3-none-any.whl (126 kB) Downloading zipp-3.20.2-py3-none-any.whl (9.2 kB) Installing collected packages: snowballstemmer, pytz, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, Pygments, packaging, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, alabaster, requests, Jinja2, importlib-metadata, sphinx Successfully installed Jinja2-3.1.4 MarkupSafe-2.1.5 Pygments-2.18.0 alabaster-0.7.13 babel-2.16.0 certifi-2024.8.30 charset-normalizer-3.4.0 docutils-0.20.1 idna-3.10 imagesize-1.4.1 importlib-metadata-8.5.0 packaging-24.2 pytz-2024.2 requests-2.32.3 snowballstemmer-2.2.0 sphinx-7.1.2 sphinxcontrib-applehelp-1.0.4 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.1 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-2.2.3 zipp-3.20.2 [rtd-command-info] start-time: 2024-11-19T19:52:41.736288Z, end-time: 2024-11-19T19:52:55.877160Z, duration: 14, 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.metadata (2.7 kB) Collecting sphinxcontrib-bibtex (from -r doc/requirements.txt (line 2)) Downloading sphinxcontrib_bibtex-2.6.3-py3-none-any.whl.metadata (6.3 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.39.0-py3-none-any.whl.metadata (9.2 kB) Collecting sphinx-automodapi (from -r doc/requirements.txt (line 5)) Downloading sphinx_automodapi-0.18.0-py3-none-any.whl.metadata (2.9 kB) Collecting pennylane-sphinx-theme (from -r doc/requirements.txt (line 6)) Downloading pennylane_sphinx_theme-0.6.0-py3-none-any.whl.metadata (4.1 kB) Requirement already satisfied: Sphinx>=3.5 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)) (7.1.2) Collecting pybtex>=0.24 (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading pybtex-0.24.0-py2.py3-none-any.whl.metadata (2.0 kB) Collecting pybtex-docutils>=1.0.0 (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading pybtex_docutils-1.0.3-py3-none-any.whl.metadata (4.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)) (8.5.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.18.0) Collecting numpy<2.1 (from pennylane->-r doc/requirements.txt (line 4)) Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB) Collecting scipy (from pennylane->-r doc/requirements.txt (line 4)) Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB) Collecting networkx (from pennylane->-r doc/requirements.txt (line 4)) Downloading networkx-3.1-py3-none-any.whl.metadata (5.3 kB) Collecting rustworkx>=0.14.0 (from pennylane->-r doc/requirements.txt (line 4)) Downloading rustworkx-0.15.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.9 kB) Collecting autograd (from pennylane->-r doc/requirements.txt (line 4)) Downloading autograd-1.7.0-py3-none-any.whl.metadata (7.5 kB) Collecting toml (from pennylane->-r doc/requirements.txt (line 4)) Downloading toml-0.10.2-py2.py3-none-any.whl.metadata (7.1 kB) Collecting appdirs (from pennylane->-r doc/requirements.txt (line 4)) Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB) Collecting autoray>=0.6.11 (from pennylane->-r doc/requirements.txt (line 4)) Downloading autoray-0.6.12-py3-none-any.whl.metadata (5.7 kB) Collecting cachetools (from pennylane->-r doc/requirements.txt (line 4)) Downloading cachetools-5.5.0-py3-none-any.whl.metadata (5.3 kB) INFO: pip is looking at multiple versions of pennylane to determine which version is compatible with other requirements. This could take a while. Collecting pennylane (from -r doc/requirements.txt (line 4)) Downloading PennyLane-0.38.0-py3-none-any.whl.metadata (9.3 kB) Downloading PennyLane-0.37.0-py3-none-any.whl.metadata (9.3 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.metadata (9.7 kB) Collecting pennylane-lightning>=0.37 (from pennylane->-r doc/requirements.txt (line 4)) Downloading PennyLane_Lightning-0.37.0-py3-none-any.whl.metadata (23 kB) 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.32.3) Collecting typing-extensions (from pennylane->-r doc/requirements.txt (line 4)) Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Requirement already satisfied: packaging 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)) (24.2) Collecting xanadu-sphinx-theme~=0.5.0 (from pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) Downloading xanadu_sphinx_theme-0.5.0-py3-none-any.whl.metadata (14 kB) Collecting pillow (from pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) Downloading pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (9.2 kB) Collecting sphinx-gallery (from pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) Downloading sphinx_gallery-0.18.0-py3-none-any.whl.metadata (8.9 kB) Requirement already satisfied: zipp>=3.20 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.20.2) Collecting PyYAML>=3.01 (from pybtex>=0.24->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting latexcodec>=1.0.4 (from pybtex>=0.24->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading latexcodec-3.0.0-py3-none-any.whl.metadata (4.9 kB) Collecting six (from pybtex>=0.24->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) 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>=3.5->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>=3.5->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>=3.5->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>=3.5->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>=3.5->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>=3.5->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>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (3.1.4) 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>=3.5 (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) Downloading sphinx-7.1.1-py3-none-any.whl.metadata (5.8 kB) Downloading sphinx-7.1.0-py3-none-any.whl.metadata (5.8 kB) Downloading sphinx-7.0.1-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-7.0.0-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-6.2.1-py3-none-any.whl.metadata (6.2 kB) Downloading sphinx-6.2.0-py3-none-any.whl.metadata (6.2 kB) Downloading sphinx-6.1.3-py3-none-any.whl.metadata (6.1 kB) INFO: pip is still looking at multiple versions of sphinx to determine which version is compatible with other requirements. This could take a while. Downloading sphinx-6.1.2-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-6.1.1-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-6.1.0-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-6.0.1-py3-none-any.whl.metadata (6.2 kB) Downloading sphinx-6.0.0-py3-none-any.whl.metadata (6.2 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. Downloading sphinx-5.3.0-py3-none-any.whl.metadata (6.4 kB) 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>=3.5->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>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.16.0) 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>=3.5->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>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (1.4.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.4.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.10) 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.2.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)) (2024.8.30) Collecting importlib-resources (from xanadu-sphinx-theme~=0.5.0->pennylane-sphinx-theme->-r doc/requirements.txt (line 6)) Downloading importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from babel>=2.9->Sphinx>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2024.2) 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>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.1.5) Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 548.2/548.2 kB 42.6 MB/s eta 0:00:00 Downloading sphinxcontrib_bibtex-2.6.3-py3-none-any.whl (40 kB) Downloading PennyLane-0.37.0-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 21.8 MB/s eta 0:00:00 Downloading sphinx_automodapi-0.18.0-py3-none-any.whl (88 kB) Downloading pennylane_sphinx_theme-0.6.0-py3-none-any.whl (17 kB) Downloading autoray-0.6.12-py3-none-any.whl (50 kB) Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 242.4 MB/s eta 0:00:00 Downloading PennyLane_Lightning-0.37.0-py3-none-any.whl (787 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 787.7/787.7 kB 516.2 MB/s eta 0:00:00 Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 486.2 MB/s eta 0:00:00 Downloading pybtex_docutils-1.0.3-py3-none-any.whl (6.4 kB) Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 269.0 MB/s eta 0:00:00 Downloading xanadu_sphinx_theme-0.5.0-py3-none-any.whl (50 kB) Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Downloading autograd-1.7.0-py3-none-any.whl (52 kB) Downloading cachetools-5.5.0-py3-none-any.whl (9.5 kB) Downloading networkx-3.1-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 321.4 MB/s eta 0:00:00 Downloading pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 246.8 MB/s eta 0:00:00 Downloading rustworkx-0.15.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 342.1 MB/s eta 0:00:00 Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 242.4 MB/s eta 0:00:00 Downloading sphinx_gallery-0.18.0-py3-none-any.whl (448 kB) Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Downloading latexcodec-3.0.0-py3-none-any.whl (18 kB) Downloading PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (746 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 746.5/746.5 kB 488.3 MB/s eta 0:00:00 Downloading importlib_resources-6.4.5-py3-none-any.whl (36 kB) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: pygments-github-lexers Building wheel for pygments-github-lexers (setup.py): started Building wheel for pygments-github-lexers (setup.py): finished with status 'done' Created wheel for pygments-github-lexers: filename=pygments_github_lexers-0.0.5-py3-none-any.whl size=6216 sha256=d83ab00fa75d7a55d4c336e1196b95873b2d98f8ad80a1b768cfd87f667ecc40 Stored in directory: /tmp/pip-ephem-wheel-cache-hn7cp41d/wheels/75/c6/f7/fc341b39d0b970c9c3a2918a97347ea8f992c14a43dd719f4e Successfully built pygments-github-lexers Installing collected packages: appdirs, typing-extensions, toml, six, semantic-version, PyYAML, pygments-github-lexers, pillow, numpy, networkx, latexcodec, importlib-resources, 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: docutils Found existing installation: docutils 0.20.1 Uninstalling docutils-0.20.1: Successfully uninstalled docutils-0.20.1 Attempting uninstall: Sphinx Found existing installation: Sphinx 7.1.2 Uninstalling Sphinx-7.1.2: Successfully uninstalled Sphinx-7.1.2 Successfully installed PyYAML-6.0.2 Sphinx-5.3.0 appdirs-1.4.4 autograd-1.7.0 autoray-0.6.12 cachetools-5.5.0 docutils-0.16 importlib-resources-6.4.5 latexcodec-3.0.0 networkx-3.1 numpy-1.24.4 pennylane-0.37.0 pennylane-lightning-0.37.0 pennylane-sphinx-theme-0.6.0 pillow-10.4.0 pybtex-0.24.0 pybtex-docutils-1.0.3 pygments-github-lexers-0.0.5 rustworkx-0.15.1 scipy-1.10.1 semantic-version-2.10.0 six-1.16.0 sphinx-automodapi-0.18.0 sphinx-gallery-0.18.0 sphinxcontrib-bibtex-2.6.3 toml-0.10.2 typing-extensions-4.12.2 xanadu-sphinx-theme-0.5.0 [rtd-command-info] start-time: 2024-11-19T19:52:55.971458Z, end-time: 2024-11-19T19:52:57.677856Z, duration: 1, exit-code: 0 python -m pip install --upgrade --upgrade-strategy only-if-needed --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-1.11.0-cp38-abi3-manylinux_2_31_x86_64.whl.metadata (2.6 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.37.0) Requirement already satisfied: numpy<2.0 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.24.4) Requirement already satisfied: scipy in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.10.1) 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.15.1) Requirement already satisfied: autograd in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages (from pennylane>=0.11->PennyLane-qsharp==0.19.0) (1.7.0) 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.6.11 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.12) 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.5.0) Requirement already satisfied: pennylane-lightning>=0.37 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.37.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.32.3) Requirement already satisfied: typing-extensions 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) (4.12.2) Requirement already satisfied: packaging 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) (24.2) 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.4.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.10) 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.2.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) (2024.8.30) Downloading qsharp-1.11.0-cp38-abi3-manylinux_2_31_x86_64.whl (2.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 117.1 MB/s eta 0:00:00 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=13377 sha256=3968b7a8975784857aa1655e25b9d982d8fd7a794a77b5f2106447a9cfdd6e05 Stored in directory: /tmp/pip-ephem-wheel-cache-o26fouz8/wheels/8f/e5/45/6014987f2a5fe5a3675488a0b99e5d43422524c37283e96b1e Successfully built PennyLane-qsharp Installing collected packages: qsharp, PennyLane-qsharp Successfully installed PennyLane-qsharp-0.19.0 qsharp-1.11.0 [rtd-command-info] start-time: 2024-11-19T19:52:57.868518Z, end-time: 2024-11-19T19:52:57.928833Z, 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 [rtd-command-info] start-time: 2024-11-19T19:52:58.002018Z, end-time: 2024-11-19T19:52:58.776262Z, duration: 0, exit-code: 2 python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html Running Sphinx v5.3.0 Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/sphinx/config.py", line 350, in eval_config_file exec(code, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/doc/conf.py", line 91, in import pennylane_qsharp File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/pennylane_qsharp/__init__.py", line 18, in from .ops import (S, T, CCNOT) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/pennylane_qsharp/ops.py", line 35, in from pennylane.operation import Operation File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/__init__.py", line 26, in import pennylane.numpy File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/__init__.py", line 87, in from .wrapper import extract_tensors, tensor_wrapper, wrap_arrays File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/wrapper.py", line 23, in from .tensor import tensor File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/tensor.py", line 25, in from pennylane.operation import Operator File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/operation.py", line 260, in from pennylane.math import expand_matrix File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/math/__init__.py", line 37, in from .matrix_manipulation import expand_matrix, reduce_matrices, get_batch_size File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/math/matrix_manipulation.py", line 24, in from pennylane.wires import Wires File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/wires.py", line 23, in from pennylane.pytrees import register_pytree File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/pytrees/__init__.py", line 18, in from .pytrees import PyTreeStructure, flatten, is_pytree, leaf, register_pytree, unflatten File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/pytrees/pytrees.py", line 21, in import pennylane.queuing File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/queuing.py", line 560, in ) -> tuple[list[ops_or_meas], list["pennylane.measurements.MeasurementProcess"]]: TypeError: 'type' object is not subscriptable The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/sphinx/cmd/build.py", line 276, in build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/sphinx/application.py", line 202, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/sphinx/config.py", line 172, in read namespace = eval_config_file(filename, tags) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/sphinx/config.py", line 363, in eval_config_file raise ConfigError(msg % traceback.format_exc()) from exc sphinx.errors.ConfigError: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/sphinx/config.py", line 350, in eval_config_file exec(code, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/doc/conf.py", line 91, in import pennylane_qsharp File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/pennylane_qsharp/__init__.py", line 18, in from .ops import (S, T, CCNOT) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/pennylane_qsharp/ops.py", line 35, in from pennylane.operation import Operation File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/__init__.py", line 26, in import pennylane.numpy File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/__init__.py", line 87, in from .wrapper import extract_tensors, tensor_wrapper, wrap_arrays File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/wrapper.py", line 23, in from .tensor import tensor File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/tensor.py", line 25, in from pennylane.operation import Operator File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/operation.py", line 260, in from pennylane.math import expand_matrix File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/math/__init__.py", line 37, in from .matrix_manipulation import expand_matrix, reduce_matrices, get_batch_size File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/math/matrix_manipulation.py", line 24, in from pennylane.wires import Wires File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/wires.py", line 23, in from pennylane.pytrees import register_pytree File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/pytrees/__init__.py", line 18, in from .pytrees import PyTreeStructure, flatten, is_pytree, leaf, register_pytree, unflatten File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/pytrees/pytrees.py", line 21, in import pennylane.queuing File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/queuing.py", line 560, in ) -> tuple[list[ops_or_meas], list["pennylane.measurements.MeasurementProcess"]]: TypeError: 'type' object is not subscriptable Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/sphinx/config.py", line 350, in eval_config_file exec(code, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/doc/conf.py", line 91, in import pennylane_qsharp File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/pennylane_qsharp/__init__.py", line 18, in from .ops import (S, T, CCNOT) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/checkouts/latest/pennylane_qsharp/ops.py", line 35, in from pennylane.operation import Operation File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/__init__.py", line 26, in import pennylane.numpy File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/__init__.py", line 87, in from .wrapper import extract_tensors, tensor_wrapper, wrap_arrays File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/wrapper.py", line 23, in from .tensor import tensor File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/numpy/tensor.py", line 25, in from pennylane.operation import Operator File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/operation.py", line 260, in from pennylane.math import expand_matrix File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/math/__init__.py", line 37, in from .matrix_manipulation import expand_matrix, reduce_matrices, get_batch_size File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/math/matrix_manipulation.py", line 24, in from pennylane.wires import Wires File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/wires.py", line 23, in from pennylane.pytrees import register_pytree File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/pytrees/__init__.py", line 18, in from .pytrees import PyTreeStructure, flatten, is_pytree, leaf, register_pytree, unflatten File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/pytrees/pytrees.py", line 21, in import pennylane.queuing File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qsharp/envs/latest/lib/python3.8/site-packages/pennylane/queuing.py", line 560, in ) -> tuple[list[ops_or_meas], list["pennylane.measurements.MeasurementProcess"]]: TypeError: 'type' object is not subscriptable