Optimal two-qubit gate for generation of random bipartite entanglement | Synapse