Skip to content

Conversation

@noajshu
Copy link
Contributor

@noajshu noajshu commented Jun 7, 2025

No description provided.

@noajshu noajshu marked this pull request as ready for review June 7, 2025 18:27
@noajshu
Copy link
Contributor Author

noajshu commented Jun 7, 2025

At some point in the past we figured out that there was a define -DNDEBUG=0 needed to make HiGHS integer programming fast. But it seems it got lost somewhere so I've added it back here. Nice 1.5x speedup for the simplex decoder:
r5d5 superdense p=.001 si1000 200 shots
226 seconds to 146 seconds

bazel build  src:simplex && time ./bazel-bin/src/simplex --circuit ./testdata/colorcodes/r=5,d=5,p=0.001,noise=si1000,c=superdense_color_code_X,q=37,gates=cz.stim --sample-num-shots 200 --threads 2 --sample-seed 912485734

num_shots = 200 num_errors = 2 total_time_seconds = 225.8835120000002

build --cxxopt='-DNDEBUG=0' src:simplex && time ./bazel-bin/src/simplex --circuit ./testdata/colorcodes/r=5,d=5,p=0.001,noise=si1000,c=superdense_color_code_X,q=37,gates=cz.stim --sample-num-shots 200 --threads 2 --sample-seed 912485734

num_shots = 200 num_errors = 2 total_time_seconds = 146.193164

@noajshu noajshu merged commit 90d326b into main Jun 7, 2025
3 checks passed
@noajshu noajshu deleted the pin-bazel-version branch June 7, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant