Provided is an electronic device containing: a two-dimensional semiconductor material; and another heterogeneous material adjacent to the two-dimensional semiconductor material, wherein the heterogeneous material is doped with an impurity of a type different from the two-dimensional semiconductor material or has a band gap different from the two-dimensional semiconductor material.