From a83f05988ee9a6d7eb68ee3b2dcd5189b1aab22d Mon Sep 17 00:00:00 2001 From: Misty-W <82074193+Misty-W@users.noreply.github.com> Date: Fri, 26 Jan 2024 21:33:56 -0800 Subject: [PATCH] Fix typo in circuit causing wrong loss fn vals --- docs/source/examples/learning-depolarizing-noise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/examples/learning-depolarizing-noise.md b/docs/source/examples/learning-depolarizing-noise.md index e8d1456ebd..2419e1c3be 100644 --- a/docs/source/examples/learning-depolarizing-noise.md +++ b/docs/source/examples/learning-depolarizing-noise.md @@ -50,7 +50,7 @@ Here we use a simple Rx-Rz-CNOT circuit, with an (optional) seed for reproducibi ```{code-cell} ipython3 circuit = random_x_z_cnot_circuit( - LineQubit.range(2), n_moments=10, random_state=np.random.RandomState(1) + LineQubit.range(2), n_moments=5, random_state=np.random.RandomState(1) ) print(circuit) ```