A solid-state dielectric elastomer switch for soft logic