In this question below, I thought B and E are correct because we need a vector in the second argument. But I was wrong. What is the correct use of the initialize() method?
Which two of these can be used to initialize a vector of complex amplitudes in a quantum circuit qc?
A. qc.initialize([0,0,1,1,0])
B. qc.initialize([0,1,1] , [0,1])
C. qc.initialize([0,1], 0)
D. qc.initialize([1,0,0,0])
E. qc.initialize([1,0,0,0] , [0,1])