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:
QuantumCircuit
- Raises:
ValueError – If the structure of the state is incorrect