Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point to correct branch #139

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/ucc-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensure the full history is fetched for branch operations

# Checkout the correct branch
- name: Checkout the branch
run: |
BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
echo "Checking out branch: $BRANCH_NAME"
git checkout $BRANCH_NAME
# Build the Docker image
- name: Build Docker image
Expand All @@ -28,12 +37,13 @@ jobs:
-v ${{ github.workspace }}/benchmarks/results:/ucc/benchmarks/results \
ucc-benchmark bash -c "source /venv/bin/activate && ./benchmarks/scripts/run_benchmarks.sh"
# Commit and push benchmark results using a dedicated action
- name: Commit and push results
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions
author_email: [email protected]
message: "Update benchmark results"
add: "benchmarks/results/*"
add: "."
push: true
24 changes: 24 additions & 0 deletions benchmarks/results/gates_2024-12-11.csv
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,27 @@ pytket,qcnn,388,0.040493011474609375,388
cirq,qcnn,388,2.5481464862823486,388
cirq,prep_select,9744,73.22792315483093,9712
cirq,qv,15000,230.78820419311523,14856
qiskit,qaoa_barabasi_albert,1176,0.19065546989440918,1176
pytket,qaoa_barabasi_albert,1176,0.02491593360900879,1176
ucc,qaoa_barabasi_albert,1176,0.6089544296264648,1176
cirq,qaoa_barabasi_albert,1176,7.620911598205566,1176
ucc,qv,15000,10.085904359817505,14856
qiskit,qv,15000,9.826894283294678,14856
ucc,qft,10050,2.9157328605651855,2740
qiskit,qft,10050,0.598933219909668,3244
pytket,qv,15000,7.463933229446411,15000
ucc,square_heisenberg,2160,0.3316502571105957,540
qiskit,square_heisenberg,2160,0.29610729217529297,540
pytket,qft,10050,0.31843996047973633,5890
pytket,square_heisenberg,2160,0.13750028610229492,2160
cirq,square_heisenberg,2160,9.913521766662598,540
ucc,prep_select,9744,7.988763093948364,9702
qiskit,prep_select,9744,1.548689842224121,9708
cirq,qft,10050,50.854281425476074,4648
ucc,qcnn,388,0.15615296363830566,388
qiskit,qcnn,388,0.09864592552185059,388
pytket,qcnn,388,0.020900964736938477,388
pytket,prep_select,9744,0.3424699306488037,9712
cirq,qcnn,388,3.7005414962768555,388
cirq,prep_select,9744,74.17708015441895,9712
cirq,qv,15000,236.04137253761292,14856