-
Notifications
You must be signed in to change notification settings - Fork 206
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
Reformatting NLocal Circuit #202
Reformatting NLocal Circuit #202
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed
Is this PR ready to merge? I think we need add some tests to the functions. |
Gotcha, I’ll go ahead and add some tests! |
Just as an FYI, I ended up deviating from comparing the unitaries for these NLocal layers and instead checked if the gates were correct since the NLocal circuits extend BlueprintCircuits in Qiskit and both use parameters. (This is a bit of a todo for me to dive a bit deeper into the comparison of a TQ parameter and Qiskit Parameter.) I have a ton of different configurations for TwoLocal tested and a few for the others. Something we can discuss next time is formatting choices. Currently, the NLocal circuits take as input an architecture dictionary (similar to the other layers), but Qiskit just takes in the wires. I think this change should be fine to make. In addition, Qiskit’s NLocal circuits are actual circuits whereas ours are layers which can be applied to circuits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed
Thank you GenericP3rson for your contributions! |
Similar to #187, breaking NLocal layers into separate layers.