Transient quantum fluctuations tune polymer self-assembly