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
I have been looking into this issue and I think I have a fix for this. Because ZZFeatureMap is a child class of PauliFeatureMap I have added a method get_entangler_map() which overrides the method from NLocal (parent class of PauliFeatureMap) for when an entaglement is manually specified. But if the entaglement is not a List[List(int)] the original get_entangler_map() method from NLocal will be used. Will you be able to look at what I have done and give me some feedback?
Sorry, I started working on this issue even though it is not assigned to me.
Environment
What is happening?
CircuitError: 'Number of items in qubits parameter (2) does not match number of qubits in the circuit (1).'
How can we reproduce the issue?
run above
What should happen?
It should work like
TwoLocal
does.Any suggestions?
No response
The text was updated successfully, but these errors were encountered: