Qualtran
Qualtran copied to clipboard
Qᴜᴀʟᴛʀᴀɴ is a Python library for expressing and analyzing Fault Tolerant Quantum algorithms.
The Reflection (#510) bloq is mostly a convenience bloq for reflection around zero to make nicer diagrams (the open / closed multi-bit circles which often appear). BUT we already have...
Hello, I have installed the latest state of the main branch and wanted to define a controlled version of a Bloq, but ran into an error of the form: "No...
The landing page should be expanded to include installation instructions and a quick start
A stab at fixing https://github.com/quantumlib/Qualtran/issues/818 This is still a draft. More investigations are needed to figure out exactly what's causing the bug. Based on my investigations so far, during the...
- decide a policy for test coverage - add a CI check that enforces that policy
Part of #960 - SwapWithZero - CSwapApprox - includes a snippet from #835 to make the t_complexity protocol test work with bloq decompositions more robustly
This class implements both the Bloq interface as well as the `cirq.Gate` interface (simultaneously). The factored way of doing this is to implement the `Bloq` interface and use the to-cirq...
```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"`)
I tried to create some bloqs with symbolic costs and it's unclear how exactly to do that. Here's the numeric version: ``` from qualtran.bloqs.arithmetic.comparison import LessThanEqual bloq = LessThanEqual(10, 15)...
See https://github.com/quantumlib/Qualtran/pull/913#discussion_r1594825762 for some relevant discussion on the potential shortcomings of the current method and a proposed alternative. We will encounter this once we add more cost keys, especially for...