An international research team has succeeded in developing a new type of material in the rather young research field of covalent organic frameworks. The new two-dimensional polymer is characterized by the fact that its properties can be controlled in a targeted and reversible manner. This has brought the researchers a step closer to the goal of realizing switchable quantum states.