qiskit.circuit.QuantumCircuit.set_matrix_product_state¶
-
QuantumCircuit.
set_matrix_product_state
(state)¶ 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