Anurudh Peduri

Results 45 issues of Anurudh Peduri

- Add `_circuit_diagram_info_` for `Controlled` and `Power` to generate the same custom diagrams as before

Bloq authors should always override `get_ctrl_system` and not `controlled`. I think only the old cirq-ft bloqs ( `QubitizationWalkOperator` and related) override `controlled` directly, which must be upgraded. ```py from qualtran...

Context: P is a QSP polynomial if $|P(e^{i\theta})| \le 1$ for every $\theta \in [0, 2\pi)$. When computing polynomial approximations for functions (that have infinite series), the polynomials may end...

bloqs/qsp

```py import timeit t = timeit.timeit('import qualtran', number=1) print(t) ``` averages around `3.2s`. Perhaps some dependency is causing this. (Alternatively run `python -m timeit -n 1 -r 1 "import qualtran"`)

devops
no QC knowledge needed

Cleaning up some redundant code to compute t-complexity. - remove `_get_all_rotation_types` (in favor of `bloq_is_rotation`). - reduce uses of `t_counts_from_sigma` (in favor of `QECGatesCost`). TODOs in follow up: - Currently,...

partially addresses #1135

bloqs/rotations

fixes #1207 - `Identity` now accepts a `bitsize`, and has a single register `q` of `QAny(bitsize)`. - `Identity(n).controlled(m)` is `Identity(n + m)`. more discussion: https://github.com/quantumlib/Qualtran/pull/1322#issuecomment-2299989824

- Call graph returns `n` SU2RotationGates with symbolic angles instead of the actual gates. - Make `HamiltonianSimulationByGQSP` a `Bloq` (reducing dependency on `GateWithRegisters`) Discussion: https://github.com/quantumlib/Qualtran/issues/1309#issuecomment-2299911046

resource_counting