comment changes
This commit is contained in:
@@ -76,8 +76,6 @@ def make_staircase_matrix(coeffs):
|
|||||||
|
|
||||||
def make_staircase2_matrix(coeffs):
|
def make_staircase2_matrix(coeffs):
|
||||||
"""
|
"""
|
||||||
y = M x with:
|
|
||||||
|
|
||||||
| 1 0 0 0 0 0 0 a1 |
|
| 1 0 0 0 0 0 0 a1 |
|
||||||
| a2 1 0 0 0 0 0 0 |
|
| a2 1 0 0 0 0 0 0 |
|
||||||
| 0 a3 1 0 0 0 0 0 |
|
| 0 a3 1 0 0 0 0 0 |
|
||||||
@@ -160,7 +158,6 @@ def run_exhaustive(steps: int, target_reg: int = 0, target_bit: int = -1):
|
|||||||
target_reg=target_reg, target_bit=target_bit,
|
target_reg=target_reg, target_bit=target_bit,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def run_exhaustive_staircase(steps: int, target_reg: int = 0, target_bit: int = -1):
|
def run_exhaustive_staircase(steps: int, target_reg: int = 0, target_bit: int = -1):
|
||||||
return run_exhaustive_generic(
|
return run_exhaustive_generic(
|
||||||
steps, make_staircase_matrix, n_params=8,
|
steps, make_staircase_matrix, n_params=8,
|
||||||
|
|||||||
Reference in New Issue
Block a user