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 system path additions #253

Open
wants to merge 4 commits into
base: __old-add-maxcut-benchmark-MERGED
Choose a base branch
from

Conversation

PratikSathe
Copy link
Contributor

@PratikSathe PratikSathe commented Dec 14, 2022

use __file__ in any module that is imported.
This method allows one to import, for example, maxcut/qiskit/maxcut_benchmark.py from a location which is different from maxcut/qiskit/ directory. Previous way of adding system path did not work in this case.

use __file__ in any module that is imported.
This method allows one to import, for example, `maxcut/qiskit/maxcut_benchmark.py` from a location which is different from `maxcut/qiskit/` directory. Previous way of adding system path did not work in this case.
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

1 participant