Skip to content

Commit 01fcc43

Browse files
authored
Merge pull request #29 from OpenQuantumComputing/fix_test_mkc_binary
small fix for test case
2 parents b194a17 + f8097e2 commit 01fcc43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/test_maxkcut_binary_problem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def test_MaxKCutBinaryFullH(self):
245245
def test_MaxKCutBinaryPowerTwo_PauliBasisequalDiffusion(self):
246246
# This tests if the Hamiltonians of "method=PauliBasis" is equal to "method=Diffusion" is equal to "method="PowerOfTwo"
247247

248-
theta = np.pi # -1.92748
248+
theta = -1.92748
249249

250250
for k in [3, 5, 6, 7]:
251251
if k in [3, 7]:

0 commit comments

Comments
 (0)