Read the Docs build information Build id: 1061996 Project: xanaduai-pennylane-ionq Version: latest Commit: 82ed1e96aa9b19627e4586818d9aa1db79ef533c Date: 2022-08-22T04:39:33.546982Z State: finished Success: True [rtd-command-info] start-time: 2022-08-22T04:46:28.800289Z, end-time: 2022-08-22T04:46:34.033816Z, duration: 5, 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-22T04:46:34.237111Z, end-time: 2022-08-22T04:46:34.332380Z, 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 82ed1e9 New requirements file structure (#58) [rtd-command-info] start-time: 2022-08-22T04:46:34.520528Z, end-time: 2022-08-22T04:46:34.586326Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-08-22T04:46:35.768980Z, end-time: 2022-08-22T04:46:53.861181Z, duration: 18, 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/latest/bin/python3.8 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2022-08-22T04:46:54.153335Z, end-time: 2022-08-22T04:46:56.010876Z, duration: 1, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools<58.3.0 Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/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 24.7 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 65.2.0 Uninstalling setuptools-65.2.0: Successfully uninstalled setuptools-65.2.0 Successfully installed setuptools-58.2.0 [rtd-command-info] start-time: 2022-08-22T04:46:56.223824Z, end-time: 2022-08-22T04:47:05.268732Z, duration: 9, exit-code: 0 python -m pip install --upgrade --no-cache-dir pillow mock==1.0.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.2 Collecting pillow Downloading Pillow-9.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 65.0 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 302.3 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 195.8 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 233.6 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 208.4 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 297.7 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 300.1 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 240.4 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 279.0 MB/s eta 0:00:00 Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 269.0 MB/s eta 0:00:00 Collecting Pygments>=2.0 Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 294.7 MB/s eta 0:00:00 Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 261.3 MB/s eta 0:00:00 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 268.8 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 212.8 MB/s eta 0:00:00 Collecting importlib-metadata>=4.4 Downloading importlib_metadata-4.12.0-py3-none-any.whl (21 kB) Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 219.5 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 255.6 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 258.2 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 261.8 MB/s eta 0:00:00 Collecting docutils>=0.11 Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 kB 297.8 MB/s eta 0:00:00 Collecting pytz>=2015.7 Downloading pytz-2022.2.1-py2.py3-none-any.whl (500 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 500.6/500.6 kB 301.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 certifi>=2017.4.17 Downloading certifi-2022.6.15-py3-none-any.whl (160 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.2/160.2 kB 275.2 MB/s eta 0:00:00 Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.11-py2.py3-none-any.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.9/139.9 kB 278.9 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 249.1 MB/s eta 0:00:00 Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 256.9 MB/s eta 0:00:00 Building wheels for collected packages: mock, 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=886540a17d87c80d9f340cc21babe49ead1fc69a47db47af78e5d6117eba147a Stored in directory: /tmp/pip-ephem-wheel-cache-w9km55lq/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 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=2c67da4fa6aafa99c875434afb5aec0e0d0e599acbcf2e0fda25dc27b016ac00 Stored in directory: /tmp/pip-ephem-wheel-cache-w9km55lq/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 Successfully built mock 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.13.0 alabaster-0.7.12 babel-2.10.3 certifi-2022.6.15 charset-normalizer-2.1.1 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-9.2.0 pyparsing-3.0.9 pytz-2022.2.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-22T04:47:05.456676Z, end-time: 2022-08-22T04:47:26.651295Z, duration: 21, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Requirement already satisfied: alabaster==0.7.12 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 1)) (0.7.12) Collecting appdirs==1.4.4 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting autograd==1.4 Downloading autograd-1.4-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.8/48.8 kB 9.5 MB/s eta 0:00:00 Collecting autoray==0.3.2 Downloading autoray-0.3.2-py3-none-any.whl (36 kB) Requirement already satisfied: Babel==2.10.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 5)) (2.10.3) Collecting cachetools==5.2.0 Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting certifi==2022.5.18.1 Downloading certifi-2022.5.18.1-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.2/155.2 kB 29.9 MB/s eta 0:00:00 Collecting charset-normalizer==2.0.12 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting docutils==0.18.1 Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.0/570.0 kB 78.3 MB/s eta 0:00:00 Requirement already satisfied: future==0.18.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 10)) (0.18.2) Requirement already satisfied: idna==3.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 11)) (3.3) Collecting imagesize==1.3.0 Downloading imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB) Requirement already satisfied: Jinja2==3.1.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 13)) (3.1.2) Requirement already satisfied: MarkupSafe==2.1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 14)) (2.1.1) Collecting networkx==2.6.0 Downloading networkx-2.6-py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 166.4 MB/s eta 0:00:00 Collecting ninja==1.10.2.3 Downloading ninja-1.10.2.3-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (108 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.1/108.1 kB 278.0 MB/s eta 0:00:00 Collecting numpy==1.22.4 Downloading numpy-1.22.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.9/16.9 MB 235.6 MB/s eta 0:00:00 Requirement already satisfied: packaging==21.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 18)) (21.3) Collecting PennyLane==0.24.0 Downloading PennyLane-0.24.0-py3-none-any.whl (957 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 957.4/957.4 kB 304.2 MB/s eta 0:00:00 Collecting PennyLane-Lightning==0.24.0 Downloading PennyLane_Lightning-0.24.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.4/9.4 MB 249.4 MB/s eta 0:00:00 Collecting Pygments==2.12.0 Downloading Pygments-2.12.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 297.4 MB/s eta 0:00:00 Requirement already satisfied: pyparsing==3.0.9 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 22)) (3.0.9) Collecting python-dateutil==2.8.2 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 287.7 MB/s eta 0:00:00 Collecting pytz==2022.1 Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 kB 287.9 MB/s eta 0:00:00 Collecting requests==2.28.0 Downloading requests-2.28.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 239.5 MB/s eta 0:00:00 Collecting retworkx==0.11.0 Downloading retworkx-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 295.2 MB/s eta 0:00:00 Collecting scipy==1.8.1 Downloading scipy-1.8.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.6/41.6 MB 241.3 MB/s eta 0:00:00 Collecting semantic-version==2.6.0 Downloading semantic_version-2.6.0-py3-none-any.whl (14 kB) Collecting six==1.16.0 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Requirement already satisfied: snowballstemmer==2.2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 30)) (2.2.0) Collecting Sphinx==5.0.2 Downloading Sphinx-5.0.2-py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 263.2 MB/s eta 0:00:00 Collecting sphinx-automodapi==0.14.1 Downloading sphinx_automodapi-0.14.1-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.0/77.0 kB 243.2 MB/s eta 0:00:00 Requirement already satisfied: sphinxcontrib-applehelp==1.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 33)) (1.0.2) Requirement already satisfied: sphinxcontrib-devhelp==1.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 34)) (1.0.2) Requirement already satisfied: sphinxcontrib-htmlhelp==2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 35)) (2.0.0) Requirement already satisfied: sphinxcontrib-jsmath==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 36)) (1.0.1) Requirement already satisfied: sphinxcontrib-qthelp==1.0.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 37)) (1.0.3) Requirement already satisfied: sphinxcontrib-serializinghtml==1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from -r doc/requirements.txt (line 38)) (1.1.5) Collecting toml==0.10.2 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting urllib3==1.26.9 Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.0/139.0 kB 249.7 MB/s eta 0:00:00 Collecting matplotlib>=3.3 Downloading matplotlib-3.5.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 243.7 MB/s eta 0:00:00 Collecting pandas>=1.1 Downloading pandas-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 249.0 MB/s eta 0:00:00 Requirement already satisfied: importlib-metadata>=4.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from Sphinx==5.0.2->-r doc/requirements.txt (line 31)) (4.12.0) Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from importlib-metadata>=4.4->Sphinx==5.0.2->-r doc/requirements.txt (line 31)) (3.8.1) Collecting fonttools>=4.22.0 Downloading fonttools-4.36.0-py3-none-any.whl (950 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 950.4/950.4 kB 299.3 MB/s eta 0:00:00 Requirement already satisfied: pillow>=6.2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages (from matplotlib>=3.3->networkx==2.6.0->-r doc/requirements.txt (line 15)) (9.2.0) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.4.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 289.6 MB/s eta 0:00:00 Collecting cycler>=0.10 Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB) WARNING: The candidate selected for download or install is a yanked version: 'networkx' candidate (version 2.6 at https://files.pythonhosted.org/packages/b2/87/30ed9e62d5459bbf22b335fc2d9d1faf979d44b1c55a1f0455da0afd756e/networkx-2.6-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.7)) Reason for being yanked: Need to resolve: https://github.com/networkx/networkx/pull/4967 Installing collected packages: semantic-version, pytz, ninja, appdirs, urllib3, toml, six, Pygments, numpy, kiwisolver, imagesize, fonttools, docutils, cycler, charset-normalizer, certifi, cachetools, scipy, retworkx, requests, python-dateutil, autoray, autograd, Sphinx, pandas, matplotlib, sphinx-automodapi, networkx, PennyLane-Lightning, PennyLane Attempting uninstall: pytz Found existing installation: pytz 2022.2.1 Uninstalling pytz-2022.2.1: Successfully uninstalled pytz-2022.2.1 Attempting uninstall: urllib3 Found existing installation: urllib3 1.26.11 Uninstalling urllib3-1.26.11: Successfully uninstalled urllib3-1.26.11 Attempting uninstall: Pygments Found existing installation: Pygments 2.13.0 Uninstalling Pygments-2.13.0: Successfully uninstalled Pygments-2.13.0 Attempting uninstall: imagesize Found existing installation: imagesize 1.4.1 Uninstalling imagesize-1.4.1: Successfully uninstalled imagesize-1.4.1 Attempting uninstall: docutils Found existing installation: docutils 0.17.1 Uninstalling docutils-0.17.1: Successfully uninstalled docutils-0.17.1 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 2.1.1 Uninstalling charset-normalizer-2.1.1: Successfully uninstalled charset-normalizer-2.1.1 Attempting uninstall: certifi Found existing installation: certifi 2022.6.15 Uninstalling certifi-2022.6.15: Successfully uninstalled certifi-2022.6.15 Attempting uninstall: requests Found existing installation: requests 2.28.1 Uninstalling requests-2.28.1: Successfully uninstalled requests-2.28.1 Attempting uninstall: Sphinx Found existing installation: Sphinx 5.1.1 Uninstalling Sphinx-5.1.1: Successfully uninstalled Sphinx-5.1.1 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. sphinx-rtd-theme 1.0.0 requires docutils<0.18, but you have docutils 0.18.1 which is incompatible. Successfully installed PennyLane-0.24.0 PennyLane-Lightning-0.24.0 Pygments-2.12.0 Sphinx-5.0.2 appdirs-1.4.4 autograd-1.4 autoray-0.3.2 cachetools-5.2.0 certifi-2022.5.18.1 charset-normalizer-2.0.12 cycler-0.11.0 docutils-0.18.1 fonttools-4.36.0 imagesize-1.3.0 kiwisolver-1.4.4 matplotlib-3.5.3 networkx-2.6 ninja-1.10.2.3 numpy-1.22.4 pandas-1.4.3 python-dateutil-2.8.2 pytz-2022.1 requests-2.28.0 retworkx-0.11.0 scipy-1.8.1 semantic-version-2.6.0 six-1.16.0 sphinx-automodapi-0.14.1 toml-0.10.2 urllib3-1.26.9 [rtd-command-info] start-time: 2022-08-22T04:47:26.837286Z, end-time: 2022-08-22T04:47:27.529542Z, duration: 0, exit-code: 0 python /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/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 /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages/setuptools/dist.py:487: UserWarning: Normalizing '0.24.0-dev' to '0.24.0.dev0' warnings.warn(tmpl.format(**locals())) zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/PennyLane_IonQ-0.24.0.dev0-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.24.0.dev0-py3.8.egg Copying PennyLane_IonQ-0.24.0.dev0-py3.8.egg to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Adding PennyLane-IonQ 0.24.0.dev0 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages/PennyLane_IonQ-0.24.0.dev0-py3.8.egg Processing dependencies for PennyLane-IonQ==0.24.0.dev0 Searching for requests==2.28.0 Best match: requests 2.28.0 Adding requests 2.28.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for python-dateutil==2.8.2 Best match: python-dateutil 2.8.2 Adding python-dateutil 2.8.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for numpy==1.22.4 Best match: numpy 1.22.4 Adding numpy 1.22.4 to easy-install.pth file Installing f2py script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Installing f2py3 script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Installing f2py3.8 script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for PennyLane==0.24.0 Best match: PennyLane 0.24.0 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/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/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/latest/lib/python3.8/site-packages Searching for certifi==2022.5.18.1 Best match: certifi 2022.5.18.1 Adding certifi 2022.5.18.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for urllib3==1.26.9 Best match: urllib3 1.26.9 Adding urllib3 1.26.9 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for charset-normalizer==2.0.12 Best match: charset-normalizer 2.0.12 Adding charset-normalizer 2.0.12 to easy-install.pth file Installing normalizer script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for six==1.16.0 Best match: six 1.16.0 Adding six 1.16.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for appdirs==1.4.4 Best match: appdirs 1.4.4 Adding appdirs 1.4.4 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for PennyLane-Lightning==0.24.0 Best match: PennyLane-Lightning 0.24.0 Adding PennyLane-Lightning 0.24.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for networkx==2.6 Best match: networkx 2.6 Adding networkx 2.6 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for cachetools==5.2.0 Best match: cachetools 5.2.0 Adding cachetools 5.2.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for autoray==0.3.2 Best match: autoray 0.3.2 Adding autoray 0.3.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for toml==0.10.2 Best match: toml 0.10.2 Adding toml 0.10.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for autograd==1.4 Best match: autograd 1.4 Adding autograd 1.4 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for semantic-version==2.6.0 Best match: semantic-version 2.6.0 Adding semantic-version 2.6.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for retworkx==0.11.0 Best match: retworkx 0.11.0 Adding retworkx 0.11.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for scipy==1.8.1 Best match: scipy 1.8.1 Adding scipy 1.8.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for ninja==1.10.2.3 Best match: ninja 1.10.2.3 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/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for pandas==1.4.3 Best match: pandas 1.4.3 Adding pandas 1.4.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for matplotlib==3.5.3 Best match: matplotlib 3.5.3 Adding matplotlib 3.5.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/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/latest/bin Installing pasteurize script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for pytz==2022.1 Best match: pytz 2022.1 Adding pytz 2022.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for pyparsing==3.0.9 Best match: pyparsing 3.0.9 Adding pyparsing 3.0.9 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for kiwisolver==1.4.4 Best match: kiwisolver 1.4.4 Adding kiwisolver 1.4.4 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for packaging==21.3 Best match: packaging 21.3 Adding packaging 21.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for Pillow==9.2.0 Best match: Pillow 9.2.0 Adding Pillow 9.2.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for cycler==0.11.0 Best match: cycler 0.11.0 Adding cycler 0.11.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Searching for fonttools==4.36.0 Best match: fonttools 4.36.0 Adding fonttools 4.36.0 to easy-install.pth file Installing fonttools script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Installing pyftmerge script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Installing pyftsubset script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Installing ttx script to /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages Finished processing dependencies for PennyLane-IonQ==0.24.0.dev0 [rtd-command-info] start-time: 2022-08-22T04:47:28.998473Z, end-time: 2022-08-22T04:47:29.084748Z, 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': "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/"), ], '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': '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': '82ed1e96', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/xanaduai-pennylane-ionq/builds/1061996/' 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-22T04:47:29.282419Z, end-time: 2022-08-22T04:48:04.974169Z, duration: 35, exit-code: 0 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html Running Sphinx v5.0.2 Matplotlib is building the font cache; this may take a moment. WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge 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/__init__.rst: found 8 automodsumm entries to generate [automodsumm] code/ops.rst: found 6 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] 20 added, 0 changed, 0 removed reading sources... [ 5%] code/__init__ reading sources... [ 10%] code/api/pennylane_ionq.GPI reading sources... [ 15%] code/api/pennylane_ionq.GPI2 reading sources... [ 20%] code/api/pennylane_ionq.MS reading sources... [ 25%] code/api/pennylane_ionq.QPUDevice reading sources... [ 30%] code/api/pennylane_ionq.SimulatorDevice reading sources... [ 35%] code/api/pennylane_ionq.XX reading sources... [ 40%] code/api/pennylane_ionq.YY reading sources... [ 45%] code/api/pennylane_ionq.ZZ reading sources... [ 50%] code/api/pennylane_ionq.ops.GPI reading sources... [ 55%] code/api/pennylane_ionq.ops.GPI2 reading sources... [ 60%] code/api/pennylane_ionq.ops.MS reading sources... [ 65%] code/api/pennylane_ionq.ops.XX reading sources... [ 70%] code/api/pennylane_ionq.ops.YY reading sources... [ 75%] code/api/pennylane_ionq.ops.ZZ reading sources... [ 80%] code/ops reading sources... [ 85%] devices reading sources... [ 90%] index reading sources... [ 95%] installation reading sources... [100%] support /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/pennylane_ionq/ops.py:docstring of pennylane_ionq.ops.GPI:10: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/pennylane_ionq/ops.py:docstring of pennylane_ionq.ops.GPI2:10: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/pennylane_ionq/ops.py:docstring of pennylane_ionq.ops.MS:12: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/envs/latest/lib/python3.8/site-packages/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/latest/lib/python3.8/site-packages/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/latest/pennylane_ionq/ops.py:docstring of pennylane_ionq.ops.GPI:10: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/pennylane_ionq/ops.py:docstring of pennylane_ionq.ops.GPI2:10: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/pennylane_ionq/ops.py:docstring of pennylane_ionq.ops.MS:12: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/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... [ 5%] code/__init__ writing output... [ 10%] code/api/pennylane_ionq.GPI writing output... [ 15%] code/api/pennylane_ionq.GPI2 writing output... [ 20%] code/api/pennylane_ionq.MS writing output... [ 25%] code/api/pennylane_ionq.QPUDevice writing output... [ 30%] code/api/pennylane_ionq.SimulatorDevice writing output... [ 35%] code/api/pennylane_ionq.XX writing output... [ 40%] code/api/pennylane_ionq.YY writing output... [ 45%] code/api/pennylane_ionq.ZZ writing output... [ 50%] code/api/pennylane_ionq.ops.GPI writing output... [ 55%] code/api/pennylane_ionq.ops.GPI2 writing output... [ 60%] code/api/pennylane_ionq.ops.MS writing output... [ 65%] code/api/pennylane_ionq.ops.XX writing output... [ 70%] code/api/pennylane_ionq.ops.YY writing output... [ 75%] code/api/pennylane_ionq.ops.ZZ writing output... [ 80%] code/ops writing output... [ 85%] devices writing output... [ 90%] index writing output... [ 95%] installation writing output... [100%] support /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/doc/index.rst:34: WARNING: more than one target found for cross-reference 'XX': pennylane_ionq.XX, pennylane_ionq.ops.XX /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/doc/index.rst:34: WARNING: more than one target found for cross-reference 'YY': pennylane_ionq.YY, pennylane_ionq.ops.YY /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-ionq/checkouts/latest/doc/index.rst:34: WARNING: more than one target found for cross-reference 'ZZ': pennylane_ionq.ZZ, pennylane_ionq.ops.ZZ 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, 13 warnings. The HTML pages are in _build/html.