Skip to content

An implementation T-count optimization algorithm TODD for quantum circuits

Notifications You must be signed in to change notification settings

JoshuaLau0220/pytodd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pytodd

An simple implementation of the TODD algorithm for reducing the T count of a quantum circuit in the paper [1712.01557] An Efficient Quantum Compiler that reduces $T$ count by Luke E Heyfron and Earl T Campbell (2019).

The TODD algorithm is a method for reducing the T count of a quantum circuit. It is based on an extension to the Lempel's algorithm for the 2-STR problem.

Currently only support inputing the phase polynomial via a binary matrix in the csv format. The output is a reduced phase polynomial in the csv format

Usage

python3 pytodd.py <input.csv> <output.csv> [-v]

About

An implementation T-count optimization algorithm TODD for quantum circuits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages