Resistive switching effect in metal/insulator/metal heterostructures and its application for non‐volatile memory