Electrostatic potential and quantum transport in a one-dimensional channel of an induced two-dimensional electron gas