Skip to content

Commit

Permalink
Modified tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mho291 committed May 7, 2024
1 parent e908109 commit 12e58c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_tomography_gate_set_tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def test_gate_tomography_noise_model(backend):
lam = 1.0
noise_model = NoiseModel()
noise_model.add(DepolarizingError(lam))
return noise_model
# return noise_model
target = _gate_tomography(
nqubits=nqubits,
gate=gate,
Expand All @@ -208,7 +208,7 @@ def test_gate_tomography_noise_model(backend):
exact_matrix = np.array([[1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]])
backend.assert_allclose(
target,
estimate,
exact_matrix,
atol=1e-1,
)

Expand Down

0 comments on commit 12e58c3

Please sign in to comment.