Skip to content

Commit

Permalink
Fix rendering issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yangliwei committed Mar 1, 2024
1 parent 6a20fa9 commit 705b111
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/source/getting-started/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,24 @@ QiboTN supports two backends cutensornet (using CuQuantum library) and Quimbback

For CuQuantum library,

.. testcode::
.. code-block:: bash
qibo.set_backend(backend="qibotn", platform="cutensornet", runcard=computation_settings)
..
and for Quimb library

.. testcode::
.. code-block:: bash
qibo.set_backend(
backend="qibotn", platform="QuimbBackend", runcard=computation_settings
)
..
Setting the runcard
""""""""""""""""""""
Basic structure of runcard is

.. testcode::
.. code-block:: bash
computation_settings = {
"MPI_enabled": False,
"MPS_enabled": False,
Expand All @@ -32,11 +33,12 @@ Basic structure of runcard is
"pauli_string_pattern": "IXZ",
},
}
..
Basic example
""""""""""""
.. testcode::

.. code-block:: bash
# Construct the circuit
c = Circuit(2)
# Add some gates
Expand All @@ -47,5 +49,3 @@ Basic example
result = c()
print(result.state())

..

0 comments on commit 705b111

Please sign in to comment.