From 4bc13cb8adf29f9b395a5306f6a11037576081d7 Mon Sep 17 00:00:00 2001 From: Victory Omole Date: Thu, 14 Aug 2025 16:06:11 -0500 Subject: [PATCH 1/2] Fix `PAULI_CHANNEL_2` example snippet. --- doc/gates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/gates.md b/doc/gates.md index a2eb4fc47..f7d3262e0 100644 --- a/doc/gates.md +++ b/doc/gates.md @@ -3579,7 +3579,7 @@ Example: # Sample errors from the distribution 10% XX, 20% YZ, 70% II. # Apply independently to qubit pairs (1,2), (5,6), and (8,3) - PAULI_CHANNEL_2(0,0,0, 0.1,0,0,0, 0,0,0,0.2, 0,0,0,0) 1 2 5 6 8 3 + PAULI_CHANNEL_2(0,0,0, 0,0.1,0,0, 0,0,0,0.2, 0,0,0,0) 1 2 5 6 8 3 Pauli Mixture: From d967eaaa049611a65cf920c6ba2d8e6eb562f64f Mon Sep 17 00:00:00 2001 From: vtomole Date: Tue, 30 Sep 2025 21:20:14 -0500 Subject: [PATCH 2/2] Update docstring --- src/stim/gates/gate_data_noisy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stim/gates/gate_data_noisy.cc b/src/stim/gates/gate_data_noisy.cc index 2b7c66d73..dec411215 100644 --- a/src/stim/gates/gate_data_noisy.cc +++ b/src/stim/gates/gate_data_noisy.cc @@ -404,7 +404,7 @@ Parens Arguments: # Sample errors from the distribution 10% XX, 20% YZ, 70% II. # Apply independently to qubit pairs (1,2), (5,6), and (8,3) - PAULI_CHANNEL_2(0,0,0, 0.1,0,0,0, 0,0,0,0.2, 0,0,0,0) 1 2 5 6 8 3 + PAULI_CHANNEL_2(0,0,0, 0,0.1,0,0, 0,0,0,0.2, 0,0,0,0) 1 2 5 6 8 3 Pauli Mixture: