Skip to content

Commit

Permalink
Fix faulty merge
Browse files Browse the repository at this point in the history
  • Loading branch information
thangleiter committed Jun 1, 2020
1 parent 6a70c6c commit 580eb01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion filter_functions/pulse_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,12 @@ def is_cached(self, attr: str) -> bool:
'total phases': '_total_phases',
'filter function': '_F',
'fidelity filter function': '_F',
'generalized filter function': '_F_kl',
'pulse correlation filter function': '_F_pc',
'fidelity pulse correlation filter function': '_F_pc',
'control matrix': '_R'}
'generalized pulse correlation filter function': '_F_pc_kl',
'control matrix': '_R',
'pulse correlation control matrix': '_R_pc'}

alias = attr.lower().replace('_', ' ')
if alias in aliases:
Expand Down
1 change: 1 addition & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ def test_pulse_sequence_attributes(self):
'total phases': '_total_phases',
'filter function': '_F',
'fidelity filter function': '_F',
'generalized filter function': '_F_kl',
'pulse correlation filter function': '_F_pc',
'fidelity pulse correlation filter function': '_F_pc',
'generalized pulse correlation filter function': '_F_pc_kl',
Expand Down

0 comments on commit 580eb01

Please sign in to comment.