Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.state_fns.CircuitStateFn.from_vector

static CircuitStateFn.from_vector(statevector)[código fonte]

Construct the CircuitStateFn from a vector representing the statevector.

Parâmetros

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

Retorno

The CircuitStateFn created from the vector.

Tipo de retorno

CircuitStateFn