It is induction coils for tasers. The actual voltage is only around 80 000 volts.
Or probably even less. But it doesn't matter for Quark-X reactor with voltage drop 0.1 V...
The spark is the simplest nanosecond pulse source, providing that the inductance of the circuit after spark gap is kept low (check Bumlein circuit, triggered spark gap).