qiskit.providers.aer.library.set_matrix_product_state¶
-
set_matrix_product_state
(self, state)[source]¶ Set the matrix product state of the simulator.
- Parameters
state (Tuple[List[Tuple[np.array[complex_t]]]], List[List[float]]) – A matrix_product_state.
- Returns
with attached instruction.
- Return type
- Raises
ExtensionError – If the structure of the state is incorrect