Qualtran
Qualtran copied to clipboard
Qᴜᴀʟᴛʀᴀɴ is a Python library for expressing and analyzing Fault Tolerant Quantum algorithms.
Provide functionality for automatically supporting the tensor simulation protocol if a bloq supports classical simulation. ```python tensor = np.zeros(...) for inputs in itertools.product(reg.all_possible_inputs for reg in self.signature): ouputs = bloq.call_classically(inputs)...
There could be an alternative to `ProgrammableRotationGateArray` that performs the rotations via phase kickback by adding the angle register into a phase gradient state. This would improve the T-gate cost...
I came across this issue when calling supports_decompose_bloq on an instance of a PhaseGradientUnitary Bloq and it returned false even though a decomposition is specified. It seems this is a...
Part of https://github.com/quantumlib/Qualtran/issues/622
Following #653 , the `uncompute` flag was added into the `Square` bloq even though everything is by-the-book. Consider extending the adjoint protocol - `on_classical_vals` ... For very good reason, python...
`cirq-ft/cirq_ft/algos/mean_estimation/` implements the mean estimation algorithm described in [Mean estimation when you have the source code; or, quantum Monte Carlo methods](https://arxiv.org/abs/2208.07544). Another good resource for learning the algorithm is https://youtu.be/W3aLlgrINxE...
**Description of the issue** TComplexity fails for CustomProgrammableRotationGateArray. **How to reproduce the issue** ```python import cirq_ft import cirq from cirq_ft.algos.programmable_rotation_gate_array_test import CustomProgrammableRotationGateArray, construct_custom_prga from cirq_ft.infra.jupyter_tools import display_gate_and_compilation pga = construct_custom_prga(*[[1,...
There's some ambiguity in how the operations in [NewtonRaphsonInverseSquareRoot](https://github.com/quantumlib/Qualtran/blob/main/qualtran/bloqs/chemistry/trotter/inverse_sqrt.py#L121) are performed in practice: a poly_bitsize register (15) is fed into a larger bitsize register (target_bitsize ~ 22) for the purpose...
This is an issue to track progress on the Qualtran to QIR Compiler. The primary motivation for converting Qualtran circuits to QIR is to: Enhance Interoperability: QIR-compatible Qualtran circuits can...
Following #600 Override `get_ctrl_system` for all the bloqs in the library that have custom/optimized controlled versions.