qiskit.opflow.state_fns.CircuitStateFn.from_dict¶ static CircuitStateFn.from_dict(density_dict)[source]¶ Construct the CircuitStateFn from a dict mapping strings to probability densities. Paramètres density_dict (dict) – The dict representing the desired state. Renvoie The CircuitStateFn created from the dict. Type renvoyé CircuitStateFn