SwapGate.optimize ================= .. currentmodule:: bqskit.ir.gates .. automethod:: SwapGate.optimize