-
In Quantum Mechanics one often defines operators in terms of commutators between them and their actions on kets. For example, a linear oscilator could be defined as:
```python
n hbar O = symbols('n …
-
During an [admcycles](https://gitlab.com/modulispaces/admcycles) workshop we wanted to compute the inverse (in terms of composition) of the power series in $\mathbb{Q}[p,q,\sqrt{p+q}][[z]]$ given by
…
-
As part of homomorphic multiplication algorithm, we need to lift polynomials whose coefficients are taken modulo a prime q, to polynomials over the integers, such that we can do a few operations there…
-
`GF(p).extension(xxx)` does not accept symbolic polynomials... and the error is cryptic
```
sage: Fp = GF(3)
sage: Fp2. = Fp.extension(x^2+1)
Traceback (most recent call last):
...
UnboundLocalErro…
-
WP QuickLaTeX allows users to define additional commands and add support for additional packages (for example polynom: https://ctan.org/pkg/polynom?lang=en, which allows users to use a polylongdiv com…
-
Thank you for your work on this free library..
I was doing some tests before implementing it to my project, and I kept getting convergence error for simple quadratic functions.
For example, the code…
-
```
There is currently no exponentiation operator, which makes denoting polynomials
quite hard, e.g. if x is of type poly we could write
y := x^^3 + 3*x^^2 + 2*x + 1
at the moment we have to write
…
-
When needing to index through a vector with a constant generic length >= 0, you can't transmute the index variable to a type that allows indexing of that vector because the compiler thinks the length …
-
We pull many things from Chevie that are hard-coded. We should rather hardcode those ourselves, plus other stuff that is either hard to compute, or easy to hard-code.
We currently think of hard-cod…
-
As explained in A. Siegman, Lasers, the Hermite-Gaussian modes can be straightforwardly generalized to astigmatic beams:
umn(x,y,z) = um(x,z) * un(y,z)
That would be cool if LightPipes could provi…