Read the Docs build information Build id: 2493839 Project: xanaduai-pennylane-qulacs Version: latest Commit: 449998b9bc28ed2ebdbf4f7fe59ac42b6ae0c85e Date: 2024-09-19T14:22:48.241918Z State: finished Success: True [rtd-command-info] start-time: 2024-09-19T14:26:32.890406Z, end-time: 2024-09-19T14:26:33.391229Z, duration: 0, exit-code: 0 git clone --depth 1 https://github.com/PennyLaneAI/pennylane-qulacs.git . Cloning into '.'... [rtd-command-info] start-time: 2024-09-19T14:26:33.455520Z, end-time: 2024-09-19T14:26:34.384523Z, 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-qulacs * [new tag] v0.15.0 -> v0.15.0 * [new tag] v0.16.0 -> v0.16.0 * [new tag] v0.24.0 -> v0.24.0 * [new tag] v0.28.0 -> v0.28.0 * [new tag] v0.29.0 -> v0.29.0 * [new tag] v0.32.0 -> v0.32.0 * [new tag] v0.36.0 -> v0.36.0 * [new tag] v0.36.0.post0 -> v0.36.0.post0 [rtd-command-info] start-time: 2024-09-19T14:26:34.526298Z, end-time: 2024-09-19T14:26:34.594652Z, 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 449998b Remove tests of deprecated `QubitStateVector` (#75) [rtd-command-info] start-time: 2024-09-19T14:26:34.694481Z, end-time: 2024-09-19T14:26:34.757744Z, duration: 0, exit-code: 0 cat .readthedocs.yml # .readthedocs.yml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # Required version: 2 # Build documentation in the docs/ directory with Sphinx sphinx: configuration: doc/conf.py # Build documentation with MkDocs #mkdocs: # configuration: mkdocs.yml # Optionally build your docs in additional formats such as PDF and ePub formats: - htmlzip # Optionally set the version of Python and requirements required to build your docs python: install: - requirements: doc/requirements.txt - method: pip path: . build: os: ubuntu-22.04 tools: python: "3.9" apt_packages: - graphviz [rtd-command-info] start-time: 2024-09-19T14:26:35.863444Z, end-time: 2024-09-19T14:26:46.121363Z, duration: 10, 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://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2308 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB] Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3181 kB] Get:8 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB] Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1150 kB] Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2585 kB] Get:11 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3097 kB] Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1440 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB] Fetched 14.4 MB in 3s (5668 kB/s) Reading package lists... [rtd-command-info] start-time: 2024-09-19T14:26:46.187731Z, end-time: 2024-09-19T14:27:15.435691Z, duration: 29, 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 169 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 (2136 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-09-19T14:27:19.740954Z, end-time: 2024-09-19T14:27:19.824659Z, duration: 0, exit-code: 0 asdf global python 3.9.19 [rtd-command-info] start-time: 2024-09-19T14:27:20.232830Z, end-time: 2024-09-19T14:27:21.387216Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.9.19.final.0-64 in 810ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/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-09-19T14:27:21.470929Z, end-time: 2024-09-19T14:27:32.390460Z, duration: 10, 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-qulacs/envs/latest/lib/python3.9/site-packages (23.1) Collecting pip Downloading pip-24.2-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 8.2 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (67.6.1) Collecting setuptools Downloading setuptools-75.1.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 18.2 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.2 setuptools-75.1.0 [rtd-command-info] start-time: 2024-09-19T14:27:32.489959Z, end-time: 2024-09-19T14:27:41.545149Z, duration: 9, exit-code: 0 python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext Collecting sphinx Downloading sphinx-7.4.7-py3-none-any.whl.metadata (6.1 kB) Collecting readthedocs-sphinx-ext Downloading readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-2.0.0-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-2.0.0-py3-none-any.whl.metadata (2.3 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.1.0-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-serializinghtml>=1.1.9 (from sphinx) Downloading sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl.metadata (2.4 kB) Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-2.0.0-py3-none-any.whl.metadata (2.3 kB) Collecting Jinja2>=3.1 (from sphinx) Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting Pygments>=2.17 (from sphinx) Downloading pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB) Collecting docutils<0.22,>=0.20 (from sphinx) Downloading docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB) Collecting snowballstemmer>=2.2 (from sphinx) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl.metadata (6.5 kB) Collecting babel>=2.13 (from sphinx) Downloading babel-2.16.0-py3-none-any.whl.metadata (1.5 kB) Collecting alabaster~=0.7.14 (from sphinx) Downloading alabaster-0.7.16-py3-none-any.whl.metadata (2.9 kB) Collecting imagesize>=1.3 (from sphinx) Downloading imagesize-1.4.1-py2.py3-none-any.whl.metadata (1.5 kB) Collecting requests>=2.30.0 (from sphinx) Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting packaging>=23.0 (from sphinx) Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting importlib-metadata>=6.0 (from sphinx) Downloading importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB) Collecting tomli>=2 (from sphinx) Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting zipp>=3.20 (from importlib-metadata>=6.0->sphinx) Downloading zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.1->sphinx) Downloading MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.30.0->sphinx) Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests>=2.30.0->sphinx) Downloading idna-3.10-py3-none-any.whl.metadata (10 kB) Collecting urllib3<3,>=1.21.1 (from requests>=2.30.0->sphinx) Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB) Collecting certifi>=2017.4.17 (from requests>=2.30.0->sphinx) Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB) Downloading sphinx-7.4.7-py3-none-any.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 110.7 MB/s eta 0:00:00 Downloading readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl (11 kB) Downloading alabaster-0.7.16-py3-none-any.whl (13 kB) Downloading babel-2.16.0-py3-none-any.whl (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 201.8 MB/s eta 0:00:00 Downloading docutils-0.21.2-py3-none-any.whl (587 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.4/587.4 kB 297.5 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.1-py3-none-any.whl (53 kB) Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 328.0 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.1.0-py3-none-any.whl (98 kB) Downloading sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl (92 kB) Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Downloading sphinxcontrib_applehelp-2.0.0-py3-none-any.whl (119 kB) Downloading sphinxcontrib_devhelp-2.0.0-py3-none-any.whl (82 kB) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Downloading sphinxcontrib_qthelp-2.0.0-py3-none-any.whl (88 kB) Downloading certifi-2024.8.30-py3-none-any.whl (167 kB) Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) Downloading idna-3.10-py3-none-any.whl (70 kB) Downloading MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 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, zipp, urllib3, tomli, 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, readthedocs-sphinx-ext Successfully installed Jinja2-3.1.4 MarkupSafe-2.1.5 Pygments-2.18.0 alabaster-0.7.16 babel-2.16.0 certifi-2024.8.30 charset-normalizer-3.3.2 docutils-0.21.2 idna-3.10 imagesize-1.4.1 importlib-metadata-8.5.0 packaging-24.1 readthedocs-sphinx-ext-2.2.5 requests-2.32.3 snowballstemmer-2.2.0 sphinx-7.4.7 sphinxcontrib-applehelp-2.0.0 sphinxcontrib-devhelp-2.0.0 sphinxcontrib-htmlhelp-2.1.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-2.0.0 sphinxcontrib-serializinghtml-2.0.0 tomli-2.0.1 urllib3-2.2.3 zipp-3.20.2 [rtd-command-info] start-time: 2024-09-19T14:27:41.645035Z, end-time: 2024-09-19T14:28:03.338885Z, duration: 21, 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.38.0-py3-none-any.whl.metadata (9.3 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.5.7-py3-none-any.whl.metadata (4.1 kB) Requirement already satisfied: Sphinx>=3.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (7.4.7) 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-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/site-packages (from pygments-github-lexers->-r doc/requirements.txt (line 3)) (2.18.0) Collecting numpy<2.0 (from pennylane->-r doc/requirements.txt (line 4)) Downloading numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) Collecting scipy (from pennylane->-r doc/requirements.txt (line 4)) Downloading scipy-1.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) Collecting networkx (from pennylane->-r doc/requirements.txt (line 4)) Downloading networkx-3.2.1-py3-none-any.whl.metadata (5.2 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) Collecting pennylane-lightning>=0.38 (from pennylane->-r doc/requirements.txt (line 4)) Downloading PennyLane_Lightning-0.38.0-cp39-cp39-manylinux_2_28_x86_64.whl.metadata (26 kB) Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane->-r doc/requirements.txt (line 4)) (24.1) 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-cp39-cp39-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.17.1-py3-none-any.whl.metadata (8.9 kB) Requirement already satisfied: zipp>=3.20 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/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-cp39-cp39-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-qulacs/envs/latest/lib/python3.9/site-packages (from Sphinx>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.0) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from Sphinx>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.0) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/site-packages (from Sphinx>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.1.0) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.9 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from Sphinx>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.0) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from Sphinx>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (2.0.0) Requirement already satisfied: Jinja2>=3.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/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.4.6-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-7.4.5-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-7.4.4-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-7.4.3-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-7.4.2-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-7.4.1-py3-none-any.whl.metadata (6.1 kB) Downloading sphinx-7.4.0-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-7.3.7-py3-none-any.whl.metadata (6.0 kB) Downloading sphinx-7.3.6-py3-none-any.whl.metadata (6.0 kB) Downloading sphinx-7.3.5-py3-none-any.whl.metadata (6.0 kB) Downloading sphinx-7.3.4-py3-none-any.whl.metadata (6.0 kB) Downloading sphinx-7.3.3-py3-none-any.whl.metadata (6.0 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-7.3.2-py3-none-any.whl.metadata (6.0 kB) Downloading sphinx-7.3.1-py3-none-any.whl.metadata (6.0 kB) Downloading sphinx-7.3.0-py3-none-any.whl.metadata (6.0 kB) Downloading sphinx-7.2.6-py3-none-any.whl.metadata (5.9 kB) Downloading sphinx-7.2.5-py3-none-any.whl.metadata (5.9 kB) Downloading sphinx-7.2.4-py3-none-any.whl.metadata (5.9 kB) Downloading sphinx-7.2.3-py3-none-any.whl.metadata (5.9 kB) Downloading sphinx-7.2.2-py3-none-any.whl.metadata (5.9 kB) Downloading sphinx-7.2.1-py3-none-any.whl.metadata (5.9 kB) Downloading sphinx-7.2.0-py3-none-any.whl.metadata (5.9 kB) Downloading sphinx-7.1.2-py3-none-any.whl.metadata (5.8 kB) 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) 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) 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-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/site-packages (from Sphinx>=3.5->sphinxcontrib-bibtex->-r doc/requirements.txt (line 2)) (0.7.16) Requirement already satisfied: imagesize>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/site-packages (from requests->pennylane->-r doc/requirements.txt (line 4)) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/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-qulacs/envs/latest/lib/python3.9/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: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from Jinja2>=3.1->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 36.0 MB/s eta 0:00:00 Downloading sphinxcontrib_bibtex-2.6.3-py3-none-any.whl (40 kB) Downloading PennyLane-0.38.0-py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 163.7 MB/s eta 0:00:00 Downloading sphinx_automodapi-0.18.0-py3-none-any.whl (88 kB) Downloading pennylane_sphinx_theme-0.5.7-py3-none-any.whl (17 kB) Downloading autoray-0.6.12-py3-none-any.whl (50 kB) Downloading numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 193.9 MB/s eta 0:00:00 Downloading PennyLane_Lightning-0.38.0-cp39-cp39-manylinux_2_28_x86_64.whl (15.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.4/15.4 MB 198.1 MB/s eta 0:00:00 Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 477.6 MB/s eta 0:00:00 Downloading pybtex_docutils-1.0.3-py3-none-any.whl (6.4 kB) Downloading rustworkx-0.15.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 331.7 MB/s eta 0:00:00 Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 293.5 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.2.1-py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 280.7 MB/s eta 0:00:00 Downloading pillow-10.4.0-cp39-cp39-manylinux_2_28_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 195.9 MB/s eta 0:00:00 Downloading scipy-1.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.6/38.6 MB 197.6 MB/s eta 0:00:00 Downloading sphinx_gallery-0.17.1-py3-none-any.whl (446 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-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (737 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 737.4/737.4 kB 306.0 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=9f2c76a768f39c46bb79e3a6b6db8b6cc3f9fc63f9ba69ec42052e5460f4080d Stored in directory: /tmp/pip-ephem-wheel-cache-x6r617sm/wheels/13/42/f5/cbacdb84484c93181b47edf371b66fbd1f90a06635e9f2c021 Successfully built pygments-github-lexers Installing collected packages: appdirs, typing-extensions, toml, six, 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.21.2 Uninstalling docutils-0.21.2: Successfully uninstalled docutils-0.21.2 Attempting uninstall: Sphinx Found existing installation: Sphinx 7.4.7 Uninstalling Sphinx-7.4.7: Successfully uninstalled Sphinx-7.4.7 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.2.1 numpy-1.26.4 pennylane-0.38.0 pennylane-lightning-0.38.0 pennylane-sphinx-theme-0.5.7 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.13.1 six-1.16.0 sphinx-automodapi-0.18.0 sphinx-gallery-0.17.1 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-09-19T14:28:03.478764Z, end-time: 2024-09-19T14:28:04.892888Z, 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-qulacs/checkouts/latest Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: pennylane>=0.15 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane-qulacs==0.37.0.dev0) (0.38.0) Requirement already satisfied: numpy in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane-qulacs==0.37.0.dev0) (1.26.4) Requirement already satisfied: scipy in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane-qulacs==0.37.0.dev0) (1.13.1) Requirement already satisfied: networkx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (3.2.1) Requirement already satisfied: rustworkx>=0.14.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (0.15.1) Requirement already satisfied: autograd in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (1.7.0) Requirement already satisfied: toml in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (0.10.2) Requirement already satisfied: appdirs in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (1.4.4) Requirement already satisfied: autoray>=0.6.11 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (0.6.12) Requirement already satisfied: cachetools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (5.5.0) Requirement already satisfied: pennylane-lightning>=0.38 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (0.38.0) Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (2.32.3) Requirement already satisfied: typing-extensions in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (4.12.2) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (24.1) Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from requests->pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from requests->pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from requests->pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-qulacs/envs/latest/lib/python3.9/site-packages (from requests->pennylane>=0.15->pennylane-qulacs==0.37.0.dev0) (2024.8.30) Building wheels for collected packages: pennylane-qulacs Building wheel for pennylane-qulacs (setup.py): started Building wheel for pennylane-qulacs (setup.py): finished with status 'done' Created wheel for pennylane-qulacs: filename=pennylane_qulacs-0.37.0.dev0-py3-none-any.whl size=14012 sha256=de50982d396761a345703133844f55cca8e309e4f69111ef3c421f67119458c7 Stored in directory: /tmp/pip-ephem-wheel-cache-0qprrjrp/wheels/37/7f/bf/678d4f2686e268c2b46d6422b13b19a0c72f7e82b039d00b0d Successfully built pennylane-qulacs Installing collected packages: pennylane-qulacs Successfully installed pennylane-qulacs-0.37.0.dev0 [rtd-command-info] start-time: 2024-09-19T14:28:05.474905Z, end-time: 2024-09-19T14:28:05.538769Z, duration: 0, exit-code: 0 cat doc/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # PennyLane-Qulacs 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-Qulacs" copyright = "2023, Xanadu Quantum Technologies Inc." author = "Steven Oud and 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_qulacs # The full version, including alpha/beta/rc tags. release = pennylane_qulacs.__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' import sys, os, re from unittest.mock import MagicMock # 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')) class Mock(MagicMock): __name__ = 'foo' @classmethod def __getattr__(cls, name): return MagicMock() sys.modules["qulacs"] = Mock(__version__="0.1.9") # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = "PennyLane-Qulacsdoc" # # -- 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-Qulacs", "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-qulacs' 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-Qulacs.tex", "PennyLane-Qulacs 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-Qulacs", "PennyLane-Qulacs 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-Qulacs", "PennyLane-Qulacs Documentation", author, "PennyLane-Qulacs", "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') # Define this variable in case it's not defined by the user. # It defaults to `alabaster` which is the default from Sphinx. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_theme html_theme = globals().get('html_theme', 'alabaster') #Add project information to the template context. context = { '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/qulacs/en/latest/htmlzip/"), ], 'subprojects': [ ], 'slug': 'xanaduai-pennylane-qulacs', 'name': u'pennylane-qulacs', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': '', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/', 'api_host': 'https://readthedocs.com', 'github_user': 'PennyLaneAI', 'proxied_api_host': '/_', 'github_repo': 'pennylane-qulacs', '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': '449998b9', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): for key in context: if key not in html_context: html_context[key] = context[key] else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/xanaduai-pennylane-qulacs/builds/2493839/' 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: 2024-09-19T14:28:05.621542Z, end-time: 2024-09-19T14:28:07.022665Z, duration: 1, exit-code: 0 python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html Running Sphinx v5.3.0 making output directory... done [autosummary] generating autosummary for: code.rst, devices/simulator.rst, index.rst, installation.rst, support.rst building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: [new config] 5 added, 0 changed, 0 removed reading sources... [ 20%] code reading sources... [ 40%] devices/simulator reading sources... [ 60%] index reading sources... [ 80%] installation reading sources... [100%] support looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 20%] code writing output... [ 40%] devices/simulator writing output... [ 60%] index writing output... [ 80%] installation writing output... [100%] support generating indices... genindex py-modindex done 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. The HTML pages are in ../_readthedocs/html. [rtd-command-info] start-time: 2024-09-19T14:28:07.095995Z, end-time: 2024-09-19T14:28:08.255747Z, duration: 1, exit-code: 0 python -m sphinx -T -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/htmlzip Running Sphinx v5.3.0 making output directory... done loading pickled environment... done [autosummary] generating autosummary for: code.rst, devices/simulator.rst, index.rst, installation.rst, support.rst building [mo]: targets for 0 po files that are out of date building [readthedocssinglehtmllocalmedia]: all documents updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done assembling single document... installation support devices/simulator code 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. The HTML page is in ../_readthedocs/htmlzip.