You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
Yes, you are right! I'll change it to take the grouping from self and note that in the docstring. (The prior method seems to have the same problem too). BTW thanks for providing these samples that show the failure - they are super helpful.
Information
What is the current behavior?
Multiplying two instances of
TPBGroupedWeightedPauliOperator
fails.Steps to reproduce the problem
What is the expected behavior?
The multiplication should go through and produce an instance of
TPBGroupedWeightedPauliOperator
.Suggested solutions
My guess is that on Line 226, it should read maybe:
so that the resulting
TPBGroupedWeightedPauliOperator
is produced using one of the available grouping functions (either fromself
orother
).https://github.com/Qiskit/qiskit-aqua/blob/0.6.5/qiskit/aqua/operators/tpb_grouped_weighted_pauli_operator.py#L226
The text was updated successfully, but these errors were encountered: