Simple LC circuit implementation
If you simulate using a near ideal diode, you can see that it is a voltage doubler: -




L = 10 mH
C = 1 uF


The input DC voltage is 20 volts and the voltage across the capacitor (blue trace) becomes nearly 40 volts. The red trace is the inductor voltage and, at a little over 0.3 ms, it's energy is depleted having given most of it to the capacitor.

If you don't activate the supply quickly compared to the LC cycle time then you'll barely see any voltage magnification on the capacitor. Here's what happens when the power supply activates over a 5 ms period: -



In other words, there is very minimal magnification.

With L at 1 uH and an instant application of the supply we get this: -



If the supply ramps up over 4 us it becomes this: -



Circuit used: -