Kevin J. Sung

Results 133 comments of Kevin J. Sung

One way to fix this is to allow post-selection in the `Simulator.simulate` method. I.e., if the circuit has measurements, then you can specify what you want the outcomes to be.

I was thinking that `Simulator.simulate` should just take a dictionary of measurement results.

I'm working on a transforms demo! See my work in progress here: https://github.com/kevinsung/OpenFermion/blob/transforms_demo/examples/transforms.ipynb. Comments welcome. I'm taking a very (too?) pedagogical approach.

Ok I made my demo only about Jordan-Wigner and Bravyi-Kitaev. If others want to make a demo about Bravyi-Kitaev Superfast and/or the Verstraete-Cirac, please go ahead. It might make sense...

@ScottPJones I agree that we should consistently use `

@xabomon The behavior you are seeing is due to the fact that the `__str__` method of SymbolicOperator explicitly ignores small coefficients, and it does this using `np.isclose`, whose default `atol`...

I'm skeptical that your proposal would be faster, since it always performs an addition, whereas the current code avoids the addition when operating on a real number. In any case,...

I implemented the transformation on 2-d square grids with an even number of columns, in `transforms/_verstraete_cirac.py`. However, I can still think of some things to do: - Extend to an...

@jarrodmcc Are the contraction coefficients and exponents already stored in the HDF5 files? In the example files, I see a dataset called 'basis' but it appears to simply store a...