Skip to content

Commit

Permalink
remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyjmurray committed Feb 3, 2024
1 parent 2c6be95 commit 23207f7
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions pygsti/forwardsims/torchfwdsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,42 +61,6 @@ def __init__(self, spc: SeparatePOVMCircuit):
self.prep_label = spc.circuit_without_povm[0]
self.op_labels = spc.circuit_without_povm[1:]
self.povm_label = spc.povm_label

# prep = model.circuit_layer_operator(self.prep_label, typ='prep')
# povm = model.circuit_layer_operator(self.povm_label, 'povm')
# self.input_dim = prep.dim
# self.output_dim = len(povm)

# self.prep_type = type(prep)
""" ^
<class 'pygsti.modelmembers.states.tpstate.TPState'>
<class 'pygsti.modelmembers.states.densestate.DenseState'>
<class 'pygsti.modelmembers.states.densestate.DenseStateInterface'>
<class 'pygsti.modelmembers.states.state.State'>
<class 'pygsti.modelmembers.modelmember.ModelMember'>
"""
# self.op_types = OrderedDict()
# for ol in self.op_labels:
# self.op_types[ol] = type(model.circuit_layer_operator(ol, 'op'))
""" ^ For reasons that I don't understand, this is OFTEN an empty list
in the first step of iterative GST. When it's nonempty, it contains ...
<class 'pygsti.modelmembers.operations.fulltpop.FullTPOp'>
<class 'pygsti.modelmembers.operations.denseop.DenseOperator'>
<class 'pygsti.modelmembers.operations.denseop.DenseOperatorInterface'>
<class 'pygsti.modelmembers.operations.krausop.KrausOperatorInterface'>
<class 'pygsti.modelmembers.operations.linearop.LinearOperator'>
<class 'pygsti.modelmembers.modelmember.ModelMember'>
"""
# self.povm_type = type(povm)
"""
<class 'pygsti.modelmembers.povms.tppovm.TPPOVM'>
<class 'pygsti.modelmembers.povms.basepovm._BasePOVM'>
<class 'pygsti.modelmembers.povms.povm.POVM'>
<class 'pygsti.modelmembers.modelmember.ModelMember'>
<class 'collections.OrderedDict'>
keyed by effectlabels and ConjugatedStatePOVMEffect-valued
"""
return


Expand Down

0 comments on commit 23207f7

Please sign in to comment.