qiskit.ml.circuit.library.RawFeatureVector.set_statevector¶
-
RawFeatureVector.
set_statevector
(state)¶ Set the statevector state of the simulator.
- Parameters
state (Statevector) – A state matrix.
- Returns
with attached instruction.
- Return type
- Raises
ExtensionError – If the state is the incorrect size for the current circuit.