qiskit.providers.aer.library.set_matrix_product_state¶
-
set_matrix_product_state
(self, state)[Quellcode]¶ Set the matrix product state of the simulator.
- Parameter
state (Tuple[List[Tuple[np.array[complex_t]]]], List[List[float]]) – A matrix_product_state.
- Rückgabe
with attached instruction.
- Rückgabetyp
- Verursacht
ExtensionError – If the structure of the state is incorrect