I have a classical vector of size $2^{n}$ (normalized) and I want to use this value as amplitude for my $n$ qbits, in the canonical basis $|00000\rangle$, $|00001\rangle$ etc. I want to use real feasible gates ($RX$, $RY$ $RZ$, $H$, Pauli gates, $CNOT$, $CRX$ etc) starting from the $|0000\rangle$ state.
Is there a general algorithm for that?
More Precisely, I'm interested in the length of such circuit and the numbers of gates (in worst case) according to $n$.
Do you have any idea or reference on the subject? I'm a bit lost here...
best regards,
b