A multi-resistive state element that uses barrier electrodes is provided.
If certain materials are used as electrodes, the electrodes can be used
for multiple purposes. Oxides and nitrides are especially well suited for
acting as a barrier layer, and possibly even an adhesion layer and a
sacrificial layer.