seadra

Results 28 comments of seadra

Thanks for the response. I actually saw about this in #257 and gave it a try already, but it doesn't work when U contains measurements. After changing `U` to `chain([put(5,...

Absolutely, I'll be looking forward to it ---and thanks a lot for developing Yao! I'll have switch to the master branch of qutip for my current project, but I like...

Thanks for the recommendation, I actually used QuantumOptics.jl before. It does support applying arbitrary operators on density matrices (which are themselves operators), but unfortunately it doesn't support measurements on density...

That'd be great! I was just thinking that the implementation of a measurement element in a circuit (like Measure(n, operator=M)) will require the generation of a random number as well...

Indeed! The combination of unitary gates and measurements on density matrices would be sufficient in my case, and would go a long way in covering more general quantum simulations. I...

What are the expectations on relative error when the function value is 0?

I updated the function such that it relies on the existing `cosint(x)` everywhere except for the region with small `|x|` in which relative and absolute errors are better than about...

Also, possibly for a different PR but `cosint` for negative values currently throws domain error, but it can be defined in terms of Cin(x): https://en.wikipedia.org/wiki/Trigonometric_integral#Cosine_integral

> Often this means switching to a Taylor expansion in the vicinity of a root. OK, that's what I did exactly. I assume the PR should be fine then. One...

Oh, no, what I meant is, for end users and distro packagers, it would be really nice if you could provide the trained models + a waifu2x like command which...