graphix icon indicating copy to clipboard operation
graphix copied to clipboard

Decouple pattern from simulator backends

Open masa10-f opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.

Currently, each simulator backend depends on the pattern class, but they, in principle, only require a part of the information from the pattern. It would be beneficial if each backend were separated from the pattern and became self-contained.

Describe the feature you'd like A clear and concise description of what you want to happen.

Remove the dependency on the pattern class.

Additional context Add any other context or screenshots about the feature request here.

The issue related to Pattern._pauli_preprocessed(#168 ) should be fixed before this issue #167 can be easily done after this issue.

masa10-f avatar Jul 31 '24 23:07 masa10-f

Have a look at https://github.com/TeamGraphix/graphix/pull/178. It is done there.

mgarnier59 avatar Aug 01 '24 07:08 mgarnier59

Thanks! I'll look it over later

masa10-f avatar Aug 01 '24 09:08 masa10-f