Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.state_fns.CircuitStateFn.from_dict

static CircuitStateFn.from_dict(density_dict)[fuente]

Construct the CircuitStateFn from a dict mapping strings to probability densities.

Parámetros

density_dict (dict) – The dict representing the desired state.

Devuelve

The CircuitStateFn created from the dict.

Tipo del valor devuelto

CircuitStateFn