qiskit.aqua.operators.state_fns.CircuitStateFn.from_vector¶ static CircuitStateFn.from_vector(statevector)[source]¶ Construct the CircuitStateFn from a vector representing the statevector. Parameters statevector (ndarray) – The statevector representing the desired state. Return type CircuitStateFn Returns The CircuitStateFn created from the vector.