French
Languages
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.

Paramètres

statevector (ndarray) – The statevector representing the desired state.

Renvoie

The CircuitStateFn created from the vector.

Type renvoyé

CircuitStateFn