Skip to content

Commit

Permalink
modified tutorials/ansatz.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
damarkian committed Nov 7, 2024
1 parent 77a150a commit 1958939
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/source/tutorials/ansatz.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ An example of how to build a UCC doubles circuit ansatz for the :math:`H_2` mole
.. code-block:: python
from qibochem.driver.molecule import Molecule
from qibochem.ansatz.hf_reference import hf_circuit
from qibochem.ansatz.ucc import ucc_circuit
from qibochem.ansatz import hf_circuit, ucc_circuit
mol = Molecule([("H", (0.0, 0.0, 0.0)), ("H", (0.0, 0.0, 0.74804))])
mol.run_pyscf()
Expand Down Expand Up @@ -151,8 +150,7 @@ An example for the :math:`H_2` molecule is given here:
.. code-block:: python
from qibochem.driver.molecule import Molecule
from qibochem.ansatz.hf_reference import hf_circuit
from qibochem.ansatz.qeb import qeb_circuit
from qibochem.ansatz import hf_circuit, qeb_circuit
mol = Molecule([("H", (0.0, 0.0, 0.0)), ("H", (0.0, 0.0, 0.74804))])
mol.run_pyscf()
Expand Down

0 comments on commit 1958939

Please sign in to comment.