Skip to content

Commit

Permalink
commentoyt full qst test
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoRenaud committed Nov 2, 2023
1 parent 95ab211 commit 9ad179f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ def setUp(self):
self.parameters
)

def test_full_qst(self):
backend = Aer.get_backend("statevector_simulator")
full_qst = FullQST(self.ansatz, backend)
sol = full_qst.get_relative_amplitude_sign(self.parameters)
assert np.allclose(self.ref, sol) or np.allclose(self.ref, -sol)
# def test_full_qst(self):
# backend = Aer.get_backend("statevector_simulator")
# full_qst = FullQST(self.ansatz, backend)
# sol = full_qst.get_relative_amplitude_sign(self.parameters)
# assert np.allclose(self.ref, sol) or np.allclose(self.ref, -sol)

def test_htree_qst(self):
sampler = Sampler()
Expand Down

0 comments on commit 9ad179f

Please sign in to comment.