  Two-dimensional Nuclear Magnetic Resonance (NMR) is essential in molecular
structure determination. The Nitrogen-Vacancy (NV) center in diamond has been
proposed and developed as an outstanding quantum sensor to realize NMR in
nanoscale. In this work, we develop a scheme for two-dimensional nanoscale NMR
spectroscopy based on quantum controls on an NV center. We carry out a proof of
principle experiment on a target of two coupled $^{13}$C nuclear spins in
diamond. A COSY-like sequences is used to acquire the data on time domain,
which is then converted to frequency domain with the fast Fourier transform
(FFT). With the two-dimensional NMR spectrum, the structure and location of the
set of nuclear spin are resolved. This work marks a fundamental step towards
resolving the structure of a single molecule.
