rht

Results 168 issues of rht

o/ I am currently figuring out how to do Birkhoff-von Neumann quantum logic operation in a quantum circuit, and found that the linear type (a subset of linear logic) has...

[qsim v0.17.0](https://github.com/quantumlib/qsim/releases/tag/v0.17.0) has just been released, which contains a new method to run statevector simulation beyond 32 qubits (https://github.com/quantumlib/qsim/pull/623). Currently, we (BlueQubit cc: @hthayko) are blocked from using the latest...

enhancement
question

In https://github.com/dgasmith/opt_einsum/issues/217#issuecomment-1620525115, @jcmgray stated that running `cotengra` optimization via `oe.contract_path(expression, *operands, optimize=opt)` (where `opt` is a `cotengra` optimizer) is slower than doing it via `quimb`. I have to add more...

This addresses #10992. This is a roundabout way that doesn't require `setup.py`: serialize a virtualenv session into a .pex file, which makes `bin/activate` to be the entrypoint. The .pex file...

size: S
has conflicts

**Testing Plan:** **GIFs or Screenshots:**

size: XS
has conflicts

- `np.ndarray` is a catch-all type for all ndarrays regardless of its dtype, and so, is unfortunately less specific than the docstring that specifies ndarray. - I'm unsure of the...

I ran `flake8 --ignore=F401,E501,E226,E231,W291,E241 quantecon`. Found ~405 lint errors excluding the errors I explicitly ignore. There are unused variables and imports scattered around. Would it be fine if I apply...

discuss

With Mypy, the types can be checked explicitly. While I think in Sphinx, the types are just strings? (E.g. https://quanteconpy.readthedocs.io/en/latest/game_theory/repeated_game.html#quantecon.game_theory.repeated_game.RepeatedGame) Sphinx can be configured to accept Mypy annotation: https://github.com/agronholm/sphinx-autodoc-typehints. With...

discuss

With a random graph, this would better reflect the fact that DAO usually happens in the cyberspace.