Simulation of resonant‐tunneling heterostructure devices