Skip to content

Operator Norms #385

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

Merged
merged 10 commits into from
Mar 6, 2025
Merged

Operator Norms #385

merged 10 commits into from
Mar 6, 2025

Conversation

mmcleod89
Copy link
Contributor

Requires the corresponding SOPT pull request to go through; all references to the operator norm have been moved into the operator class. Tests involving the stochastic method now update the operator norm inside the lambda function so that it remains correct.

@mmcleod89 mmcleod89 requested a review from tkoskela February 24, 2025 16:49
Copy link
Contributor

@tkoskela tkoskela left a comment

Choose a reason for hiding this comment

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

This looks good as well, as long as the test pass

Comment on lines -44 to -47
struct measurementOpInfo {
std::shared_ptr<sopt::LinearTransform<Vector<t_complex>>> measurement_transform;
t_real operator_norm;
};
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like the existence of this class was a good reason for this change :)

@mmcleod89 mmcleod89 merged commit 6c0fd2d into development Mar 6, 2025
14 checks passed
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.

2 participants