Nonstationary boundary effect for a quantum flux in superconducting nanocircuits