paper

Decomposition of unitary matrix into quantum gates

arXiv:2501.07786

Abstract

An algorithm is proposed to convert arbitrary unitary matrix to a sequence of gates and fully controlled and gates. This algorithm is used to generate Q# implementation for arbitrary unitary matrix. Some optimizations are considered and complexity of the result is analyzed.