Permutation tests for quantum state identity | Synapse