German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.state_fns.CircuitStateFn.from_vector

static CircuitStateFn.from_vector(statevector)[Quellcode]

Construct the CircuitStateFn from a vector representing the statevector.

Parameter

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

Rückgabe

The CircuitStateFn created from the vector.

Rückgabetyp

CircuitStateFn