We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1972c6 commit 6a8bc10Copy full SHA for 6a8bc10
1 file changed
qualtran/_infra/data_types.py
@@ -1078,7 +1078,7 @@ def _quint_equivalent(self) -> QUInt:
1078
def to_gf_coefficients(self, f_x: galois.Poly) -> galois.Array:
1079
"""Returns a big-endian array of coefficients of the polynomial f(x)."""
1080
f_x_coeffs = self.qgf.gf_type.Zeros(self.degree + 1)
1081
- f_x_coeffs[self.degree - f_x.degree:] = f_x.coeffs
+ f_x_coeffs[self.degree - f_x.degree :] = f_x.coeffs
1082
return f_x_coeffs
1083
1084
def from_gf_coefficients(self, f_x: galois.Array) -> galois.Poly:
0 commit comments