Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Dec 12, 2023
1 parent e160bdf commit f39864a
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions doc/source/getting-started/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,10 @@ Instead, if you use `conda <https://anaconda.org/>`_ type:

Here an example of Quantum Fourier Transform (QFT) to test your installation:

.. testsetup::
.. testcode::

from qibo.models import QFT

.. doctest::
>>> from qibo import get_backend
:skipif: get_backend() == "clifford"

.. testcode::

# Create a QFT circuit with 15 qubits
circuit = QFT(15)

Expand All @@ -41,17 +35,11 @@ Here an example of Quantum Fourier Transform (QFT) to test your installation:
Here an example of adding gates and measurements:

.. testsetup::
.. testcode::

import numpy as np
from qibo import Circuit, gates

.. doctest::
>>> from qibo import get_backend
:skipif: get_backend() == "clifford"

.. testcode::

c = Circuit(2)
c.add(gates.X(0))

Expand Down

0 comments on commit f39864a

Please sign in to comment.