The ppvm CLI tool allows running circuits with the generalized tableau. It would be nice to also be able to "compile" a sampler out of a .sst or .ssb file. This needs to be a two-pass process:
- Run a .sst or .ssb file with
GeneralizedTableauSum. Store the result to a file somehow. Probably needs a new format. We should also skip measurements at the end of the circuit.
- Sample from the "compiled" file.
Control flow will also be a bit tricky here, so this might actually be blocked somewhat by requiring a specific circuit format.
The ppvm CLI tool allows running circuits with the generalized tableau. It would be nice to also be able to "compile" a sampler out of a .sst or .ssb file. This needs to be a two-pass process:
GeneralizedTableauSum. Store the result to a file somehow. Probably needs a new format. We should also skip measurements at the end of the circuit.Control flow will also be a bit tricky here, so this might actually be blocked somewhat by requiring a specific circuit format.