I am working with cirq and use a random unitary for testing purposes with:
random_matrix = cirq.testing.random_unitary(dim=4)
where can can the random seed for this function be set, using random.seed(a=1)
does not seem to do this.
I am working with cirq and use a random unitary for testing purposes with:
random_matrix = cirq.testing.random_unitary(dim=4)
where can can the random seed for this function be set, using random.seed(a=1)
does not seem to do this.
Copyright © 2021 Jogjafile Inc.
Cirq relies on numpy for its random functions, so using:
Sets the seed for cirq