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

Qrispqiro quark #136

Merged
merged 35 commits into from
Dec 3, 2024
Merged

Conversation

Nik-SteinFraunh
Copy link
Contributor

Integration of Qrisp QIRO for MIS.
Includes:
mapping
solver
device

  • new graph creation scheme (have to talk about the options maybe), post-process functionality

src/modules/solvers/QrispQIRO.py Outdated Show resolved Hide resolved
given option.

:param option: The chosen option
:type option: str
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marvmann The specification of types is no longer needed since #142 right? This applies to multiple places in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. I will make sure the style matches the rest of the code after the changes in #142. Same for syncing it with the new structure introduced in Release 2.1.1.

depending_submodules = True
if not depending_submodules:
available_submodules = module.get_available_submodule_options()
more_module_config = {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need a comment explaining module_config, more_module_config and full_module_config.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good idea.

@@ -3568,4 +3568,4 @@
"requirements": []
}
]
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marvmann Is "qrisp" now a new dependency? If yes the module_db should be updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, and module_db has been adjusted!


full_application_config = ConfigManager._query_for_config(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marvmann I think this should be described in Read The Docs under the "Developer" section.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will provide a paragraph.

full_application_config = ConfigManager._query_for_config(
application_config, f"(Option for {application_answer['application']})")
depending_submodules = False
for parameter in application_config:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think some comments are needed here to improve readability.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, similar to the module_config. It is the same logic.

@Marvmann Marvmann dismissed philross’s stale review December 3, 2024 09:12

Requested changes were implemented.

@Marvmann Marvmann merged commit 34f803c into QUARK-framework:dev Dec 3, 2024
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.

6 participants