Skip to content

Commit 9a8c77a

Browse files
Liu KeyuLiu Keyu
authored andcommitted
Fix bugs
1 parent 605a264 commit 9a8c77a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mqt/predictor/rl/actions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,9 @@ def get_openqasm_gates() -> list[str]:
496496
stochastic=True,
497497
transpile_pass=lambda device: [
498498
TrivialLayout(coupling_map=CouplingMap(device.build_coupling_map())),
499+
FullAncillaAllocation(coupling_map=CouplingMap(device.build_coupling_map())),
500+
EnlargeWithAncilla(),
501+
ApplyLayout(),
499502
SafeAIRouting(coupling_map=device.build_coupling_map(), optimization_level=3, layout_mode="optimize"),
500503
],
501504
)

0 commit comments

Comments
 (0)