Skip to content

Commit d1999e8

Browse files
committedNov 10, 2021
testing for prop method included
1 parent 58d80bd commit d1999e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎test/test_optim_init.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ def test_create_c1() -> None:
4949
cfg.pop("optim_type")
5050
cfg.pop("gateset_opt_map")
5151
cfg.pop("opt_gates")
52-
53-
exp = Experiment()
52+
exp = Experiment(prop_method=cfg.pop("propagation_method", None))
5453
exp.read_config(cfg.pop("exp_cfg"))
5554
OptimalControl(**cfg, pmap=exp.pmap)
5655

0 commit comments

Comments
 (0)