CQCL/tket2

Move parallel evaluation code to `CircuitChunks`

aborgna-q opened this issue · 0 comments

Badger uses the chunks to split a circuit, optimise each part on a different thread, and join it again afterwards.

This could be a generic operation that can be used in other places too, so it should be added as a method for the chunks (à la rayon::iter).