tencent-quantum-lab / tensorcircuit

Tensor network based quantum software framework for the NISQ era
https://tensorcircuit.readthedocs.io
Apache License 2.0
265 stars 78 forks source link

Implementation of SHVQE with QAS #190

Closed royess closed 11 months ago

royess commented 11 months ago

Issue Description

Implement Schrodinger-Heisenberg quantum variational eigensolver (SHVQE) with quantum architecture search.

Proposed Solution

I have already implemented it as a script (using tensorcircuit) at https://github.com/royess/QC-Contest-underwater/blob/main/shvqe_clifford.py and want to see whether I can contribute it to the tensorcircuit package in some ways.

Additional References

The paper: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.131.060406

refraction-ray commented 11 months ago

thanks for this nice proposal. you can contribute this script also under /examples (in .py format). The script is better self-contained (can be directly called and no IO is required, or at most one input file is ok and we can comment all code lines for file output)