Skip to content

Qualtran v0.7

Latest

Choose a tag to compare

@mpharrigan mpharrigan released this 22 Jan 23:34
· 25 commits to main since this release
bcb17bb

We're happy to announce the release of Qualtran v0.7 containing a new rotation synthesis module, support for classical data in quantum programs, quantum standard library improvements, and more.

Rotation synthesis

The rotation synthesis module provides a robust, high-performance toolkit for compiling $SU(2)$ unitaries into the Clifford+T gate set. By implementing the current state-of-the-art synthesis protocols from Kliuchnikov et al. (2023), this module allows users to reduce the T-count of quantum algorithms, which is often the primary bottleneck in fault-tolerant quantum computing.

Key Features:

  1. Implementation of four key synthesis protocols: diagonal (ancilla-free), mixed diagonal, fallback ("repeat-until-success"), and mixed fallback.
  2. Arbitrary precision: the module is backed by mpmath and supports arbitrarily small target diamond norm distances. See the docs for notes on choosing the number of digits of precision.
  3. The resulting circuits can be exported as Cirq circuits and Quirk links.

Implemented by @NoureldinYosri in #1749 #1750 #1751.

Classical data and measurement-based uncomputation

Qualtran now supports classical data as part of the compute graph.

  • Measurement operations take a QBit to a CBit.
  • There are classical versions of each quantum data type, e.g. CInt, CFxp, etc. #1584 #1717
  • Programs containing measurement and classical data can be simulated using the new superoperator tensor simulator. #1596
  • A new "Phased Classical" simulation protocol supports simulation of circuits consisting of classical-reversible logic (X, CNOT, Toffoli) as well as diagonal gates (T, Z, CZ). Combined with the MeasureX gate, this simulator can be used to fuzz-test measurement-based uncomputation. #1590 #1682 #1698

Breaking changes

  • BloqAsCirqGate is now only a cirq.Gate and CirqGateAsBloq is now only a Bloq for conceptual consistency. #1603.

Quantum Standard Library Fixes

We continue to aspire to have a tested, accurate standard library of quantum algorithms. The following changes were made to improve the correctness of quantum algorithms included in qualtran.bloqs.

Resource estimation changes: The default factor is now four T gates per CSwap #1642. Qubit counting now uses greedy_topological_sort to reduce idle qubits in allocating circuits #1641.

New Bloqs in the Standard Library

We continue to expand the available bloqs in the standard library of quantum algorithms and subroutines.

Other improvements

  • Support for Numpy 2 #1761
  • New reference docs system #1684 and new tutorial notebooks #1694

New Contributors

Full Changelog: v0.6.0...v0.7.0