Closed mtfishman closed 4 years ago
This adds a "randU" gate type as described in #59. It works for general number of indices, i.e. gate("randU", s1, s2, s3) makes a random unitary on 3 qubits. Closes #59.
"randU"
gate("randU", s1, s2, s3)
The unitaries are Haar-distributed, as described in Section 4.6 of http://math.mit.edu/~edelman/publications/random_matrix_theory.pdf.
This adds a
"randU"
gate type as described in #59. It works for general number of indices, i.e.gate("randU", s1, s2, s3)
makes a random unitary on 3 qubits. Closes #59.The unitaries are Haar-distributed, as described in Section 4.6 of http://math.mit.edu/~edelman/publications/random_matrix_theory.pdf.