Jake Lishman
Jake Lishman
I have a `pyclass` struct that wants to contain a `GILOnceCell` for caching of a lazily constructed Python object, where the initialiser yields control to the Python interpreter so runs...
### What is the expected enhancement? At the moment, it's not clear to me from an sdist who the copyright holder is for the purposes of the Apache 2 licence,...
### Summary This makes it possible to do `Interner::get_default()` without any value, in order to retrieve a key pointing to the default allocation without making any hash lookups. While the...
### Summary These gates are locally equivalence (as are all the Ising-interaction gates), and this simple additional rule lets things like QFT, which are defined by Qiskit's default constructor in...
This seems like an unusual choice to do quite as literal translation of the Python source as this. Feels like we're making life a lot harder for ourselves - it...
This recreates the entire dict (which could be 100s of qubits + clbits) on every lookup. I actually expected it to have more of an impact on transpiler performance, but...
Shall we take a note to issue a deprecation warning on the use of the `dag` keyword argument in Qiskit 1.4, and document + release note that the argument is...
Talking about `qiskit.visualization.dag_visualization`: What's the reason to have a `not isinstance(dag, DAGCircuit)` path in this function? _Originally posted by @jakelishman in https://github.com/Qiskit/qiskit/pull/12550#discussion_r1713726314_ The documentation of `dag_drawer` implies that only `DAGCircuit`...
### Bug Description The in-place arithmetic magic methods (e.g. `__iadd__`) can return `NotImplemented` in Python space, and this is used to delegate `a += b` to `a = type(b).__radd__(b, a)`...
The `PyReadwriteArray` understands the flag during the dynamic borrow checking, this just adds a way to set it on an array as well. This is a safe subset of what...