Ferroelectric switching by (sub)-picosecond electromagnetic pulse