Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.state_fns.CircuitStateFn.from_vector

static CircuitStateFn.from_vector(statevector)[ソース]

Construct the CircuitStateFn from a vector representing the statevector.

パラメータ

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

戻り値

The CircuitStateFn created from the vector.

戻り値の型

CircuitStateFn