Read the Docs build information Build id: 1046368 Project: xanaduai-pennylane-ionq Version: stable Commit: 758007786fd2b42d4d3a62b25fce4a1cfd0b852a Date: 2022-08-09T15:30:50.256178Z State: finished Success: True [rtd-command-info] start-time: 2022-08-09T15:30:52.291636Z, end-time: 2022-08-09T15:30:52.887200Z, duration: 0, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/PennyLaneAI/PennyLane-IonQ.git . Cloning into '.'... [rtd-command-info] start-time: 2022-08-09T15:30:53.073542Z, end-time: 2022-08-09T15:30:53.155095Z, duration: 0, exit-code: 0 git checkout --force 758007786fd2b42d4d3a62b25fce4a1cfd0b852a Note: switching to '758007786fd2b42d4d3a62b25fce4a1cfd0b852a'. 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 7580077 [Bug] Normalize probabilities (#53) [rtd-command-info] start-time: 2022-08-09T15:30:53.356840Z, end-time: 2022-08-09T15:30:53.419382Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-08-09T15:30:54.399679Z, end-time: 2022-08-09T15:31:10.652471Z, duration: 16, exit-code: 0 python3.8 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.8.6' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin/python3.8 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2022-08-09T15:31:10.837925Z, end-time: 2022-08-09T15:31:12.871065Z, duration: 2, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools<58.3.0 Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (22.2.2) Collecting setuptools<58.3.0 Downloading setuptools-58.2.0-py3-none-any.whl (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.1/946.1 kB 36.5 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 63.4.2 Uninstalling setuptools-63.4.2: Successfully uninstalled setuptools-63.4.2 Successfully installed setuptools-58.2.0 [rtd-command-info] start-time: 2022-08-09T15:31:13.053663Z, end-time: 2022-08-09T15:31:48.658419Z, duration: 35, exit-code: 0 python -m pip install --upgrade --no-cache-dir mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.2 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 21.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pillow==5.4.1 Downloading Pillow-5.4.1.tar.gz (16.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 172.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 kB 190.0 MB/s eta 0:00:00 Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx Downloading Sphinx-5.1.1-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 173.8 MB/s eta 0:00:00 Collecting sphinx-rtd-theme Downloading sphinx_rtd_theme-1.0.0-py2.py3-none-any.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 168.0 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<2.2 Downloading readthedocs_sphinx_ext-2.1.8-py2.py3-none-any.whl (11 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 265.0 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting docutils>=0.11 Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 265.9 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml>=1.1.5 Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 231.1 MB/s eta 0:00:00 Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.2/121.2 kB 245.8 MB/s eta 0:00:00 Collecting sphinxcontrib-htmlhelp>=2.0.0 Downloading sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.5/100.5 kB 222.6 MB/s eta 0:00:00 Collecting babel>=1.3 Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 169.3 MB/s eta 0:00:00 Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 187.0 MB/s eta 0:00:00 Collecting importlib-metadata>=4.4 Downloading importlib_metadata-4.12.0-py3-none-any.whl (21 kB) Collecting imagesize Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting Jinja2>=2.3 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 244.8 MB/s eta 0:00:00 Collecting Pygments>=2.0 Downloading Pygments-2.12.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 274.0 MB/s eta 0:00:00 Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 222.6 MB/s eta 0:00:00 Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 216.8 MB/s eta 0:00:00 Collecting requests>=2.5.0 Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 212.9 MB/s eta 0:00:00 Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 161.5 MB/s eta 0:00:00 Collecting docutils>=0.11 Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 kB 278.2 MB/s eta 0:00:00 Collecting pytz>=2015.7 Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 kB 269.3 MB/s eta 0:00:00 Collecting zipp>=0.5 Downloading zipp-3.8.1-py3-none-any.whl (5.6 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 208.6 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.6.15-py3-none-any.whl (160 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.2/160.2 kB 250.1 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.11-py2.py3-none-any.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.9/139.9 kB 239.6 MB/s eta 0:00:00 Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.0-py3-none-any.whl (39 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 205.6 MB/s eta 0:00:00 Building wheels for collected packages: mock, pillow, future Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23773 sha256=b6745481849728cc3bd8f9422ceb7f39134c782e8e5c0ace98c25de470c751ee Stored in directory: /tmp/pip-ephem-wheel-cache-d4s04ucu/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Building wheel for pillow (setup.py): started Building wheel for pillow (setup.py): finished with status 'done' Created wheel for pillow: filename=Pillow-5.4.1-cp38-cp38-linux_x86_64.whl size=1260052 sha256=b3910d87cab347cfc3d7fe319ff173503cd87119dbf8b32710dcc9a043e9da1c Stored in directory: /tmp/pip-ephem-wheel-cache-d4s04ucu/wheels/5f/a8/6b/5b7b3f764d879214eb03570f74d2b086201eb514e6ffa68d6d Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491070 sha256=53353d9a4beb146f38af1853e72dd2c6c447f3abcb11bfbc4dbe789d82886438 Stored in directory: /tmp/pip-ephem-wheel-cache-d4s04ucu/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 Successfully built mock pillow future Installing collected packages: snowballstemmer, pytz, mock, alabaster, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, pyparsing, Pygments, pillow, MarkupSafe, imagesize, idna, future, docutils, charset-normalizer, certifi, babel, requests, packaging, Jinja2, importlib-metadata, commonmark, sphinx, readthedocs-sphinx-ext, sphinx-rtd-theme, recommonmark Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.1 Pygments-2.12.0 alabaster-0.7.12 babel-2.10.3 certifi-2022.6.15 charset-normalizer-2.1.0 commonmark-0.8.1 docutils-0.17.1 future-0.18.2 idna-3.3 imagesize-1.4.1 importlib-metadata-4.12.0 mock-1.0.1 packaging-21.3 pillow-5.4.1 pyparsing-3.0.9 pytz-2022.1 readthedocs-sphinx-ext-2.1.8 recommonmark-0.5.0 requests-2.28.1 snowballstemmer-2.2.0 sphinx-5.1.1 sphinx-rtd-theme-1.0.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.11 zipp-3.8.1 [rtd-command-info] start-time: 2022-08-09T15:31:48.893128Z, end-time: 2022-08-09T15:31:52.910893Z, duration: 4, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Collecting numpy==1.21.4 Downloading numpy-1.21.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 194.3 MB/s eta 0:00:00 Collecting docutils==0.16 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 548.2/548.2 kB 268.2 MB/s eta 0:00:00 Collecting sphinx-automodapi Downloading sphinx_automodapi-0.14.1-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.0/77.0 kB 212.3 MB/s eta 0:00:00 Requirement already satisfied: sphinx>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx-automodapi->-r doc/requirements.txt (line 3)) (5.1.1) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (1.0.2) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (21.3) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2.12.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (0.7.12) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2.28.1) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (3.1.2) Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (1.0.2) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (1.0.3) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (1.1.5) Requirement already satisfied: babel>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2.10.3) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (1.4.1) Requirement already satisfied: importlib-metadata>=4.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (4.12.0) Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2.0.0) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2.2.0) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (1.0.1) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from babel>=1.3->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2022.1) Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from importlib-metadata>=4.4->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (3.8.1) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from Jinja2>=2.3->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2.1.1) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (3.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (1.26.11) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2022.6.15) Requirement already satisfied: charset-normalizer<3,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (2.1.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages (from packaging->sphinx>=2->sphinx-automodapi->-r doc/requirements.txt (line 3)) (3.0.9) Installing collected packages: numpy, docutils, sphinx-automodapi Attempting uninstall: docutils Found existing installation: docutils 0.17.1 Uninstalling docutils-0.17.1: Successfully uninstalled docutils-0.17.1 Successfully installed docutils-0.16 numpy-1.21.4 sphinx-automodapi-0.14.1 [rtd-command-info] start-time: 2022-08-09T15:31:53.139278Z, end-time: 2022-08-09T15:31:58.639368Z, duration: 5, exit-code: 0 python /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/stable/setup.py install --force running install running bdist_egg running egg_info creating PennyLane_IonQ.egg-info writing PennyLane_IonQ.egg-info/PKG-INFO writing dependency_links to PennyLane_IonQ.egg-info/dependency_links.txt writing entry points to PennyLane_IonQ.egg-info/entry_points.txt writing requirements to PennyLane_IonQ.egg-info/requires.txt writing top-level names to PennyLane_IonQ.egg-info/top_level.txt writing manifest file 'PennyLane_IonQ.egg-info/SOURCES.txt' reading manifest file 'PennyLane_IonQ.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'PennyLane_IonQ.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/pennylane_ionq copying pennylane_ionq/api_client.py -> build/lib/pennylane_ionq copying pennylane_ionq/_version.py -> build/lib/pennylane_ionq copying pennylane_ionq/__init__.py -> build/lib/pennylane_ionq copying pennylane_ionq/ops.py -> build/lib/pennylane_ionq copying pennylane_ionq/device.py -> build/lib/pennylane_ionq creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/pennylane_ionq copying build/lib/pennylane_ionq/api_client.py -> build/bdist.linux-x86_64/egg/pennylane_ionq copying build/lib/pennylane_ionq/_version.py -> build/bdist.linux-x86_64/egg/pennylane_ionq copying build/lib/pennylane_ionq/__init__.py -> build/bdist.linux-x86_64/egg/pennylane_ionq copying build/lib/pennylane_ionq/ops.py -> build/bdist.linux-x86_64/egg/pennylane_ionq copying build/lib/pennylane_ionq/device.py -> build/bdist.linux-x86_64/egg/pennylane_ionq byte-compiling build/bdist.linux-x86_64/egg/pennylane_ionq/api_client.py to api_client.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_ionq/_version.py to _version.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_ionq/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_ionq/ops.py to ops.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/pennylane_ionq/device.py to device.cpython-38.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_IonQ.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_IonQ.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_IonQ.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_IonQ.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_IonQ.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying PennyLane_IonQ.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/PennyLane_IonQ-0.23.0-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing PennyLane_IonQ-0.23.0-py3.8.egg Copying PennyLane_IonQ-0.23.0-py3.8.egg to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding PennyLane-IonQ 0.23.0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/PennyLane_IonQ-0.23.0-py3.8.egg Processing dependencies for PennyLane-IonQ==0.23.0 Searching for python-dateutil Reading https://pypi.org/simple/python-dateutil/ Downloading https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl#sha256=961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 Best match: python-dateutil 2.8.2 Processing python_dateutil-2.8.2-py2.py3-none-any.whl Installing python_dateutil-2.8.2-py2.py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding python-dateutil 2.8.2 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/python_dateutil-2.8.2-py3.8.egg Searching for pennylane>=0.15 Reading https://pypi.org/simple/pennylane/ Downloading https://files.pythonhosted.org/packages/a2/0d/e7d56c6f7d1d80cc63771b2c63ea4f2ae9acb366762583dbcfd263682b4c/PennyLane-0.24.0-py3-none-any.whl#sha256=363b42ddf3d8086fdc3263ebece743fab0d6f85c00cc947068cdd9a3d41a71fc Best match: PennyLane 0.24.0 Processing PennyLane-0.24.0-py3-none-any.whl Installing PennyLane-0.24.0-py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding PennyLane 0.24.0 to easy-install.pth file Installing pl-device-test script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/PennyLane-0.24.0-py3.8.egg Searching for six>=1.5 Reading https://pypi.org/simple/six/ Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl#sha256=8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 Best match: six 1.16.0 Processing six-1.16.0-py2.py3-none-any.whl Installing six-1.16.0-py2.py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding six 1.16.0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/six-1.16.0-py3.8.egg Searching for toml Reading https://pypi.org/simple/toml/ Downloading https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl#sha256=806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b Best match: toml 0.10.2 Processing toml-0.10.2-py2.py3-none-any.whl Installing toml-0.10.2-py2.py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding toml 0.10.2 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/toml-0.10.2-py3.8.egg Searching for semantic-version==2.6 Reading https://pypi.org/simple/semantic-version/ Downloading https://files.pythonhosted.org/packages/28/be/3a7241d731ba89063780279a5433f5971c1cf41735b64a9f874b7c3ff995/semantic_version-2.6.0-py3-none-any.whl#sha256=2d06ab7372034bcb8b54f2205370f4aa0643c133b7e6dbd129c5200b83ab394b Best match: semantic-version 2.6.0 Processing semantic_version-2.6.0-py3-none-any.whl Installing semantic_version-2.6.0-py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding semantic-version 2.6.0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/semantic_version-2.6.0-py3.8.egg Searching for scipy Reading https://pypi.org/simple/scipy/ Downloading https://files.pythonhosted.org/packages/f7/38/f5fad7b9a50a26a6a709549f815db7026a97d1a5652e548d5bbe587bb954/scipy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=73b704c5eea9be811919cae4caacf3180dd9212d9aed08477c1d2ba14900a9de Best match: scipy 1.9.0 Processing scipy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Installing scipy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding scipy 1.9.0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/scipy-1.9.0-py3.8-linux-x86_64.egg Searching for retworkx Reading https://pypi.org/simple/retworkx/ Downloading https://files.pythonhosted.org/packages/06/e9/9f7a9c10b1a6e3d32b31f2b3bab53921a11b692136ff7ad51efff2959da0/retworkx-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl#sha256=a199e0374036503db8c98e45e2476896fbcaf7f620f4f81206e0ee1b19a436c5 Best match: retworkx 0.11.0 Processing retworkx-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl Installing retworkx-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding retworkx 0.11.0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/retworkx-0.11.0-py3.8-linux-x86_64.egg Searching for pennylane-lightning>=0.24 Reading https://pypi.org/simple/pennylane-lightning/ Downloading https://files.pythonhosted.org/packages/f5/56/239f092817b576c6a82ebde4c75c69ffb18926e99c44752eacd7aa060132/PennyLane_Lightning-0.24.0-py3-none-any.whl#sha256=1ab708c3938069a18ae20cf184c7d5b865f5b509aba671d4a213d149a5449366 Best match: PennyLane-Lightning 0.24.0 Processing PennyLane_Lightning-0.24.0-py3-none-any.whl Installing PennyLane_Lightning-0.24.0-py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding PennyLane-Lightning 0.24.0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/PennyLane_Lightning-0.24.0-py3.8.egg Searching for networkx Reading https://pypi.org/simple/networkx/ Downloading https://files.pythonhosted.org/packages/95/1b/14b5b17c52f7329b875e4ad2dcad23c808778b42ef6d250a7223d4dc378a/networkx-2.8.5-py3-none-any.whl#sha256=a762f4b385692d9c3a6f2912d058d76d29a827deaedf9e63ed14d397b8030687 Best match: networkx 2.8.5 Processing networkx-2.8.5-py3-none-any.whl Installing networkx-2.8.5-py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding networkx 2.8.5 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/networkx-2.8.5-py3.8.egg Searching for cachetools Reading https://pypi.org/simple/cachetools/ Downloading https://files.pythonhosted.org/packages/68/aa/5fc646cae6e997c3adf3b0a7e257cda75cff21fcba15354dffd67789b7bb/cachetools-5.2.0-py3-none-any.whl#sha256=f9f17d2aec496a9aa6b76f53e3b614c965223c061982d434d160f930c698a9db Best match: cachetools 5.2.0 Processing cachetools-5.2.0-py3-none-any.whl Installing cachetools-5.2.0-py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding cachetools 5.2.0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/cachetools-5.2.0-py3.8.egg Searching for autoray>=0.3.1 Reading https://pypi.org/simple/autoray/ Downloading https://files.pythonhosted.org/packages/4e/40/605d184c5099847bd1b68e1c15784adf148071b67b3c0ee1200b6eb4e47a/autoray-0.3.2-py3-none-any.whl#sha256=a50b4174ae87e8f354feb1a793f6bb6d634404289a404f28497269f42616de44 Best match: autoray 0.3.2 Processing autoray-0.3.2-py3-none-any.whl Installing autoray-0.3.2-py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding autoray 0.3.2 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/autoray-0.3.2-py3.8.egg Searching for autograd Reading https://pypi.org/simple/autograd/ Downloading https://files.pythonhosted.org/packages/d9/6e/5aec16d68bf07e17e1a6cac5011e1c8f5f8dadb0ac5e875d432ee8aaa733/autograd-1.4-py3-none-any.whl#sha256=5cd6051bf1440643bf8f1104c933b2dedefb7610b951091768c1c680b1e0ceda Best match: autograd 1.4 Processing autograd-1.4-py3-none-any.whl Installing autograd-1.4-py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding autograd 1.4 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/autograd-1.4-py3.8.egg Searching for appdirs Reading https://pypi.org/simple/appdirs/ Downloading https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl#sha256=a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128 Best match: appdirs 1.4.4 Processing appdirs-1.4.4-py2.py3-none-any.whl Installing appdirs-1.4.4-py2.py3-none-any.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding appdirs 1.4.4 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/appdirs-1.4.4-py3.8.egg Searching for ninja Reading https://pypi.org/simple/ninja/ Downloading https://files.pythonhosted.org/packages/52/65/d212822d0f29afecbad20cc3b3f41b8eeb4b47bea728602b8ce0b2d347f5/ninja-1.10.2.3-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl#sha256=279836285975e3519392c93c26e75755e8a8a7fafec9f4ecbb0293119ee0f9c6 Best match: ninja 1.10.2.3 Processing ninja-1.10.2.3-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl Installing ninja-1.10.2.3-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Adding ninja 1.10.2.3 to easy-install.pth file Installing ninja script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/ninja-1.10.2.3-py3.8-linux-x86_64.egg Searching for requests==2.28.1 Best match: requests 2.28.1 Adding requests 2.28.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Searching for numpy==1.21.4 Best match: numpy 1.21.4 Adding numpy 1.21.4 to easy-install.pth file Installing f2py script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Installing f2py3 script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Installing f2py3.8 script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Searching for urllib3==1.26.11 Best match: urllib3 1.26.11 Adding urllib3 1.26.11 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Searching for idna==3.3 Best match: idna 3.3 Adding idna 3.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Searching for certifi==2022.6.15 Best match: certifi 2022.6.15 Adding certifi 2022.6.15 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Searching for charset-normalizer==2.1.0 Best match: charset-normalizer 2.1.0 Adding charset-normalizer 2.1.0 to easy-install.pth file Installing normalizer script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Searching for future==0.18.2 Best match: future 0.18.2 Adding future 0.18.2 to easy-install.pth file Installing futurize script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Installing pasteurize script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages Finished processing dependencies for PennyLane-IonQ==0.23.0 [rtd-command-info] start-time: 2022-08-09T15:32:00.130676Z, end-time: 2022-08-09T15:32:00.199799Z, duration: 0, exit-code: 0 cat doc/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # PennyLane-IonQ 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 # 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", 'sphinx_automodapi.smart_resolver' ] intersphinx_mapping = {"https://pennylane.readthedocs.io/en/stable/": None} 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. templates_path = ['_templates', 'xanadu_theme'] # 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-IonQ' copyright = "Copyright 2021" author = 'Xanadu Inc.' 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_ionq # The full version, including alpha/beta/rc tags. release = pennylane_ionq.__version__ # The short X.Y version. version = re.match(r'^(\d+\.\d+)', release).expand(r'\1') # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # today_fmt is used as the format for a strftime call. today_fmt = '%Y-%m-%d' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. show_authors = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- Options for HTML output ---------------------------------------------- # The 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'] # 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 = { '**' : [ 'logo-text.html', 'searchbox.html', 'globaltoc.html', ] } # -- Xanadu theme --------------------------------------------------------- html_theme = 'xanadu_theme' html_theme_path = ['.'] # xanadu theme options (see theme.conf for more information) html_theme_options = { # Set the name of the project to appear in the left sidebar. "project_nav_name": "PennyLane-IonQ", # Path to a touch icon "touch_icon": "logo_new.png", "large_toc": True, "navigation_button": "#19b37b", "navigation_button_hover": "#0e714d", "toc_caption": "#19b37b", "toc_hover": "#19b37b", "table_header_bg": "#edf7f4", "table_header_border": "#19b37b", "download_button": "#19b37b", } edit_on_github_project = 'PennyLaneAI/pennylane-ionq' edit_on_github_branch = 'master/doc' #============================================================ # 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 from directives import CustomDeviceGalleryItemDirective, UsageDetails def setup(app): app.add_directive('devicegalleryitem', CustomDeviceGalleryItemDirective) app.add_directive('usagedetails', UsageDetails) ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "stable", 'version_slug': "stable", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'proxied_static_path': "/_/static/", 'versions': [ ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'xanaduai-pennylane-ionq', 'name': u'PennyLane-IonQ', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://docs.pennylane.ai/projects/ionq/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/', 'api_host': 'https://readthedocs.com', 'github_user': 'PennyLaneAI', 'proxied_api_host': '/_', 'github_repo': 'PennyLane-IonQ', 'github_version': '758007786fd2b42d4d3a62b25fce4a1cfd0b852a', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': '758007786fd2b42d4d3a62b25fce4a1cfd0b852a', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': '758007786fd2b42d4d3a62b25fce4a1cfd0b852a', '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': '75800778', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'tag' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/xanaduai-pennylane-ionq/builds/1046368/' project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2022-08-09T15:32:00.396417Z, end-time: 2022-08-09T15:32:10.478446Z, duration: 10, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html Running Sphinx v5.1.1 /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/semantic_version-2.6.0-py3.8.egg/semantic_version/base.py:94: SyntaxWarning: "is" with a literal. Did you mean "=="? if self.prerelease and self.minor is 0 and self.patch is 0: /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/semantic_version-2.6.0-py3.8.egg/semantic_version/base.py:94: SyntaxWarning: "is" with a literal. Did you mean "=="? if self.prerelease and self.minor is 0 and self.patch is 0: /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/semantic_version-2.6.0-py3.8.egg/semantic_version/base.py:100: SyntaxWarning: "is" with a literal. Did you mean "=="? if self.prerelease and self.patch is 0: WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). making output directory... done [autosummary] generating autosummary for: code/__init__.rst, code/ops.rst, devices.rst, index.rst, installation.rst, support.rst loading intersphinx inventory from https://pennylane.readthedocs.io/en/stable/objects.inv... [automodsumm] code/ops.rst: found 3 automodsumm entries to generate [automodsumm] code/__init__.rst: found 2 automodsumm entries to generate building [mo]: targets for 0 po files that are out of date building [html]: targets for 6 source files that are out of date updating environment: [new config] 11 added, 0 changed, 0 removed reading sources... [ 9%] code/__init__ reading sources... [ 18%] code/api/pennylane_ionq.QPUDevice reading sources... [ 27%] code/api/pennylane_ionq.SimulatorDevice reading sources... [ 36%] code/api/pennylane_ionq.ops.XX reading sources... [ 45%] code/api/pennylane_ionq.ops.YY reading sources... [ 54%] code/api/pennylane_ionq.ops.ZZ reading sources... [ 63%] code/ops reading sources... [ 72%] devices reading sources... [ 81%] index reading sources... [ 90%] installation reading sources... [100%] support /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/PennyLane-0.24.0-py3.8.egg/pennylane/_qubit_device.py:docstring of pennylane._qubit_device.QubitDevice.statistics:21: ERROR: Unknown directive type "details". .. details:: :title: Usage Details The ``shot_range`` and ``bin_size`` arguments allow for the statistics to be performed on only a subset of device samples. This finer level of control is accessible from the main UI by instantiating a device with a batch of shots. For example, consider the following device: >>> dev = qml.device("my_device", shots=[5, (10, 3), 100]) This device will execute QNodes using 135 shots, however measurement statistics will be **course grained** across these 135 shots: * All measurement statistics will first be computed using the first 5 shots --- that is, ``shots_range=[0, 5]``, ``bin_size=5``. * Next, the tuple ``(10, 3)`` indicates 10 shots, repeated 3 times. We will want to use ``shot_range=[5, 35]``, performing the expectation value in bins of size 10 (``bin_size=10``). * Finally, we repeat the measurement statistics for the final 100 shots, ``shot_range=[35, 135]``, ``bin_size=100``. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/stable/lib/python3.8/site-packages/PennyLane-0.24.0-py3.8.egg/pennylane/_qubit_device.py:docstring of pennylane._qubit_device.QubitDevice.statistics:21: ERROR: Unknown directive type "details". .. details:: :title: Usage Details The ``shot_range`` and ``bin_size`` arguments allow for the statistics to be performed on only a subset of device samples. This finer level of control is accessible from the main UI by instantiating a device with a batch of shots. For example, consider the following device: >>> dev = qml.device("my_device", shots=[5, (10, 3), 100]) This device will execute QNodes using 135 shots, however measurement statistics will be **course grained** across these 135 shots: * All measurement statistics will first be computed using the first 5 shots --- that is, ``shots_range=[0, 5]``, ``bin_size=5``. * Next, the tuple ``(10, 3)`` indicates 10 shots, repeated 3 times. We will want to use ``shot_range=[5, 35]``, performing the expectation value in bins of size 10 (``bin_size=10``). * Finally, we repeat the measurement statistics for the final 100 shots, ``shot_range=[35, 135]``, ``bin_size=100``. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/stable/doc/devices.rst:14: WARNING: Title underline too short. Ideal trapped-ion simulator ------------------------ looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 9%] code/__init__ writing output... [ 18%] code/api/pennylane_ionq.QPUDevice writing output... [ 27%] code/api/pennylane_ionq.SimulatorDevice writing output... [ 36%] code/api/pennylane_ionq.ops.XX writing output... [ 45%] code/api/pennylane_ionq.ops.YY writing output... [ 54%] code/api/pennylane_ionq.ops.ZZ writing output... [ 63%] code/ops writing output... [ 72%] devices writing output... [ 81%] index writing output... [ 90%] installation writing output... [100%] support generating indices... genindex py-modindex done highlighting module code... [ 50%] pennylane_ionq.device highlighting module code... [100%] pennylane_ionq.ops 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, 4 warnings. The HTML pages are in _build/html.