Skip to content

Commit

Permalink
pro-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alonkukl committed Jul 1, 2024
1 parent dabb9dd commit cef123a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/gate_deletion_syth.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from timeit import default_timer as timer

from bqskit import Circuit
from bqskit import enable_logging
from bqskit.compiler import Compiler
from bqskit.passes import ForEachBlockPass
from bqskit.passes import QuickPartitioner
Expand All @@ -18,6 +19,9 @@
from qfactorjax.qfactor import QFactorJax


enable_logging()


def run_gate_del_flow_example(
amount_of_workers: int = 10,
) -> tuple[Circuit, Circuit, float]:
Expand Down Expand Up @@ -102,7 +106,9 @@ def run_gate_del_flow_example(

if __name__ == '__main__':

in_circuit, out_circuit, run_time = run_gate_del_flow_example()
in_circuit, out_circuit, run_time = run_gate_del_flow_example(
amount_of_workers=1,
)

print(
f'Partitioning + Synthesis took {run_time}'
Expand Down

0 comments on commit cef123a

Please sign in to comment.