Skip to content

Ensure the first state of Result is consitant.#2760

Merged
Ericgig merged 1 commit into
qutip:masterfrom
Ericgig:misc.4cu
Oct 20, 2025
Merged

Ensure the first state of Result is consitant.#2760
Ericgig merged 1 commit into
qutip:masterfrom
Ericgig:misc.4cu

Conversation

@Ericgig

@Ericgig Ericgig commented Oct 14, 2025

Copy link
Copy Markdown
Member

Description
Change it so the the first state of the evolution in solvers take the same path as the others.
If the integrator modify the state in some way the first state was not.

The adams method only support dense, so if the initial state passed was a jax/cupy/cudensity one. The result would have the first state in the previous format and the other in as Dense. The opposite happening when using jax's or cudensity's integrator with initial state as Dense.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 88.204%. first build
when pulling cecf5ed on Ericgig:misc.4cu
into 5d14694 on qutip:master.

@Ericgig Ericgig merged commit 42fb9b8 into qutip:master Oct 20, 2025
15 of 16 checks passed
@Ericgig Ericgig deleted the misc.4cu branch October 20, 2025 14:55
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.

3 participants