Skip to content

Commit

Permalink
For quadrants, round row half down and column half up
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Dec 15, 2024
1 parent d679128 commit d216f38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rcs/sycamore_2019_elided_quadrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def bench_qrack(width, depth):

row_len, col_len = factor_width(width)
row_bound = row_len >> 1
col_bound = col_len >> 1
col_bound = (col_len + 1) >> 1
lcv_range = range(width)
last_gates = []

Expand Down
2 changes: 1 addition & 1 deletion rcs/sycamore_2019_elided_quadrant_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def bench_qrack(width, depth):

row_len, col_len = factor_width(width)
row_bound = row_len >> 1
col_bound = col_len >> 1
col_bound = (col_len + 1) >> 1
lcv_range = range(width)
last_gates = []

Expand Down
2 changes: 1 addition & 1 deletion rcs/sycamore_2019_patch_quadrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def bench_qrack(width, depth):

row_len, col_len = factor_width(width)
row_bound = row_len >> 1
col_bound = col_len >> 1
col_bound = (col_len + 1) >> 1
lcv_range = range(width)
last_gates = []

Expand Down
2 changes: 1 addition & 1 deletion rcs/sycamore_2019_patch_quadrant_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def bench_qrack(width, depth):

row_len, col_len = factor_width(width)
row_bound = row_len >> 1
col_bound = col_len >> 1
col_bound = (col_len + 1) >> 1
lcv_range = range(width)
last_gates = []

Expand Down

0 comments on commit d216f38

Please sign in to comment.