Permute the order of the qubits

def permute(self, qubits: Qubits) -> 'Gate':
        """Permute the order of the qubits"""
        vec = self.vec.permute(qubits)
        return Gate(vec.tensor, qubits=vec.qubits)