def METHOD_NAME(backend, accelerators, i, probs):
    """Check bitflip errors on circuit measurements."""
    backend.set_seed(123)
    c = models.Circuit(5, accelerators=accelerators)
    c.add([gates.X(0), gates.X(2), gates.X(3)])
    c.add(gates.M(0, 1, p0={0: probs[0], 1: probs[1]}))
    c.add(gates.M(3, p0=probs[2]))
    result = backend.execute_circuit(c, nshots=30)
    freqs = result.frequencies(binary=False)
    targets = backend.test_regressions("test_post_measurement_bitflips_on_circuit")
    assert freqs == targets[i]