Daniel Wennberg

Results 42 issues of Daniel Wennberg

For certain circuits that are instances of the ``SeriesProduct`` class, applying feedback spawns an infinite loop. Here's sort of a minimum non-working example: ```python import sympy from qnet.algebra.operator_algebra import Destroy...

bug

Currently, hbar = 1 is implicitly assumed. Should we relax this? If so, what's the preferable way?

enhancement

KrylovKit.jl uses an absolute convergence criterion `norm(residual) < tol`. Some packages, like ArnoldiMethod.jl and Arpack.jl, use a slightly different criterion `norm(residual) < tol * |λ|` where `λ` is the eigenvalue...

From the docs for `powm!`: > `tol::Real = eps(real(eltype(B))) * size(B, 2) ^ 3`: stopping tolerance for the residual norm that is, the tolerance scales as the cube of the...

The default choice of algorithm for ODEs tries to infer the desired level of precision by looking at number types: if it's not the "ordinary" Float32/64, it gives you a...

Calling `Matrix(sol)` on an *DE solution returns a `CuMatrix` when the states are `CuVector`s. This is because `Matrix(sol)` is implemented using a generic `hcat` (see snippet below). This is a...

Since #2148 the `stdout` capture window supports ANSI terminal colors, and `:color => true` is set in `default_stdout_iocontext` as seen here: https://github.com/fonsp/Pluto.jl/blob/216451c3c839d1c3c6c50a0b69ba1b8297cceb43/src/runner/PlutoRunner/src/PlutoRunner.jl#L1007-L1012 However, when querying `stdout` in a Pluto cell,...

A `FieldArray` displays as an array, values only. It would be great if it showed the field names too---named fields are presumably the reason to use a `FieldArray` in the...