Skip to content

Commit

Permalink
Add more prints
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-mills-cqc committed Apr 16, 2024
1 parent ccfe92a commit 42b8351
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/automatic_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ jobs:
- name: Test write two to env variable
run: echo "RETURN_TEST=$(python tket/automated_benchmarking/automated_benchmarking.py return-test)" >> $GITHUB_ENV

- name: Test
run: echo $RETURN_TEST

- name: Test run benchmarks
run: python tket/automated_benchmarking/automated_benchmarking.py percentage-better pytket-benchmarking-store/benchmarking_circuits/quantum_volume temp_compiled QiskitIBMQ PytketIBMQ

- name: Test write result to env variable
run: echo "RETURN_TEST=$(python tket/automated_benchmarking/automated_benchmarking.py percentage-better pytket-benchmarking-store/benchmarking_circuits/quantum_volume temp_compiled QiskitIBMQ PytketIBMQ)" >> $GITHUB_ENV

- name: Test
run: echo $RETURN_TEST

- name: Test
run: echo $RETURN_TEST
Expand Down
4 changes: 4 additions & 0 deletions automated_benchmarking/automated_benchmarking.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ def percentage_better(
compiled_path: Annotated[Path, typer.Argument(help="Path to compiled circuits.")],
compilers: Annotated[List[Compilers], typer.Argument(help="Compilers to compare.")],
):

print("compilers", compilers)
print("compiled_path", compiled_path)
print("circuit_suite_path", circuit_suite_path)

storage_manager = LocalStorage(
directory_path=compiled_path,
Expand Down

0 comments on commit 42b8351

Please sign in to comment.