def METHOD_NAME(self):
    """Test adding conditional permutations."""
    qc = QuantumCircuit(5, 1)
    qc.append(PermutationGate([1, 2, 0]), [2, 3, 4]).c_if(0, 1)
    self.assertIsNotNone(qc.data[0].operation.condition)