A method of transforming a carbon single wall nanotube (SWNT) is provided. The method comprises exposing the SWNT to light having a power sufficient to ignite or reconstruct the SWNT such that the SWNT is ignited or reconstructed by the exposure to the light.