From b92e0b752eb94de745d6178e524f595fc26e89ad Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 3 Dec 2024 16:21:17 +0800 Subject: [PATCH] Modified GST example --- doc/source/code-examples/advancedexamples.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/code-examples/advancedexamples.rst b/doc/source/code-examples/advancedexamples.rst index 21e25e2465..24c0ead6f5 100644 --- a/doc/source/code-examples/advancedexamples.rst +++ b/doc/source/code-examples/advancedexamples.rst @@ -2240,7 +2240,7 @@ Let's first define the set of gates we want to estimate: from qibo import gates - gate_set = {gates.X, gates.H, gates.CZ} + gate_set = {gates.X(0), gates.H(0), gates.CZ(0, 1)} For simulation purposes we can define a noise model. Naturally this is not needed when running on real quantum hardware, which is intrinsically noisy. For example, we can suppose that the three gates we want to estimate are going to be noisy: