Skip to content

Conversation

@edoaltamura
Copy link
Collaborator

Summary

Introduces the QGT and QFI classes from gradients from qiskit-algorithms.

Details and comments

Compatible with V2 primitives and, provided #973 is not merged, qiskit<=1.4.3. Once #973 is merged, these should be compatible with qiskit 2.x.

@coveralls
Copy link

coveralls commented Oct 16, 2025

Pull Request Test Coverage Report for Build 18913674529

Details

  • 306 of 330 (92.73%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 90.824%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit_machine_learning/gradients/utils.py 44 47 93.62%
qiskit_machine_learning/gradients/qfi.py 35 39 89.74%
qiskit_machine_learning/gradients/base/base_qgt.py 103 110 93.64%
qiskit_machine_learning/gradients/lin_comb/lin_comb_qgt.py 100 110 90.91%
Totals Coverage Status
Change from base Build 17752278360: 0.2%
Covered Lines: 4939
Relevant Lines: 5438

💛 - Coveralls

@edoaltamura edoaltamura added the on hold 🛑 Can not fix yet label Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

on hold 🛑 Can not fix yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants