diff --git a/src/qibo/quantum_info/metrics.py b/src/qibo/quantum_info/metrics.py index 6a4cd9b970..451deb1b38 100644 --- a/src/qibo/quantum_info/metrics.py +++ b/src/qibo/quantum_info/metrics.py @@ -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 diff --git a/tests/test_quantum_info_metrics.py b/tests/test_quantum_info_metrics.py index 3187f1ea6f..6a4f14e143 100644 --- a/tests/test_quantum_info_metrics.py +++ b/tests/test_quantum_info_metrics.py @@ -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)