Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Rakyta committed Feb 2, 2024
1 parent 0687911 commit 4cb9a5e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions examples/squander_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
import pickle
# import


# define the largest partition in circuit
largest_partition = 5



start_squander = time.time()


Expand All @@ -42,7 +48,7 @@


task = CompilationTask(bqskit_circuit_original, [
QuickPartitioner(4),
QuickPartitioner( largest_partition ),
ForEachBlockPass([SquanderSynthesisPass(squander_config=config, optimizer_engine="AGENTS" ), ScanningGateRemovalPass()]),
UnfoldPass(),
])
Expand Down Expand Up @@ -96,7 +102,7 @@


task = CompilationTask(bqskit_circuit_original, [
QuickPartitioner(4),
QuickPartitioner( largest_partition ),
ForEachBlockPass([QSearchSynthesisPass(), ScanningGateRemovalPass()]),
UnfoldPass(),
])
Expand Down

0 comments on commit 4cb9a5e

Please sign in to comment.