catalyst
catalyst copied to clipboard
Remove automatic `Controlled` to `QubitUnitary` decomposition
Work in progress on eliminating large unitary matrices from circuits just because the control operator was used.
The Controlled -> QubitUnitary decomposition was implemented way back when Catalyst only had limited support for controlled gates. Unknown controlled instances were thus replaced with a unitary matrix.