Skip to content

Commit

Permalink
Update mitiq/lre/inference/multivariate_richardson.py
Browse files Browse the repository at this point in the history
Co-authored-by: nate stemen <[email protected]>
  • Loading branch information
purva-thakre and natestemen authored Aug 27, 2024
1 parent 48bae71 commit d81bd6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mitiq/lre/inference/multivariate_richardson.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ def sample_matrix(
for base, exp in zip(scale_factors, exponent):
# raise scale factor value by the exponent dict value
evaluated_terms.append(base**exp)
# multiply both elements in the list to create an evaluated
# monomial term
sample_matrix[i, j] = np.prod(evaluated_terms)

# verify the matrix is square
Expand Down

0 comments on commit d81bd6f

Please sign in to comment.