Manufacture, treatment, or detection of nanostructure