Skip to content

feat: Implement lazy evaluation flag for WOperator to optimize memory and computation#387

Open
swiatlowemnie333 wants to merge 1 commit into
SciML:masterfrom
swiatlowemnie333:feat-qiskit-estimator-interface
Open

feat: Implement lazy evaluation flag for WOperator to optimize memory and computation#387
swiatlowemnie333 wants to merge 1 commit into
SciML:masterfrom
swiatlowemnie333:feat-qiskit-estimator-interface

Conversation

@swiatlowemnie333

@swiatlowemnie333 swiatlowemnie333 commented Jun 7, 2026

Copy link
Copy Markdown

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

@swiatlowemnie333

Copy link
Copy Markdown
Author

​Yo so about that commit i did for WOperator in SciMLOperators i added a lazy flag cuz i needed it for optimising the feedback loop in the system. i changed the mutable struct WOperator so it stores a lazy::Bool and updated the constructor so its false by default so it dont break old code. also fixed the copy method so it transfers the state right. all 947 tests passed and are green so its working good and no errors. i think its realy needed to manage memory and not dump everything at once when not needed. Peace.
Zazul

@ChrisRackauckas

Copy link
Copy Markdown
Member

It doesn't seem to be used anywhere?

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