Convert a set of Qiskit gates to their unitary operators.
This function takes a list of Qiskit gate objects and them into operators, returned as a NumPy
array of matrices.
- Parameters:
gate_set (list[Gate]) – A list of Qiskit gate objects. Each gate in the list is converted to its corresponding unitary.
- Returns:
An array of process matrices. Each element in the array is a 2D NumPy array.
- Return type:
ndarray