def __init__(self, generator, p0, transformation, *args, **kwargs):
    super().__init__(*args, generator=generator, target=generator.qubits, p0=p0, **kwargs)
    self._name = 'FermionicExcitation'
    self.transformation = transformation
def __init__(self, generator, p0, transformation, *args, **kwargs):
    super().__init__(*args, generator=generator, target=generator.qubits, p0=p0, **kwargs)
    self._name = 'FermionicExcitation'
    self.transformation = transformation