quantumlib / ReCirq

Research using Cirq!
https://quantumai.google/cirq/experiments
Apache License 2.0
272 stars 116 forks source link

QCQMC Part 5: Add Trial Wavefunction #347

Closed fdmalone closed 2 months ago

fdmalone commented 3 months ago

Add trial wavefunction module.

This is very big and could be split up into several files. WDYT @mpharrigan

fdmalone commented 2 months ago

@mpharrigan / @dstrain115 PTAL

mpharrigan commented 2 months ago

What were you thinking re: splitting it up?

would be one way

fdmalone commented 2 months ago

Pretty much this yes:

  1. trial_wf (for defs etc + maybe move the optimization function into a factory method)
  2. mode / qubit mappings
  3. optimization
fdmalone commented 2 months ago

optimization might be split too if possible

fdmalone commented 2 months ago

One thing the refactor revealed is a lack of unit tests for quite a few things...

fdmalone commented 2 months ago

@dstrain115 could we merge and I'll follow up to add some more unit tests and fix the CI slowness.

dstrain115 commented 2 months ago

Yeah, that's fine with me.

fdmalone commented 2 months ago

(I can't merge this myself)