Returns operations for a 3 qubit unitary.

The algorithm is described in Shende et al.: Synthesis of Quantum Logic Circuits. Tech. rep. 2006,

q0 first qubit
q1 second qubit
q2 third qubit
u unitary matrix
atol A limit on the amount of absolute error introduced by the construction.

The resulting operations will have only known two-qubit and one-qubit gates based operations, namely CZ, CNOT and rx, ry, PhasedXPow gates.

ValueError if the u matrix is non-unitary or not of shape (8,8)