Scientists have developed molecular devices that can switch roles, behaving as memory, logic, or learning elements within the ...