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

Rename compile because it is used as a built-in function of Python #883

Closed
t-imamichi opened this issue Sep 10, 2018 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@t-imamichi
Copy link
Member

What is the expected enhancement?

Rename compile because it is used as a built-in function of Python. Qiskit hides the built-in function.

@delapuente delapuente added the bug Something isn't working label Sep 10, 2018
@ajavadia
Copy link
Member

Hi @t-imamichi, yes this name collides with the one from Python's standard library. However changing it is not easy as it is one of the most widely used functions of qiskit. Have you recently been in a situation where you wanted to use both?

@t-imamichi
Copy link
Member Author

No. I am not in such a situation. I just hope it will be fixed in the future version.

@jaygambetta
Copy link
Member

please think about it. @diego-plan9 and I discuss and could not think of an example where it would come up. For this reason, we decided to use compile.

I am going to close this issue and if you think of a use case please open again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants