-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix QSVM problem wit non-positive semi-definite kernel matrices (qisk…
…it-community/qiskit-aqua#1190) * Update _qsvm_binary.py * move psd approx to static method for kernel matrix creation * only apply PSD approximation for symmetric matrices * remove `print(mat)` from qsvm.py `get_kernel_matrix` * Add unit test to check enforce_psd Co-authored-by: Manoel Marques <Manoel.Marques@ibm.com> Co-authored-by: woodsp <woodsp@us.ibm.com> Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> Co-authored-by: Julien Gacon <gaconju@gmail.com>
- Loading branch information
1 parent
299a596
commit 95e56e2
Showing
2 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters