Luca Mondada

Results 70 issues of Luca Mondada

According to the [Julia documentation](https://docs.julialang.org/en/v1/base/collections/#Base.eltype), `eltype` should be defined on the `::Type{AbstractGraph}` instead of the instances themselves: > "The definition eltype(x) = eltype(typeof(x)) is provided for convenience so that instances...

Hello everyone! This regards the latest pyquil v3 major update. Thanks for your amazing work on this new release. Issue Description ----------------- Under pyQuil v2, it was possible to obtain...

enhancement :sparkles:

We currently ignore the existence of move semantics in bubble. That might be having an impact on performance (probably hard to quantify though). With modern C++, most classes should be...

This is a quick fix for the `DeviceOfflineError` that was coming up when using the QASM converter. However: the real problem (and real solution) would be to not use `projectq`...

The following code ``` Circuit circ(1, 1); circ.add_conditional_gate(OpType::Rz, {2.}, {0}, {0}, 1); std::cout

bug

Textarea have a `.focus()` method that is useful to programmatically set focus. This PR exposes it in `Editor`. Closes #25

In tket1, float variables are expressed through symbolics. In tket2, we'd interpret these as inputs to the computation, so ideally we would convert between symbolic abstract trees and tket2 native...

enhancement

The following surprised me. Consider a circuit made of a single rotation: ```python c = Circuit(1).Rz(0.5, 0) ``` Obviously, in TK1 we have ```python c.n_gates # this is 1 ```...