Skip to content

Commit

Permalink
undo change
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyjmurray committed Feb 3, 2024
1 parent 1cc944c commit 0e2f051
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pygsti/models/explicitmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,9 +1702,7 @@ def prep_layer_operator(self, model, layerlbl, caches):
State
"""
# No need for caching preps
prep = model.preps[layerlbl]
# print(f'prep is of type {type(prep)}')
return prep
return model.preps[layerlbl] # don't cache this - it's not a new operator

def povm_layer_operator(self, model, layerlbl, caches):
"""
Expand Down

0 comments on commit 0e2f051

Please sign in to comment.