#structures #gate #state #rustiq-core

rustiq-core

Quantum circuit synthesis library in rust

10 releases

new 0.0.11 Apr 9, 2025
0.0.10 Nov 6, 2024
0.0.8 Oct 8, 2024
0.0.7 Sep 19, 2024
0.0.2 Jul 5, 2024

#546 in Algorithms

Download history 879/week @ 2024-12-20 682/week @ 2024-12-27 1915/week @ 2025-01-03 1997/week @ 2025-01-10 2538/week @ 2025-01-17 2209/week @ 2025-01-24 2855/week @ 2025-01-31 2685/week @ 2025-02-07 3741/week @ 2025-02-14 3868/week @ 2025-02-21 5209/week @ 2025-02-28 2750/week @ 2025-03-07 3832/week @ 2025-03-14 5773/week @ 2025-03-21 4344/week @ 2025-03-28 3117/week @ 2025-04-04

17,547 downloads per month

Custom license

215KB
6K SLoC

A rust based quantum circuit synthesis library

If you want a quick way to use those algorithms, you might want to check the python wrapper around this library.


lib.rs:

rustiq-core is a quantum circuit synthesis library.

It contains data structures representing various mathematical objects together with synthesis methods able to generate efficient circuits targeting 2-qubit gate count or depth.

Data structures

  • CliffordCircuit and CliffordGate - Data structures used to represent Clifford gates and circuits.
  • PauliSet - A data structure used to store a list of Pauli operators. The list can be efficiently conjugated by CliffordGate or CliffordCircuit objects.
  • Tableau - A Clifford Tableau implementation built on top of PauliSet.
  • IsometryTableau - An extension of the Tableau data structure that describes a Clifford operator applied to a partially stabilized input.
  • GraphState - A data structure representing a graph state

Synthesis algorithms

All synthesis algorithms are located in the [synthesis] submodule.

Dependencies

~3MB
~46K SLoC