Skip to content

Commit 2e44e03

Browse files
committed
Fix lint
1 parent 1c3f25c commit 2e44e03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tensorflow_quantum/core/ops/math_ops/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ==============================================================================
1515
"""Module for tfq.core.ops.math_ops.*"""
1616

17-
from tensorflow_quantum.core.ops.math_ops.inner_product_op import inner_product
18-
from tensorflow_quantum.core.ops.math_ops.inner_product_op import inner_product_hessian
17+
from tensorflow_quantum.core.ops.math_ops.inner_product_op import (
18+
inner_product, inner_product_hessian)

tensorflow_quantum/core/ops/math_ops/inner_product_hessian_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def get_finite_difference_hessian(circuit, name_j, name_k, resolver):
106106

107107

108108
class InnerProductAdjHessianTest(tf.test.TestCase, parameterized.TestCase):
109-
"""Tests tfq_inner_product_hessian."""s
109+
"""Tests tfq_inner_product_hessian."""
110110

111111
def test_inner_product_hessian_inputs(self):
112112
"""Makes sure that inner_product_adj_hessian fails on bad inputs."""

0 commit comments

Comments
 (0)