-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve unit tests when batching is used in QuantumKernel #242
Labels
Comments
adekusar-drl
added
priority: medium
type: enhancement ✨
Features or aspects to improve
labels
Oct 11, 2021
declanmillar
added a commit
to declanmillar/qiskit-machine-learning
that referenced
this issue
Feb 8, 2022
declanmillar
added a commit
to declanmillar/qiskit-machine-learning
that referenced
this issue
Feb 8, 2022
adekusar-drl
added a commit
that referenced
this issue
Feb 11, 2022
* add unit tests for QuantumKernel batching (#242) * update comment (#242) * fix linter errors * use TestCase signature in inheritance * use double quotes * fix copyright dates * move declaration of circuits_counts to setUp * remove class generator and override execute directly * update function docstring * update test class docstring * patch instances not class * fix style * replace adhoc data and comment on source * remove test data and update comment Co-authored-by: Anton Dekusar <62334182+adekusar-drl@users.noreply.github.com>
oscar-wallis
pushed a commit
that referenced
this issue
Feb 16, 2024
* add unit tests for QuantumKernel batching (#242) * update comment (#242) * fix linter errors * use TestCase signature in inheritance * use double quotes * fix copyright dates * move declaration of circuits_counts to setUp * remove class generator and override execute directly * update function docstring * update test class docstring * patch instances not class * fix style * replace adhoc data and comment on source * remove test data and update comment Co-authored-by: Anton Dekusar <62334182+adekusar-drl@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the expected enhancement?
Recently
QuantumKernel
was improved when a statevector simulator is used, see #209. This modification makes use ofbatch_size
parameter. The unit tests does not verify that this parameter is used correctly cause such check requires intercepting the calls toQuantumInstance
. This issue is raised to improve the tests in this regard. For more details see the above mentioned PR.The text was updated successfully, but these errors were encountered: