Add Thermal Flag
Opened this issue · 1 comments
ngraymon commented
In GitLab by @lhprice on May 16, 2022, 14:42
- maybe eventually have a
thermal
flag?
# unpack kwargs
thermal = kwargs['thermal ']
only_ground_state = kwargs['only_ground_state']
lhs_rhs = kwargs['lhs_rhs']
then we could do
if thermal: # until we work with thermal equations this should always be true (need to remove when working on thermal stuff)
master_omega.operator_list[:] = [p for p in master_omega.operator_list if p.m == 0]
instead of
if True: # until we work with thermal equations this should always be true (need to remove when working on thermal stuff)
master_omega.operator_list[:] = [p for p in master_omega.operator_list if p.m == 0]
lhprice commented
raise notimplemented down the line