Qualtran
Qualtran copied to clipboard
Qᴜᴀʟᴛʀᴀɴ is a Python library for expressing and analyzing Fault Tolerant Quantum algorithms.
The bloq counts protocol can get you the number of operations the algorithm must perform; which gives you the time cost of an algorithm. The other cost is the number...
Right now, the `TComplexity` protocol is broken as described in https://github.com/quantumlib/Qualtran/pull/732 This issue is to discuss the future of TComplexity protocol since there have been informal discussions and upgrades to...
Currently, we derive resource estimates by hierarchically counting up subbloqs. This is useful because you can count up the number of T gates or Toffoli gates to get a sense...
This PR makes a few more improvements to QVR bloqs and their analysis notebook and documentation. Specifically, we now take into consideration the asymptotic improvement in `QvrZPow` due to ignoring...
We largely have type annotations throughout the code and I always keep an eye on the pycharm type-checker. However, we should enable mypy as part of the continuous integration (CI)...
Add dtype specific validation to the various steps. Maybe beef up the test fixtures as well. cc @fdmalone
Currently rendering something like QROM as a nice bloq_counts picture requires a bit of hackery (see below). What I have done below also seems wrong, our bloqs are frozen but...
Added a function in #602 which has the limitation that it only works if the register's shape=(). wire_symbol method probably shouldn't use the binst field.
When plotting musical score diagrams for `QvrZPow` with a symbolic rotation angle `sympy.Symbol('Y')`, I want the output to have nicely formatted rotation angles instead of very small floating point values....
Some bloqs which need this are - Rotations - Rx, Ry, Rz - Hadamard - CH etc.