-
Couldn't load subscription status.
- Fork 58
Open
Milestone
Description
I have a CPTP model, and I want to convert spam members in-place to only be TP. The following codepath gets hit in that conversion.
pyGSTi/pygsti/modelmembers/povms/__init__.py
Lines 579 to 582 in 962216e
| if not flatten_structure and isinstance(effect, ComposedPOVMEffect): | |
| return ComposedPOVMEffect(effect.effect_vec.copy(), # don't convert (usually static) effect vec | |
| _mm.operations.convert(effect.error_map, to_type, basis, "identity", | |
| flatten_structure)) |
I don't know if the code's current behavior is intended, but it doesn't return an effect that can be fed into a TPPOVM class.
Comments, @coreyostrove and @sserita?
Metadata
Metadata
Assignees
Labels
No labels