Stim icon indicating copy to clipboard operation
Stim copied to clipboard

Exposing FrameSimulator to python

Open danielbarter opened this issue 3 years ago • 2 comments

Exposing FrameSimulator to python

danielbarter avatar Sep 15 '22 19:09 danielbarter

Yes, right now all tests using SHARED_TEST_RNG will be copying a single global rng object. That is a good idea to use std::unique_ptr. I was planning on phasing out SHARED_TEST_RNG and just calling externally_seeded_rng directly. Should get to the same place right?

danielbarter avatar Sep 15 '22 21:09 danielbarter

I was planning on phasing out SHARED_TEST_RNG and just calling externally_seeded_rng directly. Should get to the same place right?

Yes, that's what you should do.

Strilanc avatar Sep 15 '22 22:09 Strilanc

I haven't forgotten about this! Hopefully will have some time to work on it next week

danielbarter avatar Oct 20 '22 17:10 danielbarter