To further investigation of the photo-responsive properties of the host-guest complex and supramolecular assembly of 2C-WP5A and G, we firstly examined the photoisomerization behavior of G by UV/vis (see Supplementary Fig. S17) and 1H NMR (Fig. 2d). The UV/vis spectrum of trans-G has a strong absorption maximum at 351 nm, which corresponds to the π-π* transition of the trans form. When the solution of trans-G was irradiated at 365 nm for 2 min, the main absorption band bleached greatly. Meanwhile, slightly increase in a new band at 432 nm, which is ascribed to the n-π* transition of the cis form of the azobenzene. The changes in the UV/vis spectrum indicated that the photoisomerization of G from the trans to cis conformation. Moreover, the trans/cis photoisomerization of G can be quantitatively calculated by integration of the signals in the 1H NMR spectrum. After irradiation with UV light at 365 nm for 10 min to ensure the fully transformed, a series of new signals appeared which is corresponding to the cis form, and the ratio of the trans:cis reached up to 10:90 (Fig. 2d). It is remarkable that G has not only photo-responsive but also thermal-responsive performances46. The continuous heating of the irradiated solution at 80 °C for one hour resulted in the regeneration of original protons signals of G, suggesting the recovery of trans form of G.