Skip to content

Feat vqa remote#173

Draft
MoHermes wants to merge 53 commits into
devfrom
feat-vqa-remote
Draft

Feat vqa remote#173
MoHermes wants to merge 53 commits into
devfrom
feat-vqa-remote

Conversation

@MoHermes
Copy link
Copy Markdown
Collaborator

@MoHermes MoHermes commented Dec 4, 2025

No description provided.

MoHermes and others added 30 commits October 20, 2025 17:47
Comment thread mpqp/core/circuit.py
Comment on lines +2132 to +2140
def transpiled_for_device(self, device: AvailableDevice):
if device not in self.transpiled_circuit:
self.transpiled_circuit[device] = (
self.to_other_device( # pyright: ignore[reportCallIssue]
device # pyright: ignore[reportArgumentType]
)
)
return self.transpiled_circuit[device]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For some providers, we would call to_other_device for each device , because MPQP translation and transpilation is device specific (like IBM), but for AWS/QLM for instance, we only need to_other_language (which is handled by to_other_device if I remember well), but then would need a different indexing of the dictionnary, otherwise we would export the mpqp circuit many times if we change the AWSDevice for instance (while we could have avoided).

hJaffaliColibritd and others added 4 commits February 13, 2026 04:44
� Conflicts:
�	mpqp/core/instruction/measurement/expectation_value.py
�	mpqp/execution/providers/atos.py
�	mpqp/execution/providers/aws.py
�	mpqp/execution/providers/google.py
�	mpqp/execution/providers/ibm.py
�	mpqp/execution/runner.py
�	mpqp/execution/vqa/vqa.py
@github-actions github-actions Bot added the enhancement New feature or request label May 5, 2026
JulienCalistoTD and others added 4 commits May 6, 2026 15:03
…dling

- Introduced VQAModule for managing multiple circuits and optimization processes.
- Updated optimizer functions to utilize OptimizerData for better parameter management.
- Refactored minimize function to streamline optimization logic and support new evaluation methods.
- Improved handling of ExpectationMeasure and observable pre-transpilation in QCircuit.
- Added tests for VQAModule across different providers to ensure functionality.
- Adjusted parameter binding logic in QCircuit to enhance flexibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants