def permute(self, qubits: Qubits) -> 'State':
        """Return a copy of this state with qubit labels permuted"""
        vec = self.vec.permute(qubits)
        return State(vec.tensor, vec.qubits, self._memory)
Return a copy of this state with qubit labels permuted