Skip to content

Commit

Permalink
remove print and comment lines
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Oct 15, 2024
1 parent e813f56 commit 2495854
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/qibo/quantum_info/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def quantum_fisher_information_matrix(
copied.set_parameters(parameters)

state = backend.execute_circuit(copied, initial_state=initial_state).state()
print(state.dtype, jacobian.dtype)

overlaps = jacobian.T @ state

qfim = jacobian.T @ jacobian
Expand Down
1 change: 0 additions & 1 deletion tests/test_quantum_info_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,5 @@ def test_qfim(backend, nqubits, return_complex, params_flag):
qfim = quantum_fisher_information_matrix(
circuit, params, return_complex=return_complex, backend=backend
)
# qfim = backend.cast(qfim, dtype=np.float64)

backend.assert_allclose(qfim, target, atol=1e-6)

0 comments on commit 2495854

Please sign in to comment.