Skip to content
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

Change all add_* functions to add, modify all related protocol #88

Merged
merged 2 commits into from
May 25, 2021

Conversation

henankf223
Copy link
Contributor

@henankf223 henankf223 commented May 25, 2021

Description

This PR is to resolve the issue "Can we support add for any".
Pybind11 will automaticly try same-name functions (with different input variable) from top. Therefore we only need to link same name to different C++ side functions to resolve this issue.

User Notes

  • Change add_gate, add_circuit, add_term, add_op in each class to add in binding.cc
  • Change all python scripts that use those functions
  • Test runs

Checklist

  • Ready to go!

@henankf223 henankf223 mentioned this pull request May 25, 2021
23 tasks
@fevangelista fevangelista merged commit ce2df0b into evangelistalab:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants