Skip to content

Commit

Permalink
updated tests, included twirling option
Browse files Browse the repository at this point in the history
  • Loading branch information
ptristan3 committed Apr 4, 2024
1 parent 0c165bb commit bda0dab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/test_sampler_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def test_program_inputs(self):
{"execution": {"init_qubits": True}},
{"dynamical_decoupling": {"enable": True, "sequence_type": "XX"}},
{"environment": {"log_level": "ERROR"}},
{"twirling": {"enable_gates": True, "strategy": "active"}},
)
def test_init_options_with_dictionary(self, opts_dict):
"""Test initializing options with dictionaries."""
Expand All @@ -117,6 +118,7 @@ def test_init_options_with_dictionary(self, opts_dict):
"sequence_type": "XX",
"log_level": "INFO",
},
{"twirling": {"enable_gates": True, "strategy": "active"}},
)
def test_update_options(self, new_opts):
"""Test update method."""
Expand Down

0 comments on commit bda0dab

Please sign in to comment.