From 7e41e8307958dad46a638f8f79d19a341bd5a1e5 Mon Sep 17 00:00:00 2001 From: Moritz <44642314+MoritzWillmann@users.noreply.github.com> Date: Tue, 28 Nov 2023 08:18:39 +0100 Subject: [PATCH] Update qiskit_machine_learning/kernels/fidelity_quantum_kernel.py --- qiskit_machine_learning/kernels/fidelity_quantum_kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_machine_learning/kernels/fidelity_quantum_kernel.py b/qiskit_machine_learning/kernels/fidelity_quantum_kernel.py index 6402e972e..8d1dbedb9 100644 --- a/qiskit_machine_learning/kernels/fidelity_quantum_kernel.py +++ b/qiskit_machine_learning/kernels/fidelity_quantum_kernel.py @@ -127,7 +127,7 @@ def _get_parameterization( left_parameters = np.zeros((0, num_features)) right_parameters = np.zeros((0, num_features)) - indices = np.array( + indices = np.asarray( [ (i, j) for i, x_i in enumerate(x_vec)