Nondestructive readout of photochromic optical memory using photocurrent detection