-
I'm not precisely sure what role `Basic.func()` plays but the documentation states the following:
```
The following should hold for all objects::
>> x == x.func(*x.args)
```
However, the follow…
-
Following up on #63: After giving it some thought, I think we do need to implement a scalar algebra, mostly to properly handle `Braket` (and `BraOpKet`, which is a class we should have). Fully identif…
goerz updated
6 years ago
-
```
An expression `z` was obtained as follows:
# eq = q*x + q/4 + x**4 + x**3 + 2*x**2 - S(1)/3
# z = eq.subs(x, solve(eq, x)[0])
z = (q*(-sqrt(-2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S(1)/3) -…
-
## Step 1: Update "Building Pulse Schedules" docs
In `tutorials/circuits_advanced/06_building_pulse_schedules.ipynb` ([see here](https://github.com/Qiskit/qiskit-tutorials/blob/master/tutorials…
-
here is a question about MMT functionality.
I (with a lot of help from Dennis) have started lattice theory in MitM.
This has an interesting situation where POSets [2] and SemiLattices [1]
form th…
-
```
>>> b = (sqrt(2) - 1)**(Rational(1,3)) - (sqrt(2) + 1)**(Rational(1,3))
>>> w = (x**3 + 3*x + 2).subs(x, b)
>>> simplify(w)
3
…
ghost updated
6 years ago
-
I take issue with two subsection titles:
- Prefer object orientation to imperative programming
- Prefer functional to procedural language constructs
because you can do imperative programming in…
-
```
We have:
In [306]: divmod(Poly(x**2 + 1), Poly(x))
Out[306]: (Poly(x, x, domain='ZZ'), Poly(1, x, domain='ZZ'))
In [307]: divmod(x**2 + 1, x)
----------------------------------------------------…
-
This issue builds upon discussion from #243.
This is a suggestion to streamline and make more user friendly the user interface of CUQIpy by creating a random variable when the user writes code li…
-
https://flintlib.org/doc/qqbar.html