John Lapeyre

Results 216 comments of John Lapeyre

I run your example on the command line (ipython): 1) the code that produces an error 2) The code that runs slow in Jupyter The code does not run slow....

I'll try. I'm installing terra in a python 3.9 venv so I can test that. While it's installing requirements, I'll try Jupyter.

I do *not* see the slowdown in Jupyter. Still 100ms to execute the example after first running the code that errors. * Python 3.10. * Fedora Linux

@kevinsung, I **do** see the slowdown with the following * Python 3.9.14 * Terra 8a3e760f * Arch linux * ipython 8.5.0, command line If I change only the Python version...

It appears that the number of calls to this line https://github.com/Qiskit/qiskit-terra/blob/f98ddc6ddaf68475b9aca717fa8c91646c60a2da/qiskit/pulse/parser.py#L172 does not change when running the test code with and without the "preamble". But, the time for each `deepcopy`...

That's a good clue. It's pretty clear that it's unlikely that the bug is in Python (3.9 or 3.10), but rather our code is erroneously keeping some state. Probably when...

I'm leaning towards something like this for counts/distribution/quasi-prob distributions. (I wrote some of this in another issue, but I can't find it at the moment.) * Python `int` to represent...

> our own integer type ... just do `our_int.to_binary()` Yes, that's what I'm talking about. Something like this: ```python class Outcome: def __init__(self, data): if isinstance(data, int): self._data = data...

> Conan Centre also isn't exactly a pillar of stability, unfortunately. This agrees with the buzz online. I tried several times to see if was temporary. I thought it most...