Solution: either run it in the subspace, or add a post-processing step to reduce the state to only within the independent set subspace. I think it's nice to do the latter, so users will know how to reduce them to independent set space, and it can happen pretty often for running MIS examples.
I think it would be good to use similar total time for all examples here. Right now, the adiabatic part has a total time = 1.65, but the smoothened waveform has a total time = 0.6. Would be good to have the same total time, so it's easier for people to compare.
For point 2, we can probably change a name of the registers. Currently, there are two reg0, which may cause this bug.
For point 4, we can choose to not smooth \Omega by making it a piecewise linear waveform.
There are a number of bugs or improvements needed for the MIS tutorial. After the PR #312 is merged, please try to resolve the following issues:
Solution: either run it in the subspace, or add a post-processing step to reduce the state to only within the independent set subspace. I think it's nice to do the latter, so users will know how to reduce them to independent set space, and it can happen pretty often for running MIS examples.
The bitstrings in https://github.com/Happy-Diode/Bloqade.jl/blob/6f0c13ba83b844713b7713cfbc300a6528314d2d/examples/qaoa/main.jl#L225 and https://github.com/Happy-Diode/Bloqade.jl/blob/6f0c13ba83b844713b7713cfbc300a6528314d2d/examples/qaoa/main.jl#L238 are wrong. I actually don't know what's going on here. Somehow, it seems to produce the bitstrings for smoothened waveforms there.
I think it would be good to use similar total time for all examples here. Right now, the adiabatic part has a total time = 1.65, but the smoothened waveform has a total time = 0.6. Would be good to have the same total time, so it's easier for people to compare.
The smoothened Ω doesn't start from 0. I think we need to make it to start from zero even after smoothening. Either need to do something with the smoothening function, or do something here: https://github.com/Happy-Diode/Bloqade.jl/blob/6f0c13ba83b844713b7713cfbc300a6528314d2d/examples/qaoa/main.jl#L254.