Ran
|
Files
44
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
github
Bug/607 fidelity statevector kernel cannot be pickled (#778) (#782) * Made fidelity_statevector_kernel picklable Added a new param to store cache size and a custom __getstate__ and __setstate__ to handle removing and re-initliasing the lru cache during pickle/unpickling respectively. * updated notes * name changes * spell corrections * Updated description * Added unittest for pickling * Spelling changes * Making error messages clearer * Spelling -_- * Update releasenotes/notes/fix-fid_statevector_kernel-pickling-b7fa2b13a15ec9c6.yaml Co-authored-by: Declan Millar <declan.millar@ibm.com> * Update .gitignore Co-authored-by: Declan Millar <declan.millar@ibm.com> * Update test/kernels/test_fidelity_statevector_kernel.py Co-authored-by: Declan Millar <declan.millar@ibm.com> * Update qiskit_machine_learning/kernels/fidelity_statevector_kernel.py Co-authored-by: Declan Millar <declan.millar@ibm.com> * Update test/kernels/test_fidelity_statevector_kernel.py Co-authored-by: Declan Millar <declan.millar@ibm.com> * Update qiskit_machine_learning/kernels/fidelity_statevector_kernel.py Co-authored-by: Declan Millar <declan.millar@ibm.com> * Added Any class --------- Co-authored-by: M. Emre Sahin <40424147+OkuyanBoga@users.noreply.github.com> Co-authored-by: Declan Millar <declan.millar@ibm.com> Co-authored-by: Anton Dekusar <62334182+adekusar-drl@users.noreply.github.com> (cherry picked from commit c59063af0) Co-authored-by: oscar-wallis <108736468+oscar-wallis@users.noreply.github.com>
1895 of 2045 relevant lines covered (92.67%)
0.93 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|