Circuit.fold ============ .. currentmodule:: bqskit.ir .. automethod:: Circuit.fold