pygsti.extras.interpygate.process_tomography.split#
- split(n, a)#
Divide list into n approximately equally sized chunks
- Parameters:
n – int The number of chunks
a – iterable The array to be divided into chunks
- Returns:
- numpy.ndarray
The original data divided into n approximately equally sized chunks.