Skip to content

Add decompose_errors flag to dem_from_kernel #4741

@eliotheinrich

Description

@eliotheinrich

Required prerequisites

  • Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions