Modeling of photonic devices traditionally involves solving the equations light–matter interaction and light propagation. Here, we demonstrate an alternative modeling methodology by reproducing optical device functionality using a quantum computer. As illustration, simulate interference on thin absorbing film. Such can lead to either perfect absorption or total transmission through film, phenom...