Skip to content

Commit

Permalink
Disable 1 QEC EXPECT_EQ check for ARM vs x86 differences
Browse files Browse the repository at this point in the history
Ref: https://github.com/quantumlib/Stim/blob/main/doc/usage_command_line.md

        When `--seed #` is set, the exact same simulation results will be
        produced every time ASSUMING:

        - the exact same other flags are specified
        - the exact same version of Stim is being used
        - the exact same machine architecture is being used (for example,
            you're not switching from a machine that has AVX2 instructions
            to one that doesn't).

Signed-off-by: Ben Howe <[email protected]>
  • Loading branch information
bmhowe23 committed Jan 9, 2025
1 parent 4bbe5e6 commit 1c26807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/qec/unittests/backend-specific/stim/test_qec_stim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ TEST(QECCodeTester, checkNoisySampleMemoryCircuitAndDecode) {
printf("Lz: %d, xFlips: %d\n", Lz.at({0, 0}), pauli_frame.at({0}));
if (Lz.at({0, 0}) != pauli_frame.at({0}))
numLerrors++;
// No logicals errors for this seed
EXPECT_EQ(0, numLerrors);
// No logicals errors for this seed (FIXME - handle ARM, too)
// EXPECT_EQ(0, numLerrors);
}
{
// Test x-basis and x-flips
Expand Down

0 comments on commit 1c26807

Please sign in to comment.