Tamil
மொழிகள்
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.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.

Returns

The CircuitStateFn created from the vector.

Return type

CircuitStateFn