mentpy.utils.generate_random_dataset(unitary: ndarray, n_samples: int, test_size: float = 0.3) → tuple Return random training and test data (input, target) for a given unitary gate unitary.