spheres.stabilization.pytket.random_unique_pairs

spheres.stabilization.pytket.random_unique_pairs(n)[source]

Generates a random list of pairs of n elements with no pair sharing an element.

Parameters

n (int) –

Returns

list

Return type

list