[Enhancement] Callback for PegasosQSVC

Open
#599 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Locate the PegasosQSVC training implementation and compare its callback behavior with qiskit_machine_learning/algorithms/classifiers/vqc.py. Identify how the objective function is produced during training and define the callback invocation and arguments. Done means users can monitor that objective while PegasosQSVC trains, with tests covering the behavior.

Written by the indexing model from the issue text.

Description

priority: low type: feature request 💡
What should we add?

Hello, I'm new to the Qiskit community. I was wondering if it would be possible to add a callback function that allows users to monitor the objective function during training of PegasosQSVC - similar to what is available with VQC.

Happy to try and work on that if given some direction.

Thanks,
T

Dominant language
Python
Stars
1.1k
Forks
457
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stfc/qiskit-machine-learning

All issues in stfc/qiskit-machine-learning

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.