There is a sign inconsistency in the printed starting energy: its kinetic term uses , while the requested field equation, current and later zero-covariant-derivative condition use . Both conventions can be derived explicitly. Set for ; the intended later equations take , whereas the literal printed energy takes .
The magnetic term is , because . Vary independently with compactly supported variations. Integration by parts in the kinetic term gives
In particular gives the requested equation. Its conjugate follows from variation in .
For variation in , . The kinetic variation is , where
The magnetic variation is after integration by parts. Therefore
For this current equals the two displayed forms in the question. For the literal plus-sign energy, , the phase-gradient current term has the opposite sign and the field equation contains . Thus the requested set follows after correcting that one energy sign, not from silently varying inconsistent expressions. This is the gauge-coupling sign in Ginzburg-Landau superconductivity.
Now use the intended convention and write with . Dividing by separates real and imaginary parts:
Thus is constant on each connected region. The remaining field equation requires , so for ,
The current is . Taking the curl locally gives , hence also solves the Maxwell equation.
For a closed curve on which the order parameter is nonzero and , Stokes' theorem gives
Single-valuedness of permits phase change , so the flux quantum magnitude is (for Cooper pairs, ). There is an important geometric qualification: if the entire spanning surface lies in the smooth zero-field superconducting region assumed above, its flux and the total boundary winding are zero. Nonzero quantized flux occurs through a hole or vortex core where those assumptions do not hold over the spanning surface. More generally, without along the curve, the exact quantized quantity is the fluxoid
Thus fluxoid and flux quantization in a superconductor are related but are not interchangeable without the current condition.