Matthew Harrigan
Matthew Harrigan
Temporarily omitted as we straighten out the module structure
This issue tracks problems that had to be worked around to bump our Cirq version from 1.4 onwards in #1761. Note that many unit tests in the `qualtran.bloqs` quantum standard...
The notebooks test is the slowest CI check with the following 10 slowest notebooks ``` Slowest 10 notebooks: 210.25s /qualtran/bloqs/phase_estimation/phase_estimation_of_quantum_walk.ipynb 62.87s /qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp.ipynb 41.47s /qualtran/bloqs/rotations/quantum_variable_rotation.ipynb 26.64s /qualtran/bloqs/optimization/k_xor_sat/kikuchi_guiding_state_tutorial.ipynb 22.56s /qualtran/bloqs/arithmetic/error_analysis_for_fxp_arithmetic.ipynb 18.72s /qualtran/bloqs/phase_estimation/kaiser_window_state.ipynb...
### Background `BloqBuilder.map_soqs` is a somewhat advanced method generally used when you're building a program (composite bloq) from an existing bloq (potentially with modification). It's needed because each `BloqInstance` in...
If you are defining a bloq by defining a `Bloq` class and overriding `build_composite_bloq`, you've overriden the `signature` property and the system knows the quantum signature of the bloq. Therefore,...
When you're authoring a bloq, you define a method `build_composite_bloq(self, bb: BloqBuilder, ctrl, x, ...)`. The qualtran system will call this method suppling the `bb: BloqBuilder` argument _as well as_...
Every other bloq is an attrs dataclass, which makes it easier to inspect its classical compile-time parameters (attributes).
There may be several constructions for a bloq that ostensibly "does the same thing". How do we define a quantum interface and provide multiple implementations? How do we swap out...
Sometimes, you need to expose a consistent signature whether or not you're using all the registers that the interface demands. The `AutoPartition` bloq helps you take a register of a...
This was added to fix some type checking issues. - investigate usages of `dtype.iteration_length_or_zero` ... can the qcdtype python annotations be improved to narrow `dtype` to e.g. `BQUInt` and then...