Suppose we have a dictionary of computational basis states and their amplitudes:
{'01':0.5, '10':0.5, '11':0.5, '00':0.5}
How do I convert this (or any arbitrary dictionary) into a Statevector
object? In this case the statevector should be is
$$ | \psi \rangle = \frac{|00 \rangle + |01 \rangle + |10 \rangle + |11 \rangle}{2} $$