To describe quantum oscillations on metallic rings and similar effects, some authors introduced recently an ideal device which splits the electron wavefunction at the junction of three wires. A proper quantum-mechanical treatment requires, however, that the splitting procedure is described by a hamiltonian. In this Letter we show how this can be achieved in the framework of the self-adjoint-extension theory.