qiskit.opflow.state_fns.CircuitStateFn.from_dict¶
- static CircuitStateFn.from_dict(density_dict)[Quellcode]¶
Construct the CircuitStateFn from a dict mapping strings to probability densities.
- Parameter
density_dict (dict) – The dict representing the desired state.
- Rückgabe
The CircuitStateFn created from the dict.
- Rückgabetyp