Required prerequisites
Describe the feature
For integrating detectors/logical observables into CUDA-Q Libraries, we need access to error-decomposed (i.e. graphlike) DEMs. The current path called by dem_from_kernel has hardcoded decompose_errors=false in StimCircuitSimulator.cpp:generateDem; since the actual decomposition is ultimately relegated to stim, we can get this functionality by just wiring up a flag.
Required prerequisites
Describe the feature
For integrating detectors/logical observables into CUDA-Q Libraries, we need access to error-decomposed (i.e. graphlike) DEMs. The current path called by
dem_from_kernelhas hardcodeddecompose_errors=falseinStimCircuitSimulator.cpp:generateDem; since the actual decomposition is ultimately relegated to stim, we can get this functionality by just wiring up a flag.