From 7a585468744a8561a821eb82b5fb4155ca8c3cb8 Mon Sep 17 00:00:00 2001 From: Adrian Mak Date: Wed, 6 Sep 2023 10:28:09 +0800 Subject: [PATCH] ansatz doc updates, sphinxcontrib-katex dependency --- docs/source/getting-started/ansatz.rst | 20 +++++++++++++++++--- pyproject.toml | 1 + 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/source/getting-started/ansatz.rst b/docs/source/getting-started/ansatz.rst index f932e67..05e442c 100644 --- a/docs/source/getting-started/ansatz.rst +++ b/docs/source/getting-started/ansatz.rst @@ -7,20 +7,34 @@ A quantum circuit consisting of parameterized gates RX(theta), RY(theta) and RZ( Hardware Efficient Ansatz ------------------------- -Qibochem provides a hardware efficient ansatz that simply consists of a layer of single qubit rotation gates followed by a layer of two-qubit gates that entangle the qubits. +Qibochem provides a hardware efficient ansatz that simply consists of a layer of single qubit rotation gates followed by a layer of two-qubit gates that entangle the qubits. For the H\ :sub:`2` case discussed in previous sections, a possible hardware efficient ansatz can be constructed as such: .. image:: qibochem_doc_ansatz_hardware-efficient.svg Example ^^^^^^^ +Placeholder for hardware-efficient ansatz example + + Unitary Coupled Cluster Ansatz ------------------------------ -The Unitary Coupled Cluster ansatz [#f1]_ [#f2]_ +The Unitary Coupled Cluster ansatz [#f1]_ [#f2]_ is a variant of the popular gold standard Coupled Cluster ansatz [#f3]_ of quantum chemistry. The unitary coupled cluster wave function is a parameterized unitary transformation of a reference wave function, of which a common choice is the Hartree-Fock wave function. + +.. math:: + + |\psi_{\mathrm{UCC}}\rangle = U(\theta)|\psi_{\mathrm{ref}}\rangle + +Example +^^^^^^^ + +Placeholder for UCCD example .. rubric:: References .. [#f1] Whitfield, J. D. et al., 'Simulation of electronic structure Hamiltonians using quantum computers', Mol. Phys. 109 (2011) 735. -.. [#f2] Anand. A. et al., 'A quantum computing view on unitary coupled cluster theory', Chem. Soc. Rev. 51 (2022) 1659. \ No newline at end of file +.. [#f2] Anand. A. et al., 'A quantum computing view on unitary coupled cluster theory', Chem. Soc. Rev. 51 (2022) 1659. + +.. [#f3] Crawford, T. D. et al., 'An Introduction to Coupled Cluster Theory for Computational Chemists', in Reviews in Computational Chemistry 14 (2007) 33. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index e852f15..de2ba00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ sphinx = "^6.1.3" furo = "^2023.3.27" recommonmark = "^0.7.1" sphinxcontrib-bibtex = "^2.5.0" +sphinxcontrib-katex = "^0.9.7" sphinx-markdown-tables = "^0.0.17" nbsphinx = "^0.9.1" ipython = "^8.12.0"