Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.state_fns.CircuitStateFn.from_vector

static CircuitStateFn.from_vector(statevector)[fuente]

Construct the CircuitStateFn from a vector representing the statevector.

Parámetros

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

Devuelve

The CircuitStateFn created from the vector.

Tipo del valor devuelto

CircuitStateFn