From f39864ad76be5efe27ca69a68a83c9e118b45b9a Mon Sep 17 00:00:00 2001 From: Renato Mello Date: Tue, 12 Dec 2023 09:26:19 +0400 Subject: [PATCH] revert changes --- doc/source/getting-started/quickstart.rst | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/doc/source/getting-started/quickstart.rst b/doc/source/getting-started/quickstart.rst index cdda63edd2..d5e65db239 100644 --- a/doc/source/getting-started/quickstart.rst +++ b/doc/source/getting-started/quickstart.rst @@ -23,16 +23,10 @@ Instead, if you use `conda `_ 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) @@ -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))