From 5df52f3adf772dd3bc87b735deca847a0eee1dd3 Mon Sep 17 00:00:00 2001 From: Craig Gidney Date: Tue, 21 May 2024 14:11:57 -0700 Subject: [PATCH] Test typo fix --- src/stim/util_top/reference_sample_tree.test.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/stim/util_top/reference_sample_tree.test.cc b/src/stim/util_top/reference_sample_tree.test.cc index d6b7ec2c..858a8e66 100644 --- a/src/stim/util_top/reference_sample_tree.test.cc +++ b/src/stim/util_top/reference_sample_tree.test.cc @@ -264,14 +264,5 @@ TEST(ReferenceSampleTree, surface_code_with_pauli_vs_normal_reference_sample) { circuit.blocks[0].append_from_text("X 10 11 12 13"); auto ref = ReferenceSampleTree::from_circuit_reference_sample(circuit); ASSERT_EQ(ref.size(), circuit.count_measurements()); - - std::vector ref_uncompressed; - ref.decompress_into(ref_uncompressed); - simd_bits ref_flat(ref_uncompressed.size()); - for (size_t k = 0; k < ref_uncompressed.size(); k++) { - ref_flat[k] = ref_uncompressed[k]; - } - - auto ref2 = TableauSimulator::reference_sample_circuit(circuit); - ASSERT_EQ(ref_flat, ref2); + expect_tree_matches_normal_reference_sample_of(ref, circuit); }