A small Julia package that contains code to perform Cartan's KAK decomposition on unitary matrices.
Written in a superconducting quantum computing context, so will decompose a U(4) unitary into the minimal 3-CNOT (3 ZX90) circuit.
This effort was partially funded by ARO under contract W911NF-14-C-0048.
MIT Expat license.
Written by Guilhem Ribeill (@gribeill). Contributions by Luke Govia and Matt Ware.
(c) 2021 Raytheon BBN Technologies