diff --git a/_modules/tencirchem/static/hea.html b/_modules/tencirchem/static/hea.html index 2d8a90e..f260e09 100644 --- a/_modules/tencirchem/static/hea.html +++ b/_modules/tencirchem/static/hea.html @@ -247,6 +247,7 @@

Source code for tencirchem.static.hea

 from tensorcircuit.noisemodel import NoiseConf, circuit_with_noise
 
 from tencirchem.static.engine_hea import (
+    QpuConf,
     get_statevector,
     get_densitymatrix,
     get_energy_tensornetwork,
@@ -652,7 +653,7 @@ 

Source code for tencirchem.static.hea

         circuit: Union[Callable, QuantumCircuit],
         init_guess: Union[List[float], np.ndarray],
         engine: str = None,
-        engine_conf: NoiseConf = None,
+        engine_conf: [NoiseConf, QpuConf] = None,
     ):
         """
         Construct the HEA class from Hamiltonian in :class:`QubitOperator` form and the ansatz.
@@ -679,8 +680,11 @@ 

Source code for tencirchem.static.hea

             engine = "tensornetwork"
         if engine == "tensornetwork" and engine_conf is not None:
             raise ValueError("Tensornetwork engine does not have engine configuration")
-        if engine.startswith("tensornetwork-noise") and engine_conf is None:
-            engine_conf = get_noise_conf()
+        if engine_conf is None:
+            if engine.startswith("tensornetwork-noise"):
+                engine_conf = get_noise_conf()
+            if engine.startswith("qpu"):
+                engine_conf = QpuConf()
 
         init_guess = np.array(init_guess)
 
@@ -954,6 +958,7 @@ 

Source code for tencirchem.static.hea

                 tuple(self.h_qubit_op.terms.keys()),
                 list(self.h_qubit_op.terms.values()),
                 self.get_circuit,
+                self.engine_conf,
                 self.shots,
             )
         return e
diff --git a/api/hea.html b/api/hea.html index 59bebb1..c2b87fb 100644 --- a/api/hea.html +++ b/api/hea.html @@ -219,13 +219,13 @@

Headware-Efficient Ansatz and Noisy Circuit Simulation#

-class tencirchem.HEA(h_qubit_op: QubitOperator, circuit: Callable | QuantumCircuit, init_guess: List[float] | ndarray, engine: str | None = None, engine_conf: NoiseConf | None = None)[source]#
+class tencirchem.HEA(h_qubit_op: ~openfermion.ops.operators.qubit_operator.QubitOperator, circuit: ~typing.Callable | ~qiskit.circuit.quantumcircuit.QuantumCircuit, init_guess: ~typing.List[float] | ~numpy.ndarray, engine: str = None, engine_conf: [<class 'tensorcircuit.noisemodel.NoiseConf'>, <class 'tencirchem.static.engine_hea.QpuConf'>] = None)[source]#

Bases: object

Run hardware-efficient ansatz calculation. For a comprehensive tutorial see Noisy Circuit Simulation.

-__init__(h_qubit_op: QubitOperator, circuit: Callable | QuantumCircuit, init_guess: List[float] | ndarray, engine: str | None = None, engine_conf: NoiseConf | None = None)[source]#
+__init__(h_qubit_op: ~openfermion.ops.operators.qubit_operator.QubitOperator, circuit: ~typing.Callable | ~qiskit.circuit.quantumcircuit.QuantumCircuit, init_guess: ~typing.List[float] | ~numpy.ndarray, engine: str = None, engine_conf: [<class 'tensorcircuit.noisemodel.NoiseConf'>, <class 'tencirchem.static.engine_hea.QpuConf'>] = None)[source]#

Construct the HEA class from Hamiltonian in QubitOperator form and the ansatz.

Parameters:
diff --git a/searchindex.js b/searchindex.js index 1ec1cd0..93743be 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["advanced", "api/hea", "api/kupccgsd", "api/puccd", "api/ucc", "api/uccsd", "faq", "index", "modules", "quickstart", "tutorial_jupyter/adapt_vqe", "tutorial_jupyter/engine_benchmark", "tutorial_jupyter/h2o_pes", "tutorial_jupyter/hubbard_model", "tutorial_jupyter/marcus", "tutorial_jupyter/noisy_simulation", "tutorial_jupyter/sbm_dynamics", "tutorial_jupyter/ucc_functions", "tutorial_jupyter/vbe_tutorial_groundstate", "tutorial_jupyter/vbe_tutorial_td", "tutorials"], "filenames": ["advanced.rst", "api/hea.rst", "api/kupccgsd.rst", "api/puccd.rst", "api/ucc.rst", "api/uccsd.rst", "faq.rst", "index.rst", "modules.rst", "quickstart.rst", "tutorial_jupyter/adapt_vqe.ipynb", "tutorial_jupyter/engine_benchmark.ipynb", "tutorial_jupyter/h2o_pes.ipynb", "tutorial_jupyter/hubbard_model.ipynb", "tutorial_jupyter/marcus.ipynb", "tutorial_jupyter/noisy_simulation.ipynb", "tutorial_jupyter/sbm_dynamics.ipynb", "tutorial_jupyter/ucc_functions.ipynb", "tutorial_jupyter/vbe_tutorial_groundstate.ipynb", "tutorial_jupyter/vbe_tutorial_td.ipynb", "tutorials.rst"], "titles": ["Advanced Topics", "Headware-Efficient Ansatz and Noisy Circuit Simulation", "k-UpCCGSD", "Paired UCCD (pUCCD)", "UCC", "UCCSD", "Frequently Asked Questions", "Guide to TenCirChem", "API Reference", "Quick Start", "ADAPT VQE", "Benchmark engines", "Potential Energy Surface of the Water Molecule", "Hubbard Model by UCCSD", "Observing Marcus Inverted Region", "Noisy Circuit Simulation", "Dynamics of the Spin-Boson Model", "UCC Functions", "Variational Basis State Encoder (Ground State)", "Variational Basis State Encoder (Time Dependent)", "Tutorials"], "terms": {"tencirchem": [0, 1, 2, 3, 4, 5, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "offer": [0, 6, 9, 15, 16, 17], "set": [0, 1, 2, 3, 4, 5, 6, 9, 13, 15, 16, 17, 18, 19], "differ": [0, 2, 5, 7, 11, 15, 17], "simul": [0, 7, 8, 12, 17, 20], "static": [0, 1, 9], "molecular": [0, 2, 3, 4, 5, 6, 7, 9, 15, 17], "properti": [0, 1, 2, 3, 4, 5, 7, 9, 16, 17], "i": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "summar": [0, 6, 10], "below": [0, 5, 10, 17, 19], "compat": [0, 1, 11, 17, 19], "class": [0, 1, 2, 3, 4, 5, 6, 9, 12, 13, 14, 17, 20], "state": [0, 1, 2, 3, 4, 5, 6, 7, 15, 16, 20], "represent": [0, 18], "ucc": [0, 1, 2, 3, 5, 7, 8, 10, 13, 20], "factor": [0, 2, 3, 4, 5, 6, 9, 19], "expans": [0, 9], "note": [0, 1, 5, 6, 11, 15, 16, 17, 18, 19], "civector": [0, 2, 3, 4, 5, 6, 9, 10, 11, 17], "ci": [0, 2, 3, 4, 5, 6, 17], "vector": [0, 1, 2, 3, 4, 5, 6, 10, 16, 17], "ye": 0, "most": [0, 11], "effici": [0, 6, 7, 8, 9, 11, 15], "larg": [0, 2, 5, 6, 9, 11, 14, 15], "memori": [0, 6], "friendli": [0, 15], "tensornetwork": [0, 1, 9, 11, 15], "hea": [0, 1, 8, 9, 20], "statevector": [0, 1, 2, 3, 4, 5, 11, 17], "No": [0, 18, 19], "noiseless": [0, 9, 15], "tensor": [0, 1, 2, 3, 4, 5, 18, 19], "network": 0, "contract": [0, 18, 19], "nois": [0, 1, 9, 20], "densiti": [0, 1, 2, 3, 4, 5, 9, 19, 20], "matrix": [0, 1, 2, 3, 4, 5, 16, 18, 19, 20], "gate": [0, 1, 2, 3, 4, 5, 6, 9, 17, 20], "shot": [0, 1, 9, 20], "measur": [0, 1, 9, 16, 20], "experiment": 0, "pyscf": [0, 1, 2, 3, 4, 5, 6, 9, 11, 12, 17], "mean": [0, 1, 2, 3, 4, 5, 10], "configur": [0, 1, 2, 3, 4, 5, 6, 10, 17], "interact": [0, 2, 3, 4, 5, 6, 10, 17], "It": [0, 7], "more": [0, 6, 7, 9, 15, 17, 18, 19], "than": [0, 5, 6, 7, 13, 15, 17], "chemic": 0, "applic": [0, 3, 6, 7, 15, 18, 19], "becaus": [0, 15], "exploit": [0, 9], "particl": [0, 6, 9], "number": [0, 1, 2, 3, 4, 5, 7, 9, 10, 13, 15, 16, 18, 19], "conserv": [0, 9], "symmetri": [0, 1, 2, 3, 4, 5, 6, 17], "thi": [0, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "one": [0, 1, 2, 3, 4, 5, 6, 9, 15, 17, 18], "major": 0, "reason": [0, 6, 15], "why": [0, 7, 9], "so": [0, 7, 9, 15], "fast": [0, 7, 9, 17], "expand": [0, 6], "excit": [0, 2, 3, 4, 5, 7, 10, 17], "oper": [0, 1, 2, 3, 4, 5, 7, 16, 17, 18, 19, 20], "exponenti": [0, 6], "polynomi": [0, 6], "form": [0, 1, 2, 3, 4, 5, 6, 15, 16, 18, 20], "e": [0, 2, 3, 4, 5, 6, 10, 13, 14, 15, 16, 17, 18, 19], "theta": [0, 1, 6, 15, 16, 18, 19], "g": [0, 2, 3, 4, 5, 6, 9, 10, 14, 16, 18], "2": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "co": [0, 12], "sin": [0, 12], "where": [0, 1, 6, 14, 16, 18, 19], "begin": [0, 1, 2, 3, 4, 5, 6], "case": [0, 1, 6, 15], "dagger_i": [0, 14], "a_j": 0, "dagger_j": [0, 19], "a_i": [0, 14], "a_k": 0, "a_l": 0, "dagger_l": 0, "dagger_k": 0, "end": [0, 1, 2, 3, 4, 5, 6, 15], "The": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20], "allow": [0, 17], "without": [0, 1, 2, 3, 4, 5, 6, 12, 17], "decompos": [0, 2, 4, 5, 6, 15, 17], "quantum": [0, 1, 2, 3, 4, 5, 6, 7, 9, 14, 15, 16, 17, 18, 19], "difficult": 0, "deriv": [0, 16, 19], "equat": [0, 18, 19], "notic": 0, "3": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "In": [0, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "special": [0, 15], "famou": 0, "formula": 0, "recov": 0, "idea": [0, 18], "wa": 0, "propos": 0, "fermion": [0, 1], "emul": 0, "base": [0, 1, 2, 3, 4, 5, 6, 7, 9, 16, 17, 19], "lot": [0, 2], "preced": 0, "work": [0, 9], "anoth": [0, 15, 18], "For": [0, 1, 2, 5, 6, 9, 11, 12, 17, 18, 19], "task": [0, 15, 16], "howev": [0, 11], "also": [0, 6, 12, 13, 15, 17, 18, 19], "consum": [0, 17], "due": [0, 6, 15, 17], "cach": [0, 11], "intermedi": [0, 9], "similar": [0, 2, 3, 15], "except": [0, 15], "onli": [0, 1, 2, 3, 4, 5, 9, 11, 15], "us": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 13, 14, 15, 18, 20], "limit": 0, "scope": 0, "gener": [0, 2, 6, 14, 15, 18, 19], "recommend": [0, 9], "until": 0, "host": 0, "gpu": [0, 7, 9, 18, 19], "run": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 15, 20], "out": [0, 2, 3, 4, 5, 11], "switch": [0, 6, 15], "default": [0, 1, 2, 3, 4, 5, 6, 15, 17], "calcul": [0, 1, 2, 3, 4, 5, 6, 7, 10, 16, 17, 18, 19, 20], "16": [0, 6, 9, 11, 15, 17, 18, 19], "qubit": [0, 1, 6, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19], "larger": [0, 6, 11, 15], "scale": 0, "To": [0, 6, 15, 17, 18], "overrid": 0, "pass": [0, 1, 2, 3, 4, 5, 6], "string": [0, 2, 3, 4, 5], "argument": [0, 1, 2, 3, 4, 5, 9, 15, 17, 18], "from": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20], "import": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "uccsd": [0, 2, 3, 4, 7, 8, 9, 11, 12, 15, 17, 20], "molecul": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 14, 15, 17, 20], "h4": [0, 10], "print": [0, 2, 3, 4, 5, 9, 10, 11, 13, 15, 17, 18, 19], "kernel": [0, 1, 2, 3, 4, 5, 9, 10, 12, 13, 14, 15, 16, 17], "energi": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 14, 17, 18, 20], "support": [0, 1, 6, 7, 9, 15], "numpi": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "cupi": [0, 6, 9, 11], "jax": [0, 7, 9, 11, 14, 16, 18, 19], "combin": [0, 2, 3, 4, 5], "slightli": 0, "between": [0, 14, 15], "tensorcircuit": [0, 2, 3, 4, 5, 7, 9, 15, 16, 17, 18, 19], "simplifi": [0, 16, 19], "instal": [0, 6, 7], "when": [0, 1, 2, 3, 4, 5, 10, 15], "up": [0, 6, 9, 15], "avail": [0, 10, 15, 17], "becom": 0, "an": [0, 1, 6, 7, 9, 10, 15, 17, 18, 19], "replac": 0, "auto": [0, 1, 6, 15, 16], "differenti": [0, 1, 6, 15, 16], "ad": [0, 1, 10, 15], "just": 0, "time": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 15, 16, 17, 20], "compil": [0, 6, 11, 18, 19], "jit": [0, 6, 18], "over": [0, 6, 9], "dynam": [0, 7, 18, 19, 20], "modul": [0, 9, 17], "algorithm": [0, 1, 2, 3, 4, 5, 6, 9, 10, 17, 20], "sometim": [0, 17], "faster": [0, 7, 15], "typic": [0, 6, 17], "doe": [0, 7, 9, 15], "reli": [0, 9], "gradient": [0, 1, 2, 3, 4, 5, 7, 9, 10, 15, 17], "usual": [0, 2, 3, 4, 5, 6, 15, 17], "much": [0, 6, 9, 15], "longer": [0, 6], "actual": [0, 6, 15], "result": [0, 2, 3, 4, 5, 9, 10, 12, 13, 15, 17, 18, 20], "error": [0, 1, 9, 10, 15, 17], "thu": [0, 6], "ar": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19], "noisi": [0, 7, 8, 20], "circuit": [0, 2, 3, 4, 5, 6, 7, 8, 16, 18, 19, 20], "perform": [0, 1, 2, 3, 4, 5, 9, 15, 16], "compar": [0, 9, 14], "prefer": 0, "share": [0, 6, 9, 10, 17], "same": [0, 5, 6, 9, 10, 12, 15, 16, 17], "api": [0, 7, 9, 17], "data": [0, 17], "type": [0, 1, 2, 3, 4, 5], "runtim": [0, 15], "set_backend": [0, 6, 9, 11, 14, 15, 16, 18, 19], "set_dtyp": 0, "complex64": 0, "complex128": [0, 16, 19], "which": [0, 1, 2, 3, 4, 5, 6, 9, 15, 17, 18], "convent": [0, 7, 17], "highli": 0, "float64": [0, 10, 15, 17, 19], "step": [0, 9, 15, 16, 19], "map": [0, 1, 2, 3, 4, 5, 6, 10, 17], "4": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "wai": [0, 6, 17], "dof": [0, 12, 16, 18, 19], "A": [0, 1, 2, 3, 4, 5, 9, 15], "directli": [0, 6, 15], "truncat": 0, "two": [0, 1, 2, 3, 4, 5, 6, 9, 12, 14, 15, 17, 18, 19], "level": [0, 9, 12, 15, 17, 18, 19], "system": [0, 2, 3, 4, 5, 6, 9, 11, 12, 14, 15, 19], "unari": 0, "repres": [0, 2, 3, 4, 5, 6, 18, 19], "binari": [0, 1, 8], "bitstr": [0, 2, 3, 4, 5, 6, 17], "grai": [0, 16, 18, 19], "code": [0, 6, 9, 15, 18, 19], "improv": [0, 6], "version": [0, 6, 9], "detail": [0, 1, 2, 3, 4, 5, 6, 9, 18, 19], "descript": 0, "other": [0, 1, 2, 3, 4, 5, 6, 7, 9, 15, 17, 18], "variant": 0, "can": [0, 2, 3, 4, 5, 6, 9, 15, 17, 18], "found": [0, 6, 18, 19], "articl": 0, "follow": [0, 6, 9, 10, 15, 18, 19], "tabl": [0, 11], "we": [0, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "make": [0, 6, 17, 19], "quick": [0, 7, 17], "comparison": 0, "0": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "0001": 0, "00": [0, 15, 17], "1": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "0010": 0, "01": [0, 2, 3, 4, 5, 9, 15, 17], "0100": 0, "10": [0, 2, 3, 4, 5, 9, 10, 12, 14, 15, 16, 17, 18, 19], "11": [0, 9, 10, 14, 15, 17, 18, 19], "1000": 0, "cost": [0, 1, 2, 3, 4, 5, 20], "mathcal": [0, 15], "o": [0, 12, 13, 14, 15], "n": [0, 1, 6, 13, 14, 15, 16, 18, 19], "yet": [0, 6, 13, 15, 16], "shallow": 0, "textrm": [0, 1, 2, 3, 4, 5, 15, 16, 19], "log": [0, 14], "depth": [0, 9, 15, 17], "deeper": 0, "strictli": 0, "better": [0, 13], "timeevolut": [0, 9, 14, 20], "specifi": [0, 15, 16], "through": [0, 6, 9, 16, 18], "boson_encod": [0, 16, 18], "h_qubit_op": [1, 2, 3, 4, 5, 15, 17], "qubitoper": [1, 2, 3, 4, 5, 15, 17], "callabl": [1, 2, 3, 4, 5], "quantumcircuit": [1, 15], "init_guess": [1, 2, 3, 4, 5, 6, 10, 15, 17], "list": [1, 2, 3, 4, 5, 6, 10, 11, 16, 18], "float": [1, 2, 3, 4, 5, 19], "ndarrai": [1, 2, 3, 4, 5], "engin": [1, 2, 3, 4, 5, 6, 7, 9, 15, 20], "str": [1, 2, 3, 4, 5, 14], "none": [1, 2, 3, 4, 5, 6, 17], "engine_conf": [1, 15], "noiseconf": [1, 15], "sourc": [1, 2, 3, 4, 5, 6, 9], "object": [1, 2, 3, 4, 5, 9, 16, 17], "hardwar": [1, 15], "comprehens": [1, 5], "tutori": [1, 5, 7, 9, 18, 19], "see": [1, 2, 3, 4, 5, 6, 9, 17, 18, 19], "__init__": [1, 2, 3, 4, 5], "construct": [1, 2, 3, 4, 5, 10, 15, 20], "hamiltonian": [1, 2, 3, 4, 5, 9, 10, 13, 16, 17, 20], "paramet": [1, 2, 3, 4, 5, 7, 9, 10, 15, 16, 18, 19, 20], "openfermion": [1, 2, 3, 4, 5, 6, 9, 15, 17], "function": [1, 2, 3, 4, 5, 7, 9, 15, 20], "qiskit": [1, 20], "np": [1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "initi": [1, 2, 3, 4, 5, 10, 15, 16, 17, 20], "guess": [1, 2, 3, 4, 5, 10, 15, 17, 18], "option": [1, 2, 3, 4, 5, 11], "isotrop": 1, "depolar": [1, 15], "channel": [1, 15], "all": [1, 2, 3, 4, 5, 6, 9, 11, 15], "p": [1, 2, 3, 4, 5, 15, 18, 19], "02": [1, 14, 15], "classmethod": [1, 2, 3, 4, 5], "as_pyscf_solv": [1, 2, 3, 4, 5], "config_funct": [1, 2, 3, 4, 5], "opt_engin": 1, "kwarg": [1, 2, 3, 4, 5], "convert": [1, 2, 3, 4, 5], "fci": [1, 2, 3, 4, 5, 6, 9, 10, 12, 13, 15, 17], "solver": [1, 2, 3, 4, 5, 16], "r_y": [1, 9, 15, 17], "instanc": [1, 2, 3, 4, 5, 15], "accept": [1, 2, 3, 4, 5, 9, 12, 15, 16], "modifi": [1, 2, 3, 4, 5, 17, 18], "inplac": [1, 2, 3, 4, 5], "befor": [1, 2, 3, 4, 5, 18], "call": [1, 2, 3, 4, 5, 18, 19], "optim": [1, 2, 3, 4, 5, 6, 7, 10, 11, 14, 15, 17, 18], "return": [1, 2, 3, 4, 5, 9, 12, 14, 15, 16, 18, 19], "fcisolv": [1, 2, 3, 4, 5], "exampl": [1, 2, 3, 4, 5, 6, 9, 15, 17, 19], "mcscf": [1, 2, 3, 4, 5], "casscf": [1, 2, 3, 4, 5, 9], "h8": [1, 2, 3, 4, 5, 17], "normal": [1, 2, 3, 4, 5], "workflow": [1, 2, 3, 4, 5, 15, 16], "hf": [1, 2, 3, 4, 5, 6, 10, 15, 17], "round": [1, 2, 3, 4, 5], "6": [1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20], "149619": [1, 17], "n_layer": [1, 9, 15, 16, 18, 19], "166473": 1, "densitymatrix": 1, "param": [1, 2, 3, 4, 5, 10, 11, 15, 17, 18], "ani": [1, 2, 3, 4, 5], "evalu": [1, 2, 3, 4, 5, 7, 9, 11, 15, 16], "presenc": 1, "valid": [1, 9, 11], "must": [1, 2, 3, 4, 5], "total": [1, 2, 3, 4, 5, 6, 11, 12], "energy_and_grad": [1, 2, 3, 4, 5, 11, 17], "h2": [1, 2, 3, 4, 5, 9, 12, 15, 17], "ry": [1, 9, 15], "int1": [1, 2, 3, 4, 5, 9, 13, 15, 17], "int2": [1, 2, 3, 4, 5, 6, 9, 13, 15, 17], "n_elec": [1, 2, 3, 4, 5, 9, 13, 15, 17], "e_cor": [1, 2, 3, 4, 5, 9, 15, 17], "pi": [1, 12, 14, 15], "8": [1, 2, 3, 4, 5, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "arrai": [1, 2, 3, 4, 5, 10, 12, 13, 15, 17, 18, 19], "00533333": 1, "j": [1, 6, 13, 16, 18, 19], "984": 1, "self": [1, 2, 3, 4, 5], "11670614": [1, 2, 3, 4, 5], "1001": [1, 2, 3, 4, 5, 6, 17], "grad": [1, 2, 3, 4, 5, 10, 15], "tupl": [1, 2, 3, 4, 5, 6, 10, 19], "shift": [1, 15], "rule": [1, 6, 15], "possibl": [1, 2, 3, 4, 5, 6, 15, 17, 18], "autodiff": 1, "from_integr": [1, 2, 3, 4, 5, 13, 17], "int": [1, 2, 3, 4, 5, 14], "electron": [1, 2, 3, 4, 5, 12, 17, 18, 19], "integr": [1, 2, 3, 4, 5, 7, 9, 13, 14, 16, 19, 20], "custom": [1, 2, 3, 4, 5, 9, 14, 15, 20], "overlap": [1, 2, 3, 4, 5], "assum": [1, 9, 11, 12, 15, 17], "ident": [1, 2, 3, 4, 5], "One": [1, 2, 3, 4, 5, 17], "bodi": [1, 2, 3, 4, 5, 9, 15], "spatial": [1, 2, 3, 4, 5, 12], "orbit": [1, 2, 3, 4, 5, 7, 10, 12, 17], "chemist": [1, 2, 3, 4, 5, 6, 7], "notat": [1, 2, 3, 4, 5, 6], "consid": [1, 2, 3, 4, 5, 6, 14, 15, 18], "nuclear": [1, 2, 3, 4, 5, 9, 14], "core": [1, 2, 3, 4, 5], "activ": [1, 2, 3, 4, 5, 9, 12, 20], "space": [1, 2, 3, 4, 5, 6, 9, 10, 12, 20], "approxim": [1, 2, 3, 4, 5, 9, 12, 15, 20], "involv": [1, 2, 3, 4, 5, 17, 19], "pariti": [1, 8, 15], "bravyi": 1, "kitaev": 1, "from_molecul": 1, "m": [1, 6, 9, 12, 16, 18], "mole": [1, 2, 3, 4, 5, 12, 17], "active_spac": [1, 2, 3, 4, 5, 17], "given": [1, 2, 3, 4, 5], "emploi": [1, 2, 3, 4, 5], "By": [1, 15], "layer": [1, 2, 9, 15, 16, 18, 19], "first": [1, 2, 3, 4, 5, 7, 9, 10, 11, 14, 15, 16], "integ": [1, 2, 3, 4, 5, 6], "second": [1, 2, 3, 4, 5, 6, 10], "get_dmcircuit": 1, "noise_conf": 1, "dmcircuit2": 1, "get": [1, 2, 3, 4, 5, 10, 16, 17, 20], "dmcircuit": 1, "get_dmcircuit_no_nois": 1, "get_opt_funct": [1, 2, 3, 4, 5], "with_tim": [1, 2, 3, 4, 5], "bool": [1, 2, 3, 4, 5], "fals": [1, 2, 3, 4, 5, 10, 12], "scipi": [1, 2, 3, 4, 5, 14, 16, 17, 18, 19], "format": [1, 2, 3, 4, 5, 16, 18], "basic": [1, 2, 3, 4, 5, 9, 17], "wrapper": [1, 2, 3, 4, 5], "whether": [1, 2, 3, 4, 5], "stage": [1, 2, 3, 4, 5, 11], "opt_funct": [1, 2, 3, 4, 5], "true": [1, 2, 3, 4, 5, 9, 10, 14, 15, 17, 18], "make_rdm1": [1, 2, 3, 4, 5, 17], "spin": [1, 2, 3, 4, 5, 6, 7, 9, 10, 18, 19, 20], "trace": [1, 2, 3, 4, 5], "reduc": [1, 2, 3, 4, 5, 9, 19, 20], "1rdm": [1, 2, 3, 4, 5], "q": [1, 2, 3, 4, 5], "langl": [1, 2, 3, 4, 5, 6, 10, 14, 16, 19], "p_": [1, 2, 3, 4, 5], "alpha": [1, 2, 3, 4, 5, 6], "dagger": [1, 2, 3, 4, 5, 9, 14, 16, 18, 19], "q_": [1, 2, 3, 4, 5], "rangl": [1, 2, 3, 4, 5, 6, 10, 14, 16, 19], "beta": [1, 2, 3, 4, 5, 6, 14], "rdm1": [1, 2, 3, 4, 5], "rdm": [1, 2, 3, 4, 5, 17], "make_rdm2": [1, 2, 3, 4, 5, 17], "2rdm": [1, 2, 3, 4, 5], "align": [1, 2, 3, 4, 5, 6], "r": [1, 2, 3, 4, 5, 9, 12, 14, 15, 16, 18, 19], "": [1, 2, 3, 4, 5, 6, 9, 12, 13, 14, 15, 16, 19], "r_": [1, 2, 3, 4, 5], "s_": [1, 2, 3, 4, 5], "quad": [1, 2, 3, 4, 5], "rdm2": [1, 2, 3, 4, 5], "n_param": [1, 2, 3, 4, 5, 6, 11, 17], "print_circuit": [1, 2, 3, 4, 5], "print_summari": [1, 2, 3, 4, 5, 9, 10, 15, 17], "init_circuit": [1, 16], "consist": [1, 2, 3, 4, 5, 6, 12], "interleav": 1, "cnot": [1, 2, 4, 5, 15, 17], "psi": [1, 6, 10, 16, 18, 19], "prod_": [1, 6, 18, 19], "l": [1, 2, 3, 4, 5, 19, 20], "k": [1, 6, 7, 8, 14, 16, 18, 19], "left": [1, 6, 14, 18, 19], "l_": 1, "right": [1, 6, 14, 18, 19], "phi": [1, 6, 12, 16, 18, 19], "defin": [1, 6, 9, 16, 17, 18, 19, 20], "cnot_": 1, "2j": 1, "ry_": 1, "theta_": [1, 6, 16, 18], "lj": [1, 18], "transform": [1, 2, 3, 4, 5, 6, 15, 16, 18, 19], "correspond": [1, 2, 3, 4, 5, 6, 9, 10, 15, 17, 18, 19], "get_ry_circuit": [1, 8], "n_qubit": [1, 11, 15, 17], "parameter": [1, 15], "c": [1, 13, 15, 18, 19], "fermion_oper": 1, "fermionoper": [1, 2, 3, 4, 5, 15, 17], "n_mode": 1, "mode": [1, 9, 16, 18, 19], "qubit_oper": 1, "kupccgsd": [2, 3, 4, 5, 8, 9, 17], "mol": [2, 3, 4, 5, 17], "mo_coeff": [2, 3, 4, 5], "n_tri": 2, "run_hf": [2, 3, 4, 5], "run_mp2": [2, 3, 4, 5], "run_ccsd": [2, 3, 4, 5, 12], "run_fci": [2, 3, 4, 5, 12], "interfac": [2, 3, 9, 13, 15, 16, 17], "input": [2, 3, 4, 5, 12, 15, 18, 19], "coeffici": [2, 3, 4, 5], "If": [2, 3, 4, 5, 6, 9, 10, 15], "provid": [2, 3, 4, 5, 15, 16, 17, 18], "rhf": [2, 3, 4, 5, 10, 13, 17], "skip": [2, 3, 4, 5, 12], "init_st": [2, 3, 4, 5], "attribut": [2, 3, 4, 5, 15, 20], "ansatz": [2, 3, 4, 5, 6, 7, 8, 9, 10, 17, 20], "point": [2, 12], "vqe": [2, 3, 4, 5, 6, 7, 20], "requir": [2, 6, 12, 16, 17], "good": 2, "accuraci": [2, 6, 13, 15], "mp2": [2, 3, 4, 5, 10, 17], "refer": [2, 3, 4, 5, 6, 7, 9, 10, 16, 17], "ccsd": [2, 3, 4, 5, 10, 12, 13, 17], "puccd": [2, 4, 5, 7, 8, 9], "apply_excit": [2, 3, 4, 5, 10], "ex_op": [2, 3, 4, 5, 6, 10, 17], "appli": [2, 3, 4, 5], "14961853": [2, 3, 4, 5], "16647335": [2, 3, 4, 5], "civector_s": [2, 3, 4, 5], "size": [2, 3, 4, 5, 6, 11], "e_kupccgsd": 2, "e_ucc": [2, 3, 4, 5, 10, 17], "embed_rdm_ca": [2, 3, 4, 5], "rdm_ca": [2, 3, 4, 5], "emb": [2, 3, 4, 5], "ca": [2, 3, 4, 5], "whole": [2, 3, 4, 5, 12, 17], "ovlp": [2, 3, 4, 5], "get_addr": [2, 3, 4, 5], "address": [2, 3, 4, 5], "index": [2, 3, 4, 5, 6, 18, 19], "0101": [2, 3, 4, 5, 6], "1010": [2, 3, 4, 5, 6, 17], "get_ci_str": [2, 3, 4, 5, 17], "strs2addr": [2, 3, 4, 5], "revers": [2, 3, 4, 5, 6], "sector": [2, 3, 4, 5, 6], "cistr": [2, 3, 4, 5, 6], "string_addr": [2, 3, 4, 5], "5": [2, 3, 4, 5, 6, 9, 10, 11, 13, 14, 15, 16, 17, 20], "9": [2, 3, 4, 5, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19], "dtype": [2, 3, 4, 5, 10, 15, 16, 17, 19], "uint64": [2, 3, 4, 5, 17], "f": [2, 3, 4, 5, 10, 13, 14, 18, 19], "bin": [2, 3, 4, 5], "0110": [2, 3, 4, 5, 6, 17], "get_circuit": [2, 3, 4, 5, 15, 17], "decompose_multicontrol": [2, 4, 5, 15, 17], "trotter": [2, 3, 4, 5, 17], "multicontrol": [2, 4, 5, 15, 17], "pauli": [2, 3, 4, 5, 15], "tc": [2, 3, 4, 5, 16, 18, 19], "get_energy_datafram": [2, 3, 4, 5], "datafram": [2, 3, 4, 5, 11], "inform": [2, 3, 4, 5, 6, 11, 17], "get_ex1_op": [2, 3, 4, 5, 10], "t1": [2, 3, 4, 5, 17], "Not": [2, 3], "kept": [2, 3], "parent": [2, 3], "method": [2, 3, 4, 5, 6, 13, 17, 18], "each": [2, 3, 4, 5, 6, 10, 11, 12, 15, 17, 18, 19], "param_id": [2, 3, 4, 5, 7, 10, 17, 18], "get_ex2_op": [2, 3, 4, 5, 10], "pair": [2, 4, 6, 7, 8], "get_ex_op": [2, 3, 4, 5], "t2": [2, 3, 4, 5, 17], "restrict": [2, 6], "ones": 2, "randomli": [2, 15], "get_excitation_datafram": [2, 3, 4, 5], "get_init_state_datafram": [2, 3, 4, 5], "coeff_epsilon": [2, 3, 4, 5], "1e": [2, 3, 4, 5, 10, 19], "12": [2, 3, 4, 5, 9, 10, 11, 12, 15, 17, 18, 19], "threshold": [2, 3, 4, 5, 10], "screen": [2, 3, 4, 5], "small": [2, 3, 4, 5], "pd": [2, 3, 4, 5, 11], "707": [2, 3, 4, 5], "includ": [2, 3, 4, 5, 9, 17], "h_fermion_op": [2, 3, 4, 5, 15, 17], "jordan": [2, 3, 4, 5, 12], "wigner": [2, 3, 4, 5, 12], "bfg": [2, 3, 4, 5, 18], "b": [2, 3, 4, 5, 9, 14, 16, 19, 20], "scipy_minimize_opt": [2, 3, 4, 5], "basi": [2, 3, 4, 5, 7, 9, 14, 17, 20], "ao": [2, 3, 4, 5], "full": [2, 3, 4, 5, 6, 14, 17], "could": [2, 3, 4, 5], "mo": [2, 3, 4, 5, 17], "e_hf": [2, 3, 4, 5, 13, 17], "ravel": [2, 3, 4, 5, 14, 18, 19], "test": [2, 3, 4, 5, 9, 11], "assert_allclos": [2, 3, 4, 5], "e_nuc": [2, 3, 4, 5, 17], "atol": [2, 3, 4, 5], "occupi": [2, 3, 4, 5, 6], "nv": [2, 3, 4, 5], "virtual": [2, 3, 4, 5], "unoccupi": [2, 3, 4, 5], "param_to_ex_op": [2, 3, 4, 5], "print_ansatz": [2, 3, 4, 5, 17], "you": [2, 3, 4, 5, 6, 9], "wish": [2, 3, 4, 5, 9], "diagram": [2, 3, 4, 5, 19], "draw": [2, 3, 4, 5, 15, 17], "print_energi": [2, 3, 4, 5], "print_excit": [2, 3, 4, 5], "print_init_st": [2, 3, 4, 5], "include_circuit": [2, 3, 4, 5, 9, 17], "summari": [2, 3, 4, 5, 15, 17], "section": [2, 3, 4, 5, 17, 18, 19], "statevector_s": [2, 3, 4, 5], "init_method": [3, 4, 5, 17], "how": [3, 4, 5, 7, 9, 10, 12, 13, 15, 16], "determin": [3, 4, 5, 9, 17, 20], "amplitud": [3, 4, 5, 6, 17], "zero": [3, 4, 5, 6, 13, 16, 17, 18, 19], "e_puccd": 3, "givens_swap": 3, "swap": 3, "hcb": 4, "forc": [4, 18], "hard": [4, 6, 18], "boson": [4, 7, 9, 19, 20], "implement": [4, 6, 9, 10, 15, 16], "pick_ex2": 5, "epsilon": [5, 9, 10, 16, 19], "sort_ex2": 5, "e_fci": [5, 13, 15, 17], "init": [5, 15], "less": [5, 15], "discard": 5, "sort": 5, "come": [5, 6, 18], "lead": [5, 15], "geometri": [5, 12], "e_uccsd": [5, 13], "pick": [5, 10], "pick_and_sort": 5, "do_pick": 5, "do_sort": 5, "order": [6, 15], "half": [6, 10, 13], "contain": [6, 9, 11, 17, 18], "creation": [6, 10], "annil": 6, "hermitian": 6, "conjug": 6, "handl": [6, 17], "intern": [6, 9, 17], "Or": 6, "dagger_6": 6, "dagger_2": 6, "a_0": [6, 14], "a_4": 6, "dagger_4": 6, "dagger_0": [6, 14], "a_2": 6, "a_6": 6, "besid": 6, "accord": 6, "down": 6, "low": 6, "high": [6, 9, 15, 17], "multiqubit": 6, "regist": 6, "zeroth": 6, "rangle_": 6, "q_0": 6, "q_2": 6, "occup": [6, 14], "abov": [6, 15, 18], "word": [6, 9, 15, 17], "best": [6, 10, 11], "understood": 6, "pictur": 6, "rm": [6, 9, 12, 15], "h": [6, 9, 12, 13, 14, 15, 16, 18, 19], "_4": [6, 9], "00110011": 6, "count": 6, "give": [6, 17], "keep": 6, "short": 6, "figur": [6, 10, 14], "hartre": [6, 10, 15, 17], "fock": 6, "highest": 6, "lowest": 6, "last": [6, 17], "chemistri": [6, 7, 12], "languag": 6, "while": [6, 15, 17], "comput": [6, 7, 15, 16], "direct": 6, "product": [6, 12, 18], "2nd": 6, "3rd": 6, "6th": 6, "7th": 6, "rest": [6, 9, 15], "upon": 6, "01100110": [6, 10], "store": [6, 13], "ij": 6, "kl": 6, "although": 6, "tri": 6, "match": 6, "distanc": [6, 9], "unit": [6, 9], "angstrom": [6, 9, 12], "fed": [6, 15], "There": [6, 18], "name": [6, 18], "bare": 6, "after": 6, "thei": 6, "fop": 6, "some": [6, 9, 10, 17, 18], "have": [6, 15, 19], "start": [6, 7, 16, 20], "Its": 6, "its": [6, 17], "largest": 6, "valu": [6, 10, 16, 18], "plu": 6, "strategi": 6, "converg": [6, 10, 13, 15, 17], "disabl": 6, "try": 6, "equal": 6, "speed": [6, 7, 15], "depend": [6, 7, 20], "underli": 6, "three": [6, 9], "main": [6, 20], "them": 6, "rather": [6, 15], "hilbert": 6, "take": [6, 14, 15, 18, 19], "hydrogen": [6, 9, 11, 15], "four": 6, "quit": [6, 9], "ha": [6, 9, 15, 16, 17, 19], "dimens": [6, 18], "On": 6, "hand": [6, 17], "constrain": 6, "manipul": 6, "describ": [6, 17], "respect": [6, 9, 10, 18, 19], "relat": [6, 15, 18], "concept": 6, "document": [6, 9, 17], "suppos": [6, 10, 16], "theta_k": [6, 10, 18, 19], "g_k": [6, 10], "real": [6, 11, 14, 16, 18, 19], "_j": [6, 18, 19], "hat": [6, 9, 13, 14, 16, 18, 19], "expect": [6, 15, 16], "written": [6, 7, 16], "_": [6, 9, 10, 14, 18, 19], "frac": [6, 10, 14, 15, 16, 19], "partial": [6, 10, 15, 16, 18, 19], "theta_j": [6, 19], "g_j": [6, 19], "practic": 6, "firstli": [6, 15], "obtain": [6, 10, 15, 18], "Then": [6, 19], "recurs": 6, "g_": 6, "sweep": 6, "constant": [6, 14, 16], "amount": 6, "choos": [6, 17], "devic": [6, 15, 18, 19], "done": [6, 15], "both": [6, 9, 15], "appropri": 6, "driver": 6, "fine": 6, "grain": 6, "control": [6, 9, 15, 17, 18], "achiev": 6, "packag": [6, 7, 9, 17], "cp": 6, "cuda": [6, 18, 19], "featur": [6, 9], "long": 6, "common": [6, 16], "alreadi": 6, "simpli": [6, 17], "too": [6, 15, 18], "mani": [6, 15, 18], "instruct": 6, "re": [6, 12, 16, 19], "cpu": [6, 18, 19], "significantli": [6, 15, 17], "otherwis": 6, "author": 6, "knowledg": 6, "current": [6, 18], "solv": [6, 12, 13, 16, 18], "problem": [6, 12, 16], "versatil": [7, 16], "heavi": 7, "advantag": 7, "10000x": 7, "market": 7, "light": 7, "weight": 7, "easi": [7, 12, 17], "hack": [7, 17], "further": 7, "read": 7, "advanc": [7, 9], "topic": [7, 9], "backend": [7, 9, 11, 18], "encod": [7, 20], "potenti": [7, 20], "surfac": [7, 20], "water": [7, 20], "adapt": [7, 20], "benchmark": [7, 20], "hubbard": [7, 20], "model": [7, 9, 14, 15, 18, 19, 20], "observ": [7, 9, 20], "marcu": [7, 20], "invert": [7, 20], "region": [7, 20], "variat": [7, 16, 20], "ground": [7, 20], "frequent": 7, "ask": 7, "question": 7, "what": [7, 9, 15], "indic": [7, 10, 18, 19], "slow": 7, "upccgsd": [7, 8], "uccd": [7, 8], "headwar": [7, 8], "primari": [9, 15], "respons": 9, "arbitrari": 9, "via": [9, 15, 18, 19], "pip": 9, "minim": [9, 18], "heavili": 9, "moment": 9, "window": 9, "platform": [9, 11], "user": [9, 15, 17], "wsl": 9, "environ": 9, "peruzzo2014": 9, "lee2019": 9, "elfving2021": 9, "d": [9, 13, 15], "borrow": [9, 16], "equival": 9, "atom": [9, 11, 12, 17], "rang": [9, 10, 11, 12, 13, 14, 15, 16, 18, 19], "setup": [9, 20], "analyz": [9, 20], "apart": 9, "inherit": 9, "rich": [9, 11, 15], "access": 9, "modif": 9, "facilit": [9, 15], "develop": 9, "novel": [9, 10], "output": [9, 15, 16, 17, 18, 19], "matric": [9, 15], "pleas": 9, "guid": 9, "directori": 9, "extrem": 9, "here": [9, 11, 15, 16, 18, 19], "show": [9, 10, 12, 13, 14, 15, 16, 17, 19], "wall": 9, "chain": [9, 11], "along": [9, 11, 17], "bond": [9, 12, 18], "length": [9, 12], "\u00e5": [9, 12], "sto": [9, 12], "3g": [9, 12], "do": [9, 13], "tremend": 9, "visibl": 9, "mh": [9, 10, 17], "78": [9, 19], "05": [9, 10, 15], "_6": 9, "462": 9, "39": [9, 10, 11, 15, 16, 17, 18, 19], "27": [9, 17, 18, 19], "_8": 9, "834": 9, "108": 9, "72": [9, 19], "20": [9, 11, 14, 15, 17, 18, 19], "586": 9, "246": 9, "14": [9, 10, 15, 17, 18, 19], "37": [9, 19], "24": [9, 11, 17, 18, 19], "13": [9, 10, 15, 17, 18, 19], "917": 9, "495": 9, "51": [9, 19], "28": [9, 17, 18, 19], "30": [9, 17, 19], "428": 9, "899": 9, "2093": 9, "92": [9, 19], "32": [9, 18, 19], "59": [9, 17, 19], "634": 9, "520": 9, "50909": 9, "row": 9, "v100": 9, "uncertainti": [9, 20], "cutom": [9, 13], "sigma_z": [9, 16, 19], "delta": [9, 14, 16, 19], "sigma_x": [9, 16, 19], "omega": [9, 14, 16, 18], "simplic": 9, "op": [9, 14, 16, 18, 19], "basisset": 9, "renorm": [9, 16], "basishalfspin": [9, 16, 18, 19], "basissho": [9, 14, 16, 18], "ham_term": [9, 14, 16, 19], "nba": [9, 14, 16, 18, 19], "about": 9, "next": [9, 11, 14, 15], "evolut": [9, 16, 20], "property_op_dict": [9, 14, 16], "physic": [9, 18], "dure": [9, 11], "te": [9, 14, 16], "z": [9, 16, 18, 19], "happen": 9, "under": [9, 12], "hood": 9, "That": 9, "learn": 9, "mai": [9, 14, 17], "visit": 9, "mechan": 9, "jupyt": 9, "notebook": [9, 10, 11, 12, 13, 14, 15, 16, 17], "github": 9, "repositori": 9, "recent": 9, "build": [10, 11, 12, 15, 17], "singl": 10, "doubl": 10, "ex1_op": 10, "ex1_param_id": 10, "ex2_op": 10, "ex2_param_id": 10, "element": [10, 17], "annihil": 10, "zip": [10, 11], "7": [10, 11, 13, 14, 15, 16, 17, 19, 20], "group": 10, "togeth": 10, "collect": 10, "defaultdict": 10, "op_pool": 10, "ex1_id": 10, "append": [10, 11, 12, 13, 14, 15, 16, 18, 19], "ex2_id": 10, "onc": 10, "criteria": 10, "maxim": 10, "absolut": 10, "origin": [10, 18], "wavefunct": [10, 16, 18], "new": 10, "hg_k": 10, "With": 10, "bigg": 10, "multipl": 10, "should": 10, "stop": 10, "norm": 10, "predefin": 10, "max_it": 10, "100": [10, 12, 16, 17, 19], "op_gradient_list": 10, "bra": [10, 18, 19], "op_list": 10, "conj": [10, 16, 18, 19], "len": [10, 12, 15, 16, 18, 19], "linalg": [10, 14, 16, 18, 19], "nonzero": 10, "ab": 10, "continu": 10, "10f": 10, "break": 10, "chosen_op_list": 10, "argmax": 10, "success": [10, 15, 17], "updat": [10, 19, 20], "extend": [10, 11, 19], "els": 10, "maximum": 10, "reach": 10, "6413625239691856": 10, "0000001787": 10, "0000001938": 10, "2103420256": 10, "2141378225": 10, "1874444822": 10, "3756623781": 10, "1653203524": 10, "2765500090": 10, "2029254292": 10, "130032459500918": 10, "5218024526621244": 10, "0125038973": 10, "0167842115": 10, "1713002616": 10, "2226765539": 10, "2132785933": 10, "1071344471": 10, "3020073191": 10, "2115115746": 10, "1521053433859345": 10, "4071773446367265": 10, "0401782688": 10, "0344678940": 10, "1829807723": 10, "1754330302": 10, "2209264766": 10, "0035378050": 10, "1519036061": 10, "1638188641": 10, "1560078326527474": 10, "3397631170243717": 10, "0447472512": 10, "0390906463": 10, "1863194802": 10, "1647591097": 10, "0000000382": 10, "0000000803": 10, "1629033819": 10, "0000000722": 10, "1533315226": 10, "158313503086184": 10, "2904720974252725": 10, "0507437926": 10, "0431791207": 10, "0000000009": 10, "1548519273": 10, "0000000012": 10, "0000000017": 10, "1881028425": 10, "0000000006": 10, "1434324638": 10, "160631774640665": 10, "23155645245221745": 10, "0418683900": 10, "0344273185": 10, "1647882822": 10, "0000000002": 10, "1533786504": 10, "164921018130742": 10, "16766398932285673": 10, "0241699861": 10, "0308084251": 10, "0004344058": 10, "0012217449": 10, "0008976241": 10, "0004632254": 10, "0003003856": 10, "1630186312": 10, "1674443274948185": 10, "026968274543560385": 10, "0206092184": 10, "0173939056": 10, "0000000813": 10, "0000000039": 10, "0000001792": 10, "0000001301": 10, "0000000779": 10, "0000000055": 10, "0000000310": 10, "1674988485893616": 10, "022742856617093358": 10, "0000000004": 10, "0227422801": 10, "0001099764": 10, "0000004105": 10, "0000167703": 10, "0001173127": 10, "0000073356": 10, "0000055027": 10, "1675452943964704": 10, "482330523964407e": 10, "0000000015": 10, "0000000041": 10, "0000059866": 10, "0000001058": 10, "0000190189": 10, "0000015227": 10, "0000075106": 10, "0000041626": 10, "0000119403": 10, "final": [10, 15], "condit": [10, 17], "correl": [10, 13, 17], "121387": 10, "46": [10, 19], "173788": 10, "000": [10, 17], "151794": 10, "15": [10, 12, 15, 17, 18, 19], "766505": 10, "65": [10, 19], "854": 10, "167556": 10, "004979": 10, "99": [10, 19], "989": [10, 17], "167545": 10, "015250": 10, "967": 10, "167561": 10, "000000": [10, 17], "10010110": 10, "051907": 10, "052049": 10, "01101001": 10, "01010101": 10, "140231": 10, "139297": 10, "10101010": 10, "033405": 10, "033263": 10, "11000011": 10, "024488": 10, "024327": 10, "00111100": 10, "01011010": 10, "028461": 10, "028758": 10, "10100101": 10, "052825": 10, "053072": 10, "10011001": 10, "030435": 10, "030805": 10, "01100011": 10, "006359": 10, "005294": 10, "00110110": 10, "10010011": 10, "004086": 10, "00111001": 10, "fun": [10, 15, 17, 18], "16754529": 10, "hess_inv": [10, 15, 17], "lt": [10, 13, 14, 15, 16, 17, 18, 19], "9x9": 10, "lbfgsinvhessproduct": [10, 15, 17], "gt": [10, 14, 15, 16, 17, 18, 19], "052049049877468376": 10, "13929721882902535": 10, "033262956584275416": 10, "02432719362945896": 10, "02875765729787159": 10, "05307218567505374": 10, "030805233161950704": 10, "005294244026331024": 10, "jac": [10, 15, 17, 18], "07062545e": 10, "09": 10, "83791785e": 10, "30782196e": 10, "08": [10, 18, 19], "70760122e": 10, "83647155e": 10, "33705792e": 10, "54077142e": 10, "48813139e": 10, "13038187e": 10, "messag": [10, 13, 15, 17], "rel_reduction_of_f_": [10, 13], "_factr": [10, 13], "epsmch": [10, 13], "nfev": [10, 15, 17], "nit": [10, 15, 17], "njev": [10, 15, 17], "opt_tim": [10, 15, 17], "014690637588500977": 10, "staging_tim": [10, 11, 15, 17], "76837158203125e": 10, "07": [10, 15], "statu": [10, 15, 17], "x": [10, 14, 15, 16, 17, 18, 19], "0519072": 10, "14023057": 10, "03340521": 10, "02448758": 10, "02846146": 10, "0528252": 10, "03043539": 10, "00635861": 10, "00408631": 10, "interplai": 11, "panda": 11, "h_chain": 11, "n_h_list": 11, "uccsd_list": 11, "n_h": 11, "params_list": 11, "random": 11, "rand": 11, "jax_engin": 11, "numpy_engin": 11, "cupy_engin": 11, "tested_engines_list": 11, "time_data": 11, "tested_engin": 11, "dry": 11, "let": [11, 19], "time1": [11, 12, 15], "time2": [11, 12], "sever": [11, 15, 16, 18], "n_run": 11, "run_tim": 11, "item": 11, "6734888553619385": 11, "0013010025024414063": 11, "6995089054107666": 11, "5532455444335938": 11, "0008256316184997558": 11, "5697581768035889": 11, "6092183589935303": 11, "0061431884765625": 11, "7320821285247803": 11, "6665019989013672": 11, "0064354419708251955": 11, "7952108383178711": 11, "0294039249420166": 11, "016276955604553223": 11, "35494303703308105": 11, "530415773391724": 11, "003479158878326416": 11, "599998950958252": 11, "3404414653778076": 11, "001799321174621582": 11, "3764278888702393": 11, "6547484397888184": 11, "007375049591064453": 11, "8022494316101074": 11, "63521146774292": 11, "006232154369354248": 11, "7598545551300049": 11, "1072854995727539": 11, "09403668642044068": 11, "9880192279815674": 11, "58689785003662": 11, "05817370414733887": 11, "25": [11, 15, 16, 17, 18, 19], "7503719329834": 11, "56268572807312": 11, "005127060413360596": 11, "665226936340332": 11, "9048683643341064": 11, "01238323450088501": 11, "1525330543518066": 11, "32372498512268": 11, "00833052396774292": 11, "490335464477539": 11, "4856069087982178": 11, "4437950611114502": 11, "361508131027222": 11, "0034182071685791016": 11, "003229069709777832": 11, "06799960136413574": 11, "0037720203399658203": 11, "003747880458831787": 11, "07872962951660156": 11, "01477956771850586": 11, "014781630039215088": 11, "3104121685028076": 11, "005614757537841797": 11, "003976082801818848": 11, "08513641357421875": 11, "0069615840911865234": 11, "006995594501495362": 11, "14687347412109375": 11, "09161663055419922": 11, "09203903675079346": 11, "9323973655700684": 11, "01762080192565918": 11, "008578836917877197": 11, "18919754028320312": 11, "02767157554626465": 11, "02590758800506592": 11, "545823335647583": 11, "4722292423248291": 11, "443195104598999": 11, "33613133430481": 11, "32034993171691895": 11, "008597338199615478": 11, "4922966957092285": 11, "02430891990661621": 11, "014339327812194824": 11, "3110954761505127": 11, "01539301872253418": 11, "01657602787017822": 11, "34691357612609863": 11, "036718130111694336": 11, "01722104549407959": 11, "38113903999328613": 11, "05296659469604492": 11, "052764499187469484": 11, "1082565784454346": 11, "09645533561706543": 11, "09423872232437133": 11, "9812297821044922": 11, "1256849765777588": 11, "04901479482650757": 11, "1059808731079102": 11, "18027353286743164": 11, "1753893733024597": 11, "688060998916626": 11, "4615364074707031": 11, "45049295425415037": 11, "471395492553711": 11, "df": [11, 18], "column": 11, "set_index": 11, "673489": 11, "001301": 11, "699509": 11, "553246": 11, "000826": 11, "569758": 11, "609218": 11, "006143": 11, "732082": 11, "666502": 11, "006435": 11, "795211": 11, "029404": 11, "016277": 11, "354943": 11, "530416": 11, "003479": 11, "599999": 11, "340441": 11, "001799": 11, "376428": 11, "654748": 11, "007375": 11, "802249": 11, "635211": 11, "006232": 11, "759855": 11, "107285": 11, "094037": 11, "988019": 11, "586898": 11, "058174": 11, "750372": 11, "562686": 11, "005127": 11, "665227": 11, "904868": 11, "012383": 11, "152533": 11, "323725": 11, "008331": 11, "490335": 11, "485607": 11, "443795": 11, "361508": 11, "003418": 11, "003229": 11, "068000": 11, "003772": 11, "003748": 11, "078730": 11, "014780": 11, "014782": 11, "310412": 11, "005615": 11, "003976": 11, "085136": 11, "006962": 11, "006996": 11, "146873": 11, "091617": 11, "092039": 11, "932397": 11, "017621": 11, "008579": 11, "189198": 11, "027672": 11, "025908": 11, "545823": 11, "472229": 11, "443195": 11, "336131": 11, "320350": 11, "008597": 11, "492297": 11, "024309": 11, "014339": 11, "311095": 11, "015393": 11, "016576": 11, "346914": 11, "036718": 11, "017221": 11, "381139": 11, "052967": 11, "052764": 11, "108257": 11, "096455": 11, "094239": 11, "981230": 11, "125685": 11, "049015": 11, "105981": 11, "180274": 11, "175389": 11, "688061": 11, "461536": 11, "450493": 11, "471395": 11, "conclus": 11, "easili": [11, 17], "drawn": 11, "find": 11, "interesting_indic": 11, "ddf": 11, "groupbi": 11, "run_time_idx": 11, "idxmin": 11, "total_time_idx": 11, "loc": [11, 15, 16], "everi": 11, "fastest": 11, "term": [11, 15, 16, 20], "taken": [11, 15, 19], "account": [11, 15], "scalabl": 11, "choic": 11, "h_2o": 12, "theori": [12, 14], "incur": 12, "highlight": [12, 13], "pe": 12, "contruct": 12, "laptop": 12, "within": 12, "minut": [12, 14], "seri": 12, "angl": 12, "80": [12, 15, 19], "115": 12, "90\u00e5": 12, "15\u00e5": 12, "sampl": 12, "def": [12, 14, 15, 16, 18, 19], "get_h2o_m": 12, "bond_angl": 12, "bond_length": 12, "h1": 12, "linspac": [12, 13, 14], "180": 12, "90": [12, 19], "itertool": 12, "speedup": 12, "38": [12, 19], "372753381729126": 12, "matplotlib": [12, 13, 14, 15, 16, 18, 19], "pyplot": [12, 13, 14, 15, 16, 18, 19], "plt": [12, 13, 14, 15, 16, 18, 19], "contourf": 12, "reshap": [12, 15, 18, 19], "cmap": 12, "blues_r": 12, "50": [12, 19], "colorbar": 12, "xlabel": [12, 13, 14, 15, 16, 18, 19], "ylabel": [12, 13, 14, 15, 16, 18, 19], "demonstr": [13, 15], "fill": 13, "t": [13, 14, 16, 18, 19], "sum_": [13, 14, 15, 18], "sigma": [13, 19], "dagger_": 13, "c_": 13, "u": [13, 19], "sum_j": [13, 16, 19], "n_": [13, 15], "captur": 13, "strong": 13, "still": 13, "satisfactori": 13, "flexibl": [13, 17], "site": [13, 18], "scan": 13, "u_arrai": 13, "e_hf_list": 13, "e_ccsd_list": 13, "e_uccsd_list": 13, "e_fci_list": 13, "opt_r": [13, 17, 18], "record": [13, 15], "e_ccsd": [13, 17], "mpl_config": [13, 14, 15, 16, 19], "marker": [13, 14, 15], "label": [13, 14, 15, 16, 18], "linestyl": [13, 14, 15, 16], "legend": [13, 14, 15, 16], "savefig": [13, 14, 15, 16], "pdf": [13, 14, 15, 16, 17], "charg": 14, "transfer": [14, 18], "v": [14, 16, 18, 19], "a_1": 14, "dagger_1": 14, "b_i": 14, "dimensionless": 14, "coupl": 14, "vibrat": [14, 18, 19], "frequenc": [14, 18], "decreas": 14, "reaction": 14, "gibb": 14, "free": [14, 15], "chang": 14, "rate": 14, "increas": [14, 15], "predict": 14, "basismultielectron": 14, "jax_backend": 14, "get_hamiltonian": 14, "delta_g": 14, "e0": 14, "e1": 14, "v0": [14, 19], "v1": [14, 19], "relax": 14, "get_init_condit": 14, "eigh": 14, "op_mat": 14, "execut": [14, 15], "sinc": [14, 17], "trajectori": 14, "n_list": 14, "delta_g_list": 14, "init_condit": 14, "40": [14, 15, 19], "property_dict": 14, "arang": [14, 16, 19], "41": [14, 19], "enumer": [14, 18], "0x7fe1baea3690": 14, "hbar": 14, "sqrt": [14, 15], "lambda": 14, "exp": 14, "2g": 14, "reorgan": 14, "temperatur": 14, "need": [14, 17, 18, 19], "fit": 14, "polyfit": 14, "014047289363197032": 14, "02814188436474036": 14, "029197240764329252": 14, "019342655847204578": 14, "01011515881320177": 14, "tunnel": 14, "phy": 14, "rev": 14, "2009": 14, "79": [14, 19], "115203": 14, "014048168006004535": 14, "028141822635725088": 14, "02919731407299346": 14, "019324510938040215": 14, "marcus_r": 14, "lam": 14, "curve_fit": 14, "trapezoid": 14, "nuclear_tunneling_r": 14, "1e3": 14, "integrand": 14, "1j": [14, 16, 19], "dense_delta_g": 14, "log10": 14, "markers": 14, "frameon": 14, "0x7fe1a82b5c10": 14, "fig": [14, 18, 19], "figsiz": 14, "tight_layout": 14, "ax1": 14, "ax2": 14, "subplot": 14, "sca": 14, "text": [14, 18], "bf": [14, 19], "fontsiz": 14, "43": [14, 19], "_2": 15, "illustr": [15, 17, 19], "well": 15, "wrap": 15, "complet": [15, 19], "fewer": 15, "line": 15, "studi": [15, 19], "ideal": 15, "art": 15, "consequ": 15, "adopt": [15, 18, 19], "inher": 15, "veri": [15, 16], "shortcut": 15, "7141392859919029": [15, 17], "2527052599711868": [15, 17], "48227117798977825": [15, 17], "6745650967143663": [15, 17], "18126641677772592": [15, 17], "6635375947675042": [15, 17], "47569770336145906": [15, 17], "6635375947675038": [15, 17], "6974673850129379": [15, 17], "remov": 15, "33948675952516477": 15, "x0": [15, 16, 17, 18], "x1": [15, 17], "39422935037950685": 15, "z0": [15, 17], "01123932304807404": 15, "z1": [15, 17], "3942293503795067": 15, "altern": 15, "approach": 15, "tool": 15, "moleculardata": 15, "compos": 15, "mpl": [15, 17], "creat": 15, "probabl": 15, "rho": [15, 19], "p_j": 15, "16p": 15, "introduc": [15, 17], "pure": 15, "fidel": 15, "98": [15, 19], "flop": [15, 17], "96": [15, 19], "1202549357480136": 15, "12025494": 15, "4x4": 15, "14159265": 15, "16941739e": 15, "55111512e": [15, 17], "17": [15, 17, 18, 19], "00000000e": [15, 17], "norm_of_projected_gradient_": [15, 17], "_pgtol": [15, 17], "25640320777893066": 15, "1920928955078125e": 15, "06": [15, 17], "25973122e": 15, "14159265e": 15, "82347069e": 15, "19412730e": 15, "higher": 15, "noisemodel": 15, "isotropicdepolarizingchannel": 15, "num_qubit": 15, "add_nois": 15, "9245310332616318": 15, "92453103": 15, "87354315e": 15, "25928783416748047": 15, "5367431640625e": 15, "83807579e": 15, "76918418e": 15, "infinit": 15, "4096": 15, "slower": 15, "overhead": 15, "suppress": 15, "128": 15, "9187451689899536": 15, "9285959899718158": 15, "9285225235212169": 15, "9349106044977904": 15, "9264353453475235": 15, "9250756148331946": 15, "9245772630966033": 15, "9238598336661094": 15, "924377692124025": 15, "923522568588401": 15, "exact": [15, 16, 17], "agreement": 15, "1372744055294381": 15, "1372744055294384": [15, 17], "rebuild": 15, "automat": 15, "exactli": 15, "ve": 15, "desir": [15, 17], "multi": [15, 17], "elementari": [15, 17], "turn": 15, "off": 15, "functool": 15, "gate_count": 15, "8208126798813514": 15, "18": [15, 17, 18, 19], "librari": 15, "twoloc": 15, "rotation_block": 15, "entanglement_block": 15, "cx": 15, "rep": 15, "affect": 15, "linearli": 15, "accur": [15, 18], "estim": [15, 17], "caus": 15, "deterior": 15, "get_noise_conf": 15, "error_prob": 15, "001": [15, 17], "60": [15, 19], "e_list": 15, "zeros_lik": 15, "e_arrai": 15, "445068836212158": 15, "plot": [15, 18, 19, 20], "standard": 15, "deviat": 15, "As": [15, 19], "linear": [15, 18], "far": 15, "signific": 15, "adjust": 15, "shots_list": 15, "64": [15, 19], "673604011535645": 15, "std": 15, "axi": 15, "var": 15, "scratch": 16, "simpl": [16, 17], "harmon": 16, "oscil": 16, "sho": 16, "relev": 16, "shotcut": 16, "abl": 16, "proper": 16, "qubit_encode_op": [16, 18], "qubit_encode_basi": [16, 18, 19], "ham_terms_spin": 16, "basis_spin": 16, "tccqubit": [16, 18, 19], "9517337620166572": 16, "040295934250509535": 16, "26872106012443797": 16, "14271676764170976": 16, "4829629131445341": 16, "12940952255126037": 16, "h_j": 16, "prod_k": 16, "prod_j": [16, 18], "kj": 16, "get_ansatz": [16, 18, 19], "get_jacobian_func": [16, 19], "get_deriv": [16, 19], "feed": [16, 20], "devicearrai": [16, 19], "jacobian": 16, "vqa": 16, "tdvp": 16, "funcction": 16, "jacobian_func": [16, 19], "dot": [16, 19], "mclachlan": 16, "principl": 16, "im": [16, 19], "dens": 16, "get_dense_oper": 16, "solve_ivp": [16, 19], "scipy_deriv": 16, "_theta": 16, "rk45": 16, "ivp": 16, "expm": 16, "tau": [16, 19], "z_op": [16, 19], "z_list": [16, 19], "z_exact_list": 16, "scipy_sol": 16, "evolv": [16, 19], "y": [16, 18, 19], "state_exact": 16, "101": [16, 19], "xlim": 16, "ylim": 16, "75": [16, 19], "0x7ff5484ae950": 16, "subsect": 16, "greatli": 16, "t_list": 16, "sbm": [16, 19], "nice": 17, "great": 17, "own": 17, "debug": 17, "prototyp": 17, "built": [17, 20], "gto": 17, "0x7f132bfd3990": 17, "cell": 17, "2160": 17, "116706": 17, "568268": 17, "129868": 17, "406850": 17, "63": [17, 19], "137275": 17, "000165": 17, "137274": 17, "082849e": 17, "129866e": 17, "072608": 17, "13727441": 17, "2x2": 17, "07260814651571333": 17, "60813938e": 17, "19": [17, 18, 19], "11022302e": 17, "010929584503173828": 17, "337860107421875e": 17, "08284918e": 17, "12986561e": 17, "conveni": 17, "glanc": 17, "part": [17, 20], "compact": 17, "optimizeresult": 17, "separ": 17, "standalon": 17, "0x7f131c17fe10": 17, "http": [17, 18, 19], "arxiv": 17, "org": [17, 18, 19], "2005": 17, "14475": 17, "tradit": 17, "expos": 17, "whenev": 17, "simplest": 17, "intent": 17, "handi": 17, "toolbox": 17, "0x7f13232ed950": 17, "scf": 17, "hf_symm": 17, "symadaptedrhf": 17, "0x7f132bafc850": 17, "e_mp2": 17, "116706137236105": 17, "1298675557838804": 17, "1372745709766439": 17, "shape": [17, 18], "09835117053027564": 17, "0j": 17, "04531660419443148": 17, "x2": 17, "x3": 17, "y2": 17, "y3": 17, "y0": 17, "y1": 17, "22297018776182556": 17, "12056779449744456": 17, "17436684625323448": 17, "z2": 17, "16588439869187604": 17, "z3": 17, "1712591626176813": 17, "16588439869187596": 17, "16864127417859157": 17, "22297018776182548": 17, "1712591626176812": 17, "07260815": 17, "93623806e": 17, "12746318e": 17, "among": 17, "21": [17, 18, 19], "2e": 17, "2o": 17, "343542e": 17, "157573": 17, "480558e": 17, "208": 17, "163054": 17, "932076e": 17, "04": 17, "881784e": 17, "000000e": 17, "112312e": 17, "377274e": 17, "082065": 17, "163053957291894": 17, "16305396": 17, "08206541779079227": 17, "21074365e": 17, "003999471664428711": 17, "6689300537109375e": 17, "11231160e": 17, "37727434e": 17, "nad": 17, "22": [17, 18, 19], "uccsd_from_integr": 17, "fairli": 17, "23": [17, 18, 19], "149618533807672": 17, "1496185338076685": 17, "caveat": 17, "float32": 17, "27679890e": 17, "93866451e": 17, "26": [17, 18, 19], "29": [17, 19], "435423": 17, "480558": 17, "000193": 17, "31": [17, 19], "beyond": 17, "vbe": [18, 19], "holstein": 18, "_i": 18, "sum_i": 18, "phonon": [18, 19], "exist": 18, "view": 18, "conbin": 18, "effect": [18, 20], "save": 18, "n_l": 18, "ket": [18, 19], "_l": [18, 19], "sum_m": 18, "mn": 18, "central": 18, "present": [18, 19], "doi": [18, 19], "1103": [18, 19], "physrevresearch": [18, 19], "023046": [18, 19], "opt_einsum": [18, 19], "basissimpleelectron": 18, "mpo": [18, 19], "util": 18, "scipy_opt_wrap": 18, "vbe_lib": [18, 19], "get_psi_indic": [18, 19], "get_contracted_mpo": [18, 19], "get_contract_arg": [18, 19], "intit": 18, "nsite": 18, "intergr": 18, "possess": 18, "per": 18, "n_qubit_per_mod": [18, 19], "nbas_v": [18, 19], "psi_index_top": [18, 19], "psi_index_bottom": [18, 19], "b_dof_vidx": [18, 19], "psi_shape2": [18, 19], "stuctur": [18, 19], "mark": 18, "blue": [18, 19], "squar": [18, 19], "green": [18, 19], "circl": [18, 19], "purpl": 18, "orang": 18, "natur": [18, 19], "dof_natur": [18, 19], "b_dof_pidx": [18, 19], "psi_idx_top": [18, 19], "psi_idx_bottom": [18, 19], "n_dof": [18, 19], "prepar": 18, "2023": [18, 19], "44": [18, 19], "36": [18, 19], "794994": 18, "extern": [18, 19], "org_tensorflow": [18, 19], "tensorflow": [18, 19], "xla": [18, 19], "stream_executor": [18, 19], "cuda_driv": [18, 19], "cc": [18, 19], "267": [18, 19], "fail": [18, 19], "cuinit": [18, 19], "cuda_error_no_devic": [18, 19], "capabl": [18, 19], "detect": [18, 19], "warn": [18, 19], "_src": [18, 19], "lib": [18, 19], "xla_bridg": [18, 19], "tpu": [18, 19], "fall": [18, 19], "back": [18, 19], "tf_cpp_min_log_level": [18, 19], "rerun": [18, 19], "info": [18, 19], "bottom": [18, 19], "prod_l": 18, "ijk": 18, "_k": 18, "phi_0": [18, 19], "anasatz": 18, "get_vha_term": [18, 19], "dummi": 18, "doesn": 18, "matter": 18, "ansatz_term": 18, "spin_basi": [18, 19], "opposit": 18, "nspin_basi": 18, "nparam_id": 18, "nansatz": 18, "5j": 18, "1830127018922193j": 18, "6830127018922193j": 18, "3535533905932738j": 18, "local": 18, "0x7f2fd4ed29e0": 18, "_1": [18, 19], "cost_fn": 18, "squeez": [18, 19], "vg": 18, "value_and_grad": 18, "opt_fn": 18, "shown": 18, "get_ham_terms_and_basi": 18, "tild": [18, 19], "neq": [18, 19], "graphic": [18, 19], "representarion": 18, "h_contract": [18, 19], "obivi": 18, "mention": 18, "non": 18, "avoid": 18, "minimum": 18, "nroot": 18, "solve_b_arrai": 18, "h_mpo": [18, 19], "b_arrai": [18, 19], "arg": [18, 19], "top": [18, 19], "contracted_h": 18, "abc": 18, "abd": 18, "acd": 18, "abcd": 18, "kab": 18, "kde": 18, "kce": 18, "ey": [18, 19], "sol": [18, 19], "root": 18, "flatten": 18, "sane": 18, "copi": [18, 19], "new_b": 18, "ensur": 18, "orthomorm": 18, "constraint": 18, "allclos": 18, "enforc": 18, "orthogon": 18, "th": 18, "qr": 18, "lowest_id": 18, "argmin": 18, "funtion": 18, "preform": 18, "ii": [18, 19], "search": 18, "vqe_e": 18, "max": 18, "b_list": [18, 19], "nbas_dummi": 18, "hamitonian": 18, "i_it": 18, "1462862688238387": 18, "1467101393155392": 18, "1516072207104755": 18, "146809472707097": 18, "1436199703762058": 18, "1436211792549265": 18, "1436161320531255": 18, "1436163145946456": 18, "143610688816215": 18, "143615904093609": 18, "143618182488605": 18, "200840457440427": 18, "2122982581916806": 18, "2148415941913107": 18, "214454540682066": 18, "214612010154128": 18, "2147110746262615": 18, "2147665497225395": 18, "2148131940534586": 18, "2154252365889784": 18, "1514261568965116": 18, "207712921399021": 18, "2143507766993564": 18, "2151165867343625": 18, "215551620056812": 18, "21568849222177": 18, "215871719331443": 18, "215941510624362": 18, "2160628060732046": 18, "216149074896171": 18, "1514406055444124": 18, "2076420281600306": 18, "2142584040499904": 18, "215027472815238": 18, "215298468441994": 18, "215473370191188": 18, "215603547226202": 18, "2157277687243084": 18, "21585866940053": 18, "215945718302776": 18, "1514390786099793": 18, "207490813088342": 18, "214102161196929": 18, "2148182787029125": 18, "215041112156586": 18, "2151813495719064": 18, "2153433350190888": 18, "215488882659097": 18, "2156246556276216": 18, "2157174737499026": 18, "1514387774077157": 18, "207367390115564": 18, "2139409419868894": 18, "214681092894311": 18, "2148647347163752": 18, "2149976397508198": 18, "2150898148896068": 18, "215209498240965": 18, "215350330348768": 18, "215489480343017": 18, "151439525393469": 18, "2073726435058725": 18, "21394347501351": 18, "2146357208139835": 18, "2147953021340396": 18, "2149183613661005": 18, "2150120210391324": 18, "2151326321686358": 18, "2152609684807225": 18, "2153772130446274": 18, "1514407536942515": 18, "2073747584311443": 18, "213913960989289": 18, "214575999427622": 18, "2147908760265476": 18, "214908337484859": 18, "214995903540079": 18, "2151048002575178": 18, "2151780903906246": 18, "215267190685132": 18, "1436159": 18, "21542524": 18, "21614907": 18, "21594572": 18, "21571747": 18, "21548948": 18, "21537721": 18, "21526719": 18, "970388609022889": 18, "970388750660544": 18, "970380747881972": 18, "9703823363984405": 18, "970361506210726": 18, "970387322685639": 18, "970395203902614": 18, "970391647335198": 18, "970399166505385": 18, "970381692433662": 18, "97038378078057": 18, "5564103165274705": 18, "867598000881585": 18, "886883542215796": 18, "8885422575017525": 18, "88860270448971": 18, "888976697629529": 18, "889032282397925": 18, "87508588628647": 18, "88070265416792": 18, "97067566818566": 18, "243806185428152": 18, "734803721364637": 18, "761741304437681": 18, "763332322992516": 18, "763771458365108": 18, "764185047602272": 18, "764384932213805": 18, "76466850977698": 18, "764911481717341": 18, "96862038743091": 18, "429794930919833": 18, "026873692202507": 18, "056442107809515": 18, "05694061960338": 18, "057045669005818": 18, "057238086937822": 18, "057282106387905": 18, "057566284361702": 18, "057828042375913": 18, "970618486961766": 18, "46027786865908": 18, "083147656265663": 18, "114099808352503": 18, "11560775880261": 18, "115877265080734": 18, "116097672280478": 18, "116229576435904": 18, "116393057481334": 18, "116547264265742": 18, "970625270862546": 18, "45711233270321": 18, "088394950174024": 18, "119585611496353": 18, "120622157156225": 18, "12076874586676": 18, "120868946965105": 18, "120961208842665": 18, "121266704999321": 18, "121400092721187": 18, "970428599007128": 18, "457873653767907": 18, "080983847442083": 18, "11887015866691": 18, "120581625216305": 18, "120780165844552": 18, "120861448711434": 18, "120944883939789": 18, "121064294222425": 18, "121158073032065": 18, "969871735326939": 18, "45468700588645": 18, "081070798150298": 18, "11871782591465": 18, "120482174048545": 18, "1206758213174": 18, "12076495864178": 18, "12087305152589": 18, "120974560170358": 18, "121128971234404": 18, "97038169": 18, "88070265": 18, "76491148": 18, "05782804": 18, "11654726": 18, "12140009": 18, "12115807": 18, "12112897": 18, "scatter": 18, "shall": 19, "kei": 19, "theoret": 19, "opsum": 19, "_z": 19, "_x": 19, "omega_j": 19, "omega_list": 19, "g_list": 19, "schemat": 19, "nmode": 19, "sure": 19, "correct": 19, "assert": 19, "npsi_index_bottom": 19, "nb_dof_vidx": 19, "npsi_shape2": 19, "been": 19, "get_model": 19, "nlevel": 19, "get_ham_term": 19, "get_basi": 19, "b_shape": 19, "psi0": 19, "927000": 19, "prod_n": 19, "theta_n": 19, "a_n": 19, "sum_a": 19, "j_a": 19, "_a": 19, "spin_ham_term": 19, "complete_list": 19, "symbol": 19, "ixyz": 19, "complete_r": 19, "squeeze_ident": 19, "is_ident": 19, "theta0": 19, "theta_deriv": 19, "project": 19, "nn": 19, "tr": 19, "deriv_fun": 19, "theta_and_b": 19, "split": 19, "thera": 19, "independ": 19, "b_deriv_list": 19, "indices_bas": 19, "psi_top_indic": 19, "psi_bottom_indic": 19, "out_indic": 19, "pinv": 19, "rho_inv": 19, "projector": 19, "proj": 19, "transpos": 19, "previou": 19, "b_deriv": 19, "einsum": 19, "bg": 19, "fg": 19, "fh": 19, "hg": 19, "concaten": 19, "astyp": 19, "complex": 19, "0x7f68b5462690": 19, "0x7f68503148d0": 19, "0x7f68503147d0": 19, "calcut": 19, "x_list": 19, "dummy_model": 19, "todens": 19, "x_op": 19, "9801368820199942": 19, "9221622297057478": 19, "8307164281767181": 19, "712902625694087": 19, "5774908043700016": 19, "4340489975856556": 19, "29215043357543824": 19, "1607516949764221": 19, "04771089791814444": 19, "040502642430565255": 19, "09904787191380995": 19, "12493534752914795": 19, "11727456640490394": 19, "07753204265425653": 19, "009732009482324864": 19, "0795128404043315": 19, "18126828150880098": 19, "2849420221890886": 19, "37936481084384754": 19, "454192768911805": 19, "5014051186981502": 19, "5165776398039041": 19, "49960262655096854": 19, "454624729908236": 19, "38915769753158064": 19, "31259780970942813": 19, "2345813095925135": 19, "1636633691524335": 19, "10653226239863313": 19, "06766729976756988": 19, "04926876472593326": 19, "05139921686178229": 19, "33": 19, "07232882932406118": 19, "34": 19, "10899831508240451": 19, "35": 19, "15745403958628454": 19, "21315107699434557": 19, "27112011043252915": 19, "3261026901074539": 19, "3728086768061548": 19, "40637666288671287": 19, "4229683862535386": 19, "42": 19, "42032486089352117": 19, "3981218276511652": 19, "358045462603464": 19, "45": 19, "303614837159146": 19, "23991582373561202": 19, "47": 19, "17311347674692437": 19, "48": 19, "10948894653071074": 19, "49": 19, "05440718215103625": 19, "011717807210271824": 19, "016427087542680092": 19, "52": 19, "02981545362112685": 19, "53": 19, "030162355384666367": 19, "54": 19, "020379375716308275": 19, "55": 19, "0033909784547891857": 19, "56": 19, "018576266600602798": 19, "57": 19, "04368717824936481": 19, "58": 19, "06971819393413235": 19, "09364096597083588": 19, "11186039266314592": 19, "61": 19, "12076156704155695": 19, "62": 19, "11755115511155295": 19, "10090752714979544": 19, "07138982669111976": 19, "03253624871953725": 19, "66": 19, "011552300380283664": 19, "67": 19, "05607764510179323": 19, "68": 19, "09628855507563477": 19, "69": 19, "12836308326138923": 19, "70": 19, "14994039236833612": 19, "71": 19, "1596458713814789": 19, "15576794369843444": 19, "73": 19, "1373071561893098": 19, "74": 19, "10671249014129201": 19, "06743879382842288": 19, "76": 19, "022285878126101024": 19, "77": 19, "024280809221682687": 19, "06810377510953083": 19, "10678673871439198": 19, "13914885388461803": 19, "81": 19, "1611886576331503": 19, "82": 19, "16581373326788112": 19, "83": 19, "1542497273174869": 19, "84": 19, "13048909287272364": 19, "85": 19, "09708896314020657": 19, "86": 19, "057310903820287765": 19, "87": 19, "015533678436258006": 19, "88": 19, "024192504501293052": 19, "89": 19, "05790366853755518": 19, "0797592370408079": 19, "91": 19, "08582739907891124": 19, "07396770719727741": 19, "93": 19, "048080239560664026": 19, "94": 19, "012411290850183795": 19, "95": 19, "031070370091046573": 19, "08042891268644264": 19, "97": 19, "13037553828085885": 19, "17451072357728148": 19, "20513840470656897": 19, "outcom": 19, "overview": 20, "hello": 20, "world": 20, "pool": 20, "iter": 20, "discuss": 20, "backgroud": 20, "realiz": 20, "vha": 20, "structur": 20, "background": 20}, "objects": {"tencirchem": [[1, 0, 1, "", "HEA"], [2, 0, 1, "", "KUPCCGSD"], [3, 0, 1, "", "PUCCD"], [4, 0, 1, "", "UCC"], [5, 0, 1, "", "UCCSD"]], "tencirchem.HEA": [[1, 1, 1, "", "__init__"], [1, 1, 1, "", "as_pyscf_solver"], [1, 1, 1, "", "densitymatrix"], [1, 1, 1, "", "energy"], [1, 1, 1, "", "energy_and_grad"], [1, 1, 1, "", "from_integral"], [1, 1, 1, "", "from_molecule"], [1, 1, 1, "", "get_dmcircuit"], [1, 1, 1, "", "get_dmcircuit_no_noise"], [1, 1, 1, "", "get_opt_function"], [1, 2, 1, "", "grad"], [1, 1, 1, "", "kernel"], [1, 1, 1, "", "make_rdm1"], [1, 1, 1, "", "make_rdm2"], [1, 2, 1, "", "n_params"], [1, 2, 1, "", "params"], [1, 1, 1, "", "print_circuit"], [1, 1, 1, "", "print_summary"], [1, 1, 1, "", "ry"], [1, 1, 1, "", "statevector"]], "tencirchem.KUPCCGSD": [[2, 1, 1, "", "__init__"], [2, 1, 1, "", "apply_excitation"], [2, 1, 1, "", "as_pyscf_solver"], [2, 1, 1, "", "civector"], [2, 2, 1, "", "civector_size"], [2, 2, 1, "", "e_kupccgsd"], [2, 2, 1, "", "e_ucc"], [2, 1, 1, "", "embed_rdm_cas"], [2, 1, 1, "", "energy"], [2, 1, 1, "", "energy_and_grad"], [2, 1, 1, "", "from_integral"], [2, 1, 1, "", "get_addr"], [2, 1, 1, "", "get_ci_strings"], [2, 1, 1, "", "get_circuit"], [2, 1, 1, "", "get_energy_dataframe"], [2, 1, 1, "", "get_ex1_ops"], [2, 1, 1, "", "get_ex2_ops"], [2, 1, 1, "", "get_ex_ops"], [2, 1, 1, "", "get_excitation_dataframe"], [2, 1, 1, "", "get_init_state_dataframe"], [2, 1, 1, "", "get_opt_function"], [2, 2, 1, "", "h_fermion_op"], [2, 2, 1, "", "h_qubit_op"], [2, 2, 1, "", "init_state"], [2, 1, 1, "", "kernel"], [2, 1, 1, "", "make_rdm1"], [2, 1, 1, "", "make_rdm2"], [2, 2, 1, "", "n_params"], [2, 2, 1, "", "no"], [2, 2, 1, "", "nv"], [2, 2, 1, "", "param_ids"], [2, 2, 1, "", "param_to_ex_ops"], [2, 2, 1, "", "params"], [2, 1, 1, "", "print_ansatz"], [2, 1, 1, "", "print_circuit"], [2, 1, 1, "", "print_energy"], [2, 1, 1, "", "print_excitations"], [2, 1, 1, "", "print_init_state"], [2, 1, 1, "", "print_summary"], [2, 1, 1, "", "statevector"], [2, 2, 1, "", "statevector_size"]], "tencirchem.PUCCD": [[3, 1, 1, "", "__init__"], [3, 1, 1, "", "apply_excitation"], [3, 1, 1, "", "as_pyscf_solver"], [3, 1, 1, "", "civector"], [3, 2, 1, "", "civector_size"], [3, 2, 1, "", "e_puccd"], [3, 2, 1, "", "e_ucc"], [3, 1, 1, "", "embed_rdm_cas"], [3, 1, 1, "", "energy"], [3, 1, 1, "", "energy_and_grad"], [3, 1, 1, "", "from_integral"], [3, 1, 1, "", "get_addr"], [3, 1, 1, "", "get_ci_strings"], [3, 1, 1, "", "get_circuit"], [3, 1, 1, "", "get_energy_dataframe"], [3, 1, 1, "", "get_ex1_ops"], [3, 1, 1, "", "get_ex2_ops"], [3, 1, 1, "", "get_ex_ops"], [3, 1, 1, "", "get_excitation_dataframe"], [3, 1, 1, "", "get_init_state_dataframe"], [3, 1, 1, "", "get_opt_function"], [3, 2, 1, "", "h_fermion_op"], [3, 2, 1, "", "h_qubit_op"], [3, 2, 1, "", "init_state"], [3, 1, 1, "", "kernel"], [3, 1, 1, "", "make_rdm1"], [3, 1, 1, "", "make_rdm2"], [3, 2, 1, "", "n_params"], [3, 2, 1, "", "no"], [3, 2, 1, "", "nv"], [3, 2, 1, "", "param_ids"], [3, 2, 1, "", "param_to_ex_ops"], [3, 2, 1, "", "params"], [3, 1, 1, "", "print_ansatz"], [3, 1, 1, "", "print_circuit"], [3, 1, 1, "", "print_energy"], [3, 1, 1, "", "print_excitations"], [3, 1, 1, "", "print_init_state"], [3, 1, 1, "", "print_summary"], [3, 1, 1, "", "statevector"], [3, 2, 1, "", "statevector_size"]], "tencirchem.UCC": [[4, 1, 1, "", "__init__"], [4, 1, 1, "", "apply_excitation"], [4, 1, 1, "", "as_pyscf_solver"], [4, 1, 1, "", "civector"], [4, 2, 1, "", "civector_size"], [4, 2, 1, "", "e_ucc"], [4, 1, 1, "", "embed_rdm_cas"], [4, 1, 1, "", "energy"], [4, 1, 1, "", "energy_and_grad"], [4, 1, 1, "", "from_integral"], [4, 1, 1, "", "get_addr"], [4, 1, 1, "", "get_ci_strings"], [4, 1, 1, "", "get_circuit"], [4, 1, 1, "", "get_energy_dataframe"], [4, 1, 1, "", "get_ex1_ops"], [4, 1, 1, "", "get_ex2_ops"], [4, 1, 1, "", "get_ex_ops"], [4, 1, 1, "", "get_excitation_dataframe"], [4, 1, 1, "", "get_init_state_dataframe"], [4, 1, 1, "", "get_opt_function"], [4, 2, 1, "", "h_fermion_op"], [4, 2, 1, "", "h_qubit_op"], [4, 2, 1, "", "init_state"], [4, 1, 1, "", "kernel"], [4, 1, 1, "", "make_rdm1"], [4, 1, 1, "", "make_rdm2"], [4, 2, 1, "", "n_params"], [4, 2, 1, "", "no"], [4, 2, 1, "", "nv"], [4, 2, 1, "", "param_ids"], [4, 2, 1, "", "param_to_ex_ops"], [4, 2, 1, "", "params"], [4, 1, 1, "", "print_ansatz"], [4, 1, 1, "", "print_circuit"], [4, 1, 1, "", "print_energy"], [4, 1, 1, "", "print_excitations"], [4, 1, 1, "", "print_init_state"], [4, 1, 1, "", "print_summary"], [4, 1, 1, "", "statevector"], [4, 2, 1, "", "statevector_size"]], "tencirchem.UCCSD": [[5, 1, 1, "", "__init__"], [5, 1, 1, "", "apply_excitation"], [5, 1, 1, "", "as_pyscf_solver"], [5, 1, 1, "", "civector"], [5, 2, 1, "", "civector_size"], [5, 2, 1, "", "e_ucc"], [5, 2, 1, "", "e_uccsd"], [5, 1, 1, "", "embed_rdm_cas"], [5, 1, 1, "", "energy"], [5, 1, 1, "", "energy_and_grad"], [5, 1, 1, "", "from_integral"], [5, 1, 1, "", "get_addr"], [5, 1, 1, "", "get_ci_strings"], [5, 1, 1, "", "get_circuit"], [5, 1, 1, "", "get_energy_dataframe"], [5, 1, 1, "", "get_ex1_ops"], [5, 1, 1, "", "get_ex2_ops"], [5, 1, 1, "", "get_ex_ops"], [5, 1, 1, "", "get_excitation_dataframe"], [5, 1, 1, "", "get_init_state_dataframe"], [5, 1, 1, "", "get_opt_function"], [5, 2, 1, "", "h_fermion_op"], [5, 2, 1, "", "h_qubit_op"], [5, 2, 1, "", "init_state"], [5, 1, 1, "", "kernel"], [5, 1, 1, "", "make_rdm1"], [5, 1, 1, "", "make_rdm2"], [5, 2, 1, "", "n_params"], [5, 2, 1, "", "no"], [5, 2, 1, "", "nv"], [5, 2, 1, "", "param_ids"], [5, 2, 1, "", "param_to_ex_ops"], [5, 2, 1, "", "params"], [5, 1, 1, "", "pick_and_sort"], [5, 1, 1, "", "print_ansatz"], [5, 1, 1, "", "print_circuit"], [5, 1, 1, "", "print_energy"], [5, 1, 1, "", "print_excitations"], [5, 1, 1, "", "print_init_state"], [5, 1, 1, "", "print_summary"], [5, 1, 1, "", "statevector"], [5, 2, 1, "", "statevector_size"]], "tencirchem.static.hea": [[1, 3, 1, "", "binary"], [1, 3, 1, "", "get_ry_circuit"], [1, 3, 1, "", "parity"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "function", "Python function"]}, "titleterms": {"advanc": 0, "topic": 0, "engin": [0, 11], "backend": [0, 6], "boson": [0, 16], "encod": [0, 18, 19], "headwar": 1, "effici": 1, "ansatz": [1, 15, 16, 18, 19], "noisi": [1, 9, 15], "circuit": [1, 9, 15, 17], "simul": [1, 9, 14, 15, 16], "k": 2, "upccgsd": 2, "pair": 3, "uccd": 3, "puccd": 3, "ucc": [4, 6, 9, 15, 17], "uccsd": [5, 13], "frequent": 6, "ask": 6, "question": 6, "what": 6, "ar": 6, "convent": 6, "excit": 6, "oper": [6, 10], "integr": [6, 17], "orbit": 6, "indic": 6, "why": 6, "number": 6, "paramet": [6, 17], "differ": 6, "i": 6, "param_id": 6, "tencirchem": [6, 7], "so": 6, "fast": 6, "how": 6, "doe": 6, "evalu": 6, "gradient": 6, "us": [6, 16, 17], "gpu": 6, "jax": 6, "slow": 6, "first": 6, "run": [6, 14, 16], "guid": 7, "api": 8, "refer": 8, "quick": 9, "start": [9, 17], "instal": 9, "calcul": [9, 12, 13], "speed": 9, "dynam": [9, 16], "further": 9, "read": 9, "adapt": 10, "vqe": [10, 15, 18], "overview": [10, 11, 12, 13, 14, 15, 16, 17], "form": 10, "pool": 10, "iter": [10, 18], "benchmark": 11, "setup": [11, 12, 13, 15, 17, 18], "result": 11, "discuss": 11, "potenti": 12, "energi": [12, 15], "surfac": 12, "water": 12, "molecul": 12, "plot": [12, 13, 14, 16], "hubbard": 13, "model": [13, 16], "observ": 14, "marcu": 14, "invert": 14, "region": 14, "defin": [14, 15], "hamiltonian": [14, 15, 18, 19], "initi": [14, 18, 19], "state": [14, 18, 19], "analyz": 14, "hea": 15, "class": [15, 16], "built": 15, "qiskit": 15, "effect": 15, "gate": 15, "nois": 15, "measur": 15, "shot": 15, "uncertainti": 15, "spin": 16, "determin": 16, "basi": [16, 18, 19], "construct": 16, "timeevolut": 16, "function": [17, 18, 19], "hello": 17, "world": 17, "The": 17, "attribut": 17, "activ": 17, "space": 17, "approxim": 17, "from": 17, "feed": 17, "custom": 17, "reduc": 17, "densiti": 17, "matrix": 17, "variat": [18, 19], "ground": 18, "1": [18, 19], "backgroud": 18, "2": [18, 19], "algorithm": [18, 19], "realiz": [18, 19], "import": [18, 19], "3": [18, 19], "get": [18, 19], "vha": 18, "term": [18, 19], "4": [18, 19], "cost": 18, "part": 18, "5": [18, 19], "6": 18, "updat": 18, "b": 18, "l": 18, "7": 18, "main": [18, 19], "structur": [18, 19], "time": 19, "depend": 19, "background": 19, "evolut": 19, "tutori": 20}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "nbsphinx": 4, "sphinx": 58}, "alltitles": {"Advanced Topics": [[0, "advanced-topics"]], "Engines": [[0, "engines"]], "Backends": [[0, "backends"]], "Boson Encoding": [[0, "boson-encoding"]], "Headware-Efficient Ansatz and Noisy Circuit Simulation": [[1, "headware-efficient-ansatz-and-noisy-circuit-simulation"]], "k-UpCCGSD": [[2, "k-upccgsd"]], "Paired UCCD (pUCCD)": [[3, "paired-uccd-puccd"]], "UCC": [[4, "ucc"]], "UCCSD": [[5, "uccsd"]], "Frequently Asked Questions": [[6, "frequently-asked-questions"]], "What are the conventions for excitation operators/integrals/orbital indices\u2026": [[6, "what-are-the-conventions-for-excitation-operators-integrals-orbital-indices"]], "Why are the number of excitation operators and the number of parameters different?/What is param_ids?": [[6, "why-are-the-number-of-excitation-operators-and-the-number-of-parameters-different-what-is-param-ids"]], "Why is TenCirChem so fast?": [[6, "why-is-tencirchem-so-fast"]], "How does TenCirChem evaluate UCC gradient?": [[6, "how-does-tencirchem-evaluate-ucc-gradient"]], "How to use GPU in TenCirChem?": [[6, "how-to-use-gpu-in-tencirchem"]], "Why is JAX backend so slow on first run?": [[6, "why-is-jax-backend-so-slow-on-first-run"]], "Guide to TenCirChem": [[7, "guide-to-tencirchem"]], "API Reference": [[8, "api-reference"]], "Quick Start": [[9, "quick-start"]], "Installation": [[9, "installation"]], "UCC Calculation": [[9, "ucc-calculation"]], "UCC Speed": [[9, "ucc-speed"]], "Noisy Circuit Simulation": [[9, "noisy-circuit-simulation"], [15, "Noisy-Circuit-Simulation"]], "Dynamics Calculation": [[9, "dynamics-calculation"]], "Further Readings": [[9, "further-readings"]], "ADAPT VQE": [[10, "ADAPT-VQE"]], "Overview": [[10, "Overview"], [11, "Overview"], [12, "Overview"], [13, "Overview"], [14, "Overview"], [15, "Overview"], [16, "Overview"], [17, "Overview"]], "Form Operator Pool": [[10, "Form-Operator-Pool"]], "ADAPT-VQE Iteration": [[10, "ADAPT-VQE-Iteration"]], "Benchmark engines": [[11, "Benchmark-engines"]], "Setup": [[11, "Setup"], [12, "Setup"], [13, "Setup"], [15, "Setup"], [17, "Setup"]], "Benchmark": [[11, "Benchmark"]], "Results and Discussion": [[11, "Results-and-Discussion"]], "Potential Energy Surface of the Water Molecule": [[12, "Potential-Energy-Surface-of-the-Water-Molecule"]], "Calculate": [[12, "Calculate"], [13, "Calculate"]], "Plot": [[12, "Plot"], [13, "Plot"], [16, "Plot"]], "Hubbard Model by UCCSD": [[13, "Hubbard-Model-by-UCCSD"]], "Observing Marcus Inverted Region": [[14, "Observing-Marcus-Inverted-Region"]], "Define the Hamiltonian and initial state": [[14, "Define-the-Hamiltonian-and-initial-state"]], "Run simulation": [[14, "Run-simulation"], [16, "Run-simulation"]], "Analyze and plot": [[14, "Analyze-and-plot"]], "Define the Hamiltonian": [[15, "Define-the-Hamiltonian"]], "Define the ansatz": [[15, "Define-the-ansatz"]], "Noisy simulation with the HEA class": [[15, "Noisy-simulation-with-the-HEA-class"]], "Built-in ansatz, UCC ansatz and Qiskit ansatz": [[15, "Built-in-ansatz,-UCC-ansatz-and-Qiskit-ansatz"]], "Effect of gate noise on VQE energy": [[15, "Effect-of-gate-noise-on-VQE-energy"]], "Effect of measurement shots on VQE energy uncertainty": [[15, "Effect-of-measurement-shots-on-VQE-energy-uncertainty"]], "Dynamics of the Spin-Boson Model": [[16, "Dynamics-of-the-Spin-Boson-Model"]], "Determine the model and basis": [[16, "Determine-the-model-and-basis"]], "Construct ansatz": [[16, "Construct-ansatz"]], "Use TimeEvolution class": [[16, "Use-TimeEvolution-class"]], "UCC Functions": [[17, "UCC-Functions"]], "Hello world": [[17, "Hello-world"]], "The Circuit": [[17, "The-Circuit"]], "Useful Attributes": [[17, "Useful-Attributes"]], "Active Space Approximation": [[17, "Active-Space-Approximation"]], "Starting from the Integrals": [[17, "Starting-from-the-Integrals"]], "Feeding in Custom Parameters": [[17, "Feeding-in-Custom-Parameters"]], "Reduced Density Matrix": [[17, "Reduced-Density-Matrix"]], "Variational Basis State Encoder (Ground State)": [[18, "Variational-Basis-State-Encoder-(Ground-State)"]], "1 Backgroud": [[18, "1-Backgroud"]], "2 Algorithm Realization": [[18, "2-Algorithm-Realization"], [19, "2-Algorithm-Realization"]], "2.1 Imports": [[18, "2.1-Imports"], [19, "2.1-Imports"]], "2.2 Initial setups": [[18, "2.2-Initial-setups"]], "2.3 Get Variational Hamiltonian Ansatz (VHA) Terms": [[18, "2.3-Get-Variational-Hamiltonian-Ansatz-(VHA)-Terms"]], "2.4 Cost Functions for VQE Part": [[18, "2.4-Cost-Functions-for-VQE-Part"]], "2.5 Get Hamiltonian Terms and Basis": [[18, "2.5-Get-Hamiltonian-Terms-and-Basis"]], "2.6 Update B[l] in Iteration": [[18, "2.6-Update-B[l]-in-Iteration"]], "2.7 Main Structure of the Function": [[18, "2.7-Main-Structure-of-the-Function"]], "Variational Basis State Encoder (Time Dependent)": [[19, "Variational-Basis-State-Encoder-(Time-Dependent)"]], "1 Background": [[19, "1-Background"]], "2.2 Initialize": [[19, "2.2-Initialize"]], "2.3 Get variational Hamiltonian ansatz terms": [[19, "2.3-Get-variational-Hamiltonian-ansatz-terms"]], "2.4 Time Evolution": [[19, "2.4-Time-Evolution"]], "2.5 Main Structure of the Function": [[19, "2.5-Main-Structure-of-the-Function"]], "Tutorials": [[20, "tutorials"]]}, "indexentries": {"hea (class in tencirchem)": [[1, "tencirchem.HEA"]], "__init__() (tencirchem.hea method)": [[1, "tencirchem.HEA.__init__"]], "as_pyscf_solver() (tencirchem.hea class method)": [[1, "tencirchem.HEA.as_pyscf_solver"]], "binary() (in module tencirchem.static.hea)": [[1, "tencirchem.static.hea.binary"]], "densitymatrix() (tencirchem.hea method)": [[1, "tencirchem.HEA.densitymatrix"]], "energy() (tencirchem.hea method)": [[1, "tencirchem.HEA.energy"]], "energy_and_grad() (tencirchem.hea method)": [[1, "tencirchem.HEA.energy_and_grad"]], "from_integral() (tencirchem.hea class method)": [[1, "tencirchem.HEA.from_integral"]], "from_molecule() (tencirchem.hea class method)": [[1, "tencirchem.HEA.from_molecule"]], "get_dmcircuit() (tencirchem.hea method)": [[1, "tencirchem.HEA.get_dmcircuit"]], "get_dmcircuit_no_noise() (tencirchem.hea method)": [[1, "tencirchem.HEA.get_dmcircuit_no_noise"]], "get_opt_function() (tencirchem.hea method)": [[1, "tencirchem.HEA.get_opt_function"]], "get_ry_circuit() (in module tencirchem.static.hea)": [[1, "tencirchem.static.hea.get_ry_circuit"]], "grad (tencirchem.hea property)": [[1, "tencirchem.HEA.grad"]], "kernel() (tencirchem.hea method)": [[1, "tencirchem.HEA.kernel"]], "make_rdm1() (tencirchem.hea method)": [[1, "tencirchem.HEA.make_rdm1"]], "make_rdm2() (tencirchem.hea method)": [[1, "tencirchem.HEA.make_rdm2"]], "n_params (tencirchem.hea property)": [[1, "tencirchem.HEA.n_params"]], "params (tencirchem.hea property)": [[1, "tencirchem.HEA.params"]], "parity() (in module tencirchem.static.hea)": [[1, "tencirchem.static.hea.parity"]], "print_circuit() (tencirchem.hea method)": [[1, "tencirchem.HEA.print_circuit"]], "print_summary() (tencirchem.hea method)": [[1, "tencirchem.HEA.print_summary"]], "ry() (tencirchem.hea class method)": [[1, "tencirchem.HEA.ry"]], "statevector() (tencirchem.hea method)": [[1, "tencirchem.HEA.statevector"]], "kupccgsd (class in tencirchem)": [[2, "tencirchem.KUPCCGSD"]], "__init__() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.__init__"]], "apply_excitation() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.apply_excitation"]], "as_pyscf_solver() (tencirchem.kupccgsd class method)": [[2, "tencirchem.KUPCCGSD.as_pyscf_solver"]], "civector() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.civector"]], "civector_size (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.civector_size"]], "e_kupccgsd (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.e_kupccgsd"]], "e_ucc (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.e_ucc"]], "embed_rdm_cas() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.embed_rdm_cas"]], "energy() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.energy"]], "energy_and_grad() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.energy_and_grad"]], "from_integral() (tencirchem.kupccgsd class method)": [[2, "tencirchem.KUPCCGSD.from_integral"]], "get_addr() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_addr"]], "get_ci_strings() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ci_strings"]], "get_circuit() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_circuit"]], "get_energy_dataframe() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ex1_ops"]], "get_ex2_ops() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ex2_ops"]], "get_ex_ops() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_init_state_dataframe"]], "get_opt_function() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_opt_function"]], "h_fermion_op (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.h_fermion_op"]], "h_qubit_op (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.h_qubit_op"]], "init_state (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.init_state"]], "kernel() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.kernel"]], "make_rdm1() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.make_rdm1"]], "make_rdm2() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.make_rdm2"]], "n_params (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.n_params"]], "no (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.no"]], "nv (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.nv"]], "param_ids (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.param_ids"]], "param_to_ex_ops (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.param_to_ex_ops"]], "params (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.params"]], "print_ansatz() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_ansatz"]], "print_circuit() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_circuit"]], "print_energy() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_energy"]], "print_excitations() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_excitations"]], "print_init_state() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_init_state"]], "print_summary() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_summary"]], "statevector() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.statevector"]], "statevector_size (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.statevector_size"]], "puccd (class in tencirchem)": [[3, "tencirchem.PUCCD"]], "__init__() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.__init__"]], "apply_excitation() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.apply_excitation"]], "as_pyscf_solver() (tencirchem.puccd class method)": [[3, "tencirchem.PUCCD.as_pyscf_solver"]], "civector() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.civector"]], "civector_size (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.civector_size"]], "e_puccd (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.e_puccd"]], "e_ucc (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.e_ucc"]], "embed_rdm_cas() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.embed_rdm_cas"]], "energy() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.energy"]], "energy_and_grad() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.energy_and_grad"]], "from_integral() (tencirchem.puccd class method)": [[3, "tencirchem.PUCCD.from_integral"]], "get_addr() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_addr"]], "get_ci_strings() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ci_strings"]], "get_circuit() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_circuit"]], "get_energy_dataframe() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ex1_ops"]], "get_ex2_ops() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ex2_ops"]], "get_ex_ops() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_init_state_dataframe"]], "get_opt_function() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_opt_function"]], "h_fermion_op (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.h_fermion_op"]], "h_qubit_op (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.h_qubit_op"]], "init_state (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.init_state"]], "kernel() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.kernel"]], "make_rdm1() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.make_rdm1"]], "make_rdm2() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.make_rdm2"]], "n_params (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.n_params"]], "no (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.no"]], "nv (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.nv"]], "param_ids (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.param_ids"]], "param_to_ex_ops (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.param_to_ex_ops"]], "params (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.params"]], "print_ansatz() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_ansatz"]], "print_circuit() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_circuit"]], "print_energy() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_energy"]], "print_excitations() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_excitations"]], "print_init_state() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_init_state"]], "print_summary() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_summary"]], "statevector() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.statevector"]], "statevector_size (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.statevector_size"]], "ucc (class in tencirchem)": [[4, "tencirchem.UCC"]], "__init__() (tencirchem.ucc method)": [[4, "tencirchem.UCC.__init__"]], "apply_excitation() (tencirchem.ucc method)": [[4, "tencirchem.UCC.apply_excitation"]], "as_pyscf_solver() (tencirchem.ucc class method)": [[4, "tencirchem.UCC.as_pyscf_solver"]], "civector() (tencirchem.ucc method)": [[4, "tencirchem.UCC.civector"]], "civector_size (tencirchem.ucc property)": [[4, "tencirchem.UCC.civector_size"]], "e_ucc (tencirchem.ucc property)": [[4, "tencirchem.UCC.e_ucc"]], "embed_rdm_cas() (tencirchem.ucc method)": [[4, "tencirchem.UCC.embed_rdm_cas"]], "energy() (tencirchem.ucc method)": [[4, "tencirchem.UCC.energy"]], "energy_and_grad() (tencirchem.ucc method)": [[4, "tencirchem.UCC.energy_and_grad"]], "from_integral() (tencirchem.ucc class method)": [[4, "tencirchem.UCC.from_integral"]], "get_addr() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_addr"]], "get_ci_strings() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ci_strings"]], "get_circuit() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_circuit"]], "get_energy_dataframe() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ex1_ops"]], "get_ex2_ops() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ex2_ops"]], "get_ex_ops() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_init_state_dataframe"]], "get_opt_function() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_opt_function"]], "h_fermion_op (tencirchem.ucc property)": [[4, "tencirchem.UCC.h_fermion_op"]], "h_qubit_op (tencirchem.ucc property)": [[4, "tencirchem.UCC.h_qubit_op"]], "init_state (tencirchem.ucc property)": [[4, "tencirchem.UCC.init_state"]], "kernel() (tencirchem.ucc method)": [[4, "tencirchem.UCC.kernel"]], "make_rdm1() (tencirchem.ucc method)": [[4, "tencirchem.UCC.make_rdm1"]], "make_rdm2() (tencirchem.ucc method)": [[4, "tencirchem.UCC.make_rdm2"]], "n_params (tencirchem.ucc property)": [[4, "tencirchem.UCC.n_params"]], "no (tencirchem.ucc property)": [[4, "tencirchem.UCC.no"]], "nv (tencirchem.ucc property)": [[4, "tencirchem.UCC.nv"]], "param_ids (tencirchem.ucc property)": [[4, "tencirchem.UCC.param_ids"]], "param_to_ex_ops (tencirchem.ucc property)": [[4, "tencirchem.UCC.param_to_ex_ops"]], "params (tencirchem.ucc property)": [[4, "tencirchem.UCC.params"]], "print_ansatz() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_ansatz"]], "print_circuit() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_circuit"]], "print_energy() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_energy"]], "print_excitations() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_excitations"]], "print_init_state() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_init_state"]], "print_summary() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_summary"]], "statevector() (tencirchem.ucc method)": [[4, "tencirchem.UCC.statevector"]], "statevector_size (tencirchem.ucc property)": [[4, "tencirchem.UCC.statevector_size"]], "uccsd (class in tencirchem)": [[5, "tencirchem.UCCSD"]], "__init__() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.__init__"]], "apply_excitation() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.apply_excitation"]], "as_pyscf_solver() (tencirchem.uccsd class method)": [[5, "tencirchem.UCCSD.as_pyscf_solver"]], "civector() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.civector"]], "civector_size (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.civector_size"]], "e_ucc (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.e_ucc"]], "e_uccsd (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.e_uccsd"]], "embed_rdm_cas() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.embed_rdm_cas"]], "energy() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.energy"]], "energy_and_grad() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.energy_and_grad"]], "from_integral() (tencirchem.uccsd class method)": [[5, "tencirchem.UCCSD.from_integral"]], "get_addr() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_addr"]], "get_ci_strings() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ci_strings"]], "get_circuit() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_circuit"]], "get_energy_dataframe() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ex1_ops"]], "get_ex2_ops() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ex2_ops"]], "get_ex_ops() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_init_state_dataframe"]], "get_opt_function() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_opt_function"]], "h_fermion_op (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.h_fermion_op"]], "h_qubit_op (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.h_qubit_op"]], "init_state (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.init_state"]], "kernel() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.kernel"]], "make_rdm1() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.make_rdm1"]], "make_rdm2() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.make_rdm2"]], "n_params (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.n_params"]], "no (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.no"]], "nv (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.nv"]], "param_ids (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.param_ids"]], "param_to_ex_ops (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.param_to_ex_ops"]], "params (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.params"]], "pick_and_sort() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.pick_and_sort"]], "print_ansatz() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_ansatz"]], "print_circuit() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_circuit"]], "print_energy() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_energy"]], "print_excitations() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_excitations"]], "print_init_state() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_init_state"]], "print_summary() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_summary"]], "statevector() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.statevector"]], "statevector_size (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.statevector_size"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["advanced", "api/hea", "api/kupccgsd", "api/puccd", "api/ucc", "api/uccsd", "faq", "index", "modules", "quickstart", "tutorial_jupyter/adapt_vqe", "tutorial_jupyter/engine_benchmark", "tutorial_jupyter/h2o_pes", "tutorial_jupyter/hubbard_model", "tutorial_jupyter/marcus", "tutorial_jupyter/noisy_simulation", "tutorial_jupyter/sbm_dynamics", "tutorial_jupyter/ucc_functions", "tutorial_jupyter/vbe_tutorial_groundstate", "tutorial_jupyter/vbe_tutorial_td", "tutorials"], "filenames": ["advanced.rst", "api/hea.rst", "api/kupccgsd.rst", "api/puccd.rst", "api/ucc.rst", "api/uccsd.rst", "faq.rst", "index.rst", "modules.rst", "quickstart.rst", "tutorial_jupyter/adapt_vqe.ipynb", "tutorial_jupyter/engine_benchmark.ipynb", "tutorial_jupyter/h2o_pes.ipynb", "tutorial_jupyter/hubbard_model.ipynb", "tutorial_jupyter/marcus.ipynb", "tutorial_jupyter/noisy_simulation.ipynb", "tutorial_jupyter/sbm_dynamics.ipynb", "tutorial_jupyter/ucc_functions.ipynb", "tutorial_jupyter/vbe_tutorial_groundstate.ipynb", "tutorial_jupyter/vbe_tutorial_td.ipynb", "tutorials.rst"], "titles": ["Advanced Topics", "Headware-Efficient Ansatz and Noisy Circuit Simulation", "k-UpCCGSD", "Paired UCCD (pUCCD)", "UCC", "UCCSD", "Frequently Asked Questions", "Guide to TenCirChem", "API Reference", "Quick Start", "ADAPT VQE", "Benchmark engines", "Potential Energy Surface of the Water Molecule", "Hubbard Model by UCCSD", "Observing Marcus Inverted Region", "Noisy Circuit Simulation", "Dynamics of the Spin-Boson Model", "UCC Functions", "Variational Basis State Encoder (Ground State)", "Variational Basis State Encoder (Time Dependent)", "Tutorials"], "terms": {"tencirchem": [0, 1, 2, 3, 4, 5, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "offer": [0, 6, 9, 15, 16, 17], "set": [0, 1, 2, 3, 4, 5, 6, 9, 13, 15, 16, 17, 18, 19], "differ": [0, 2, 5, 7, 11, 15, 17], "simul": [0, 7, 8, 12, 17, 20], "static": [0, 1, 9], "molecular": [0, 2, 3, 4, 5, 6, 7, 9, 15, 17], "properti": [0, 1, 2, 3, 4, 5, 7, 9, 16, 17], "i": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "summar": [0, 6, 10], "below": [0, 5, 10, 17, 19], "compat": [0, 1, 11, 17, 19], "class": [0, 1, 2, 3, 4, 5, 6, 9, 12, 13, 14, 17, 20], "state": [0, 1, 2, 3, 4, 5, 6, 7, 15, 16, 20], "represent": [0, 18], "ucc": [0, 1, 2, 3, 5, 7, 8, 10, 13, 20], "factor": [0, 2, 3, 4, 5, 6, 9, 19], "expans": [0, 9], "note": [0, 1, 5, 6, 11, 15, 16, 17, 18, 19], "civector": [0, 2, 3, 4, 5, 6, 9, 10, 11, 17], "ci": [0, 2, 3, 4, 5, 6, 17], "vector": [0, 1, 2, 3, 4, 5, 6, 10, 16, 17], "ye": 0, "most": [0, 11], "effici": [0, 6, 7, 8, 9, 11, 15], "larg": [0, 2, 5, 6, 9, 11, 14, 15], "memori": [0, 6], "friendli": [0, 15], "tensornetwork": [0, 1, 9, 11, 15], "hea": [0, 1, 8, 9, 20], "statevector": [0, 1, 2, 3, 4, 5, 11, 17], "No": [0, 18, 19], "noiseless": [0, 9, 15], "tensor": [0, 1, 2, 3, 4, 5, 18, 19], "network": 0, "contract": [0, 18, 19], "nois": [0, 1, 9, 20], "densiti": [0, 1, 2, 3, 4, 5, 9, 19, 20], "matrix": [0, 1, 2, 3, 4, 5, 16, 18, 19, 20], "gate": [0, 1, 2, 3, 4, 5, 6, 9, 17, 20], "shot": [0, 1, 9, 20], "measur": [0, 1, 9, 16, 20], "experiment": 0, "pyscf": [0, 1, 2, 3, 4, 5, 6, 9, 11, 12, 17], "mean": [0, 1, 2, 3, 4, 5, 10], "configur": [0, 1, 2, 3, 4, 5, 6, 10, 17], "interact": [0, 2, 3, 4, 5, 6, 10, 17], "It": [0, 7], "more": [0, 6, 7, 9, 15, 17, 18, 19], "than": [0, 5, 6, 7, 13, 15, 17], "chemic": 0, "applic": [0, 3, 6, 7, 15, 18, 19], "becaus": [0, 15], "exploit": [0, 9], "particl": [0, 6, 9], "number": [0, 1, 2, 3, 4, 5, 7, 9, 10, 13, 15, 16, 18, 19], "conserv": [0, 9], "symmetri": [0, 1, 2, 3, 4, 5, 6, 17], "thi": [0, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "one": [0, 1, 2, 3, 4, 5, 6, 9, 15, 17, 18], "major": 0, "reason": [0, 6, 15], "why": [0, 7, 9], "so": [0, 7, 9, 15], "fast": [0, 7, 9, 17], "expand": [0, 6], "excit": [0, 2, 3, 4, 5, 7, 10, 17], "oper": [0, 1, 2, 3, 4, 5, 7, 16, 17, 18, 19, 20], "exponenti": [0, 6], "polynomi": [0, 6], "form": [0, 1, 2, 3, 4, 5, 6, 15, 16, 18, 20], "e": [0, 2, 3, 4, 5, 6, 10, 13, 14, 15, 16, 17, 18, 19], "theta": [0, 1, 6, 15, 16, 18, 19], "g": [0, 2, 3, 4, 5, 6, 9, 10, 14, 16, 18], "2": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "co": [0, 12], "sin": [0, 12], "where": [0, 1, 6, 14, 16, 18, 19], "begin": [0, 1, 2, 3, 4, 5, 6], "case": [0, 1, 6, 15], "dagger_i": [0, 14], "a_j": 0, "dagger_j": [0, 19], "a_i": [0, 14], "a_k": 0, "a_l": 0, "dagger_l": 0, "dagger_k": 0, "end": [0, 1, 2, 3, 4, 5, 6, 15], "The": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20], "allow": [0, 17], "without": [0, 1, 2, 3, 4, 5, 6, 12, 17], "decompos": [0, 2, 4, 5, 6, 15, 17], "quantum": [0, 1, 2, 3, 4, 5, 6, 7, 9, 14, 15, 16, 17, 18, 19], "difficult": 0, "deriv": [0, 16, 19], "equat": [0, 18, 19], "notic": 0, "3": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "In": [0, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "special": [0, 15], "famou": 0, "formula": 0, "recov": 0, "idea": [0, 18], "wa": 0, "propos": 0, "fermion": [0, 1], "emul": 0, "base": [0, 1, 2, 3, 4, 5, 6, 7, 9, 16, 17, 19], "lot": [0, 2], "preced": 0, "work": [0, 9], "anoth": [0, 15, 18], "For": [0, 1, 2, 5, 6, 9, 11, 12, 17, 18, 19], "task": [0, 15, 16], "howev": [0, 11], "also": [0, 6, 12, 13, 15, 17, 18, 19], "consum": [0, 17], "due": [0, 6, 15, 17], "cach": [0, 11], "intermedi": [0, 9], "similar": [0, 2, 3, 15], "except": [0, 15], "onli": [0, 1, 2, 3, 4, 5, 9, 11, 15], "us": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 13, 14, 15, 18, 20], "limit": 0, "scope": 0, "gener": [0, 2, 6, 14, 15, 18, 19], "recommend": [0, 9], "until": 0, "host": 0, "gpu": [0, 7, 9, 18, 19], "run": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 15, 20], "out": [0, 2, 3, 4, 5, 11], "switch": [0, 6, 15], "default": [0, 1, 2, 3, 4, 5, 6, 15, 17], "calcul": [0, 1, 2, 3, 4, 5, 6, 7, 10, 16, 17, 18, 19, 20], "16": [0, 6, 9, 11, 15, 17, 18, 19], "qubit": [0, 1, 6, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19], "larger": [0, 6, 11, 15], "scale": 0, "To": [0, 6, 15, 17, 18], "overrid": 0, "pass": [0, 1, 2, 3, 4, 5, 6], "string": [0, 2, 3, 4, 5], "argument": [0, 1, 2, 3, 4, 5, 9, 15, 17, 18], "from": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20], "import": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "uccsd": [0, 2, 3, 4, 7, 8, 9, 11, 12, 15, 17, 20], "molecul": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 14, 15, 17, 20], "h4": [0, 10], "print": [0, 2, 3, 4, 5, 9, 10, 11, 13, 15, 17, 18, 19], "kernel": [0, 1, 2, 3, 4, 5, 9, 10, 12, 13, 14, 15, 16, 17], "energi": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 14, 17, 18, 20], "support": [0, 1, 6, 7, 9, 15], "numpi": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "cupi": [0, 6, 9, 11], "jax": [0, 7, 9, 11, 14, 16, 18, 19], "combin": [0, 2, 3, 4, 5], "slightli": 0, "between": [0, 14, 15], "tensorcircuit": [0, 1, 2, 3, 4, 5, 7, 9, 15, 16, 17, 18, 19], "simplifi": [0, 16, 19], "instal": [0, 6, 7], "when": [0, 1, 2, 3, 4, 5, 10, 15], "up": [0, 6, 9, 15], "avail": [0, 10, 15, 17], "becom": 0, "an": [0, 1, 6, 7, 9, 10, 15, 17, 18, 19], "replac": 0, "auto": [0, 1, 6, 15, 16], "differenti": [0, 1, 6, 15, 16], "ad": [0, 1, 10, 15], "just": 0, "time": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 15, 16, 17, 20], "compil": [0, 6, 11, 18, 19], "jit": [0, 6, 18], "over": [0, 6, 9], "dynam": [0, 7, 18, 19, 20], "modul": [0, 9, 17], "algorithm": [0, 1, 2, 3, 4, 5, 6, 9, 10, 17, 20], "sometim": [0, 17], "faster": [0, 7, 15], "typic": [0, 6, 17], "doe": [0, 7, 9, 15], "reli": [0, 9], "gradient": [0, 1, 2, 3, 4, 5, 7, 9, 10, 15, 17], "usual": [0, 2, 3, 4, 5, 6, 15, 17], "much": [0, 6, 9, 15], "longer": [0, 6], "actual": [0, 6, 15], "result": [0, 2, 3, 4, 5, 9, 10, 12, 13, 15, 17, 18, 20], "error": [0, 1, 9, 10, 15, 17], "thu": [0, 6], "ar": [0, 1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19], "noisi": [0, 7, 8, 20], "circuit": [0, 2, 3, 4, 5, 6, 7, 8, 16, 18, 19, 20], "perform": [0, 1, 2, 3, 4, 5, 9, 15, 16], "compar": [0, 9, 14], "prefer": 0, "share": [0, 6, 9, 10, 17], "same": [0, 5, 6, 9, 10, 12, 15, 16, 17], "api": [0, 7, 9, 17], "data": [0, 17], "type": [0, 1, 2, 3, 4, 5], "runtim": [0, 15], "set_backend": [0, 6, 9, 11, 14, 15, 16, 18, 19], "set_dtyp": 0, "complex64": 0, "complex128": [0, 16, 19], "which": [0, 1, 2, 3, 4, 5, 6, 9, 15, 17, 18], "convent": [0, 7, 17], "highli": 0, "float64": [0, 10, 15, 17, 19], "step": [0, 9, 15, 16, 19], "map": [0, 1, 2, 3, 4, 5, 6, 10, 17], "4": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "wai": [0, 6, 17], "dof": [0, 12, 16, 18, 19], "A": [0, 1, 2, 3, 4, 5, 9, 15], "directli": [0, 6, 15], "truncat": 0, "two": [0, 1, 2, 3, 4, 5, 6, 9, 12, 14, 15, 17, 18, 19], "level": [0, 9, 12, 15, 17, 18, 19], "system": [0, 2, 3, 4, 5, 6, 9, 11, 12, 14, 15, 19], "unari": 0, "repres": [0, 2, 3, 4, 5, 6, 18, 19], "binari": [0, 1, 8], "bitstr": [0, 2, 3, 4, 5, 6, 17], "grai": [0, 16, 18, 19], "code": [0, 6, 9, 15, 18, 19], "improv": [0, 6], "version": [0, 6, 9], "detail": [0, 1, 2, 3, 4, 5, 6, 9, 18, 19], "descript": 0, "other": [0, 1, 2, 3, 4, 5, 6, 7, 9, 15, 17, 18], "variant": 0, "can": [0, 2, 3, 4, 5, 6, 9, 15, 17, 18], "found": [0, 6, 18, 19], "articl": 0, "follow": [0, 6, 9, 10, 15, 18, 19], "tabl": [0, 11], "we": [0, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "make": [0, 6, 17, 19], "quick": [0, 7, 17], "comparison": 0, "0": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "0001": 0, "00": [0, 15, 17], "1": [0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20], "0010": 0, "01": [0, 2, 3, 4, 5, 9, 15, 17], "0100": 0, "10": [0, 2, 3, 4, 5, 9, 10, 12, 14, 15, 16, 17, 18, 19], "11": [0, 9, 10, 14, 15, 17, 18, 19], "1000": 0, "cost": [0, 1, 2, 3, 4, 5, 20], "mathcal": [0, 15], "o": [0, 12, 13, 14, 15], "n": [0, 1, 6, 13, 14, 15, 16, 18, 19], "yet": [0, 6, 13, 15, 16], "shallow": 0, "textrm": [0, 1, 2, 3, 4, 5, 15, 16, 19], "log": [0, 14], "depth": [0, 9, 15, 17], "deeper": 0, "strictli": 0, "better": [0, 13], "timeevolut": [0, 9, 14, 20], "specifi": [0, 15, 16], "through": [0, 6, 9, 16, 18], "boson_encod": [0, 16, 18], "h_qubit_op": [1, 2, 3, 4, 5, 15, 17], "openfermion": [1, 2, 3, 4, 5, 6, 9, 15, 17], "op": [1, 9, 14, 16, 18, 19], "qubit_oper": 1, "qubitoper": [1, 2, 3, 4, 5, 15, 17], "callabl": [1, 2, 3, 4, 5], "qiskit": [1, 20], "quantumcircuit": [1, 15], "init_guess": [1, 2, 3, 4, 5, 6, 10, 15, 17], "list": [1, 2, 3, 4, 5, 6, 10, 11, 16, 18], "float": [1, 2, 3, 4, 5, 19], "ndarrai": [1, 2, 3, 4, 5], "engin": [1, 2, 3, 4, 5, 6, 7, 9, 15, 20], "str": [1, 2, 3, 4, 5, 14], "none": [1, 2, 3, 4, 5, 6, 17], "engine_conf": [1, 15], "noisemodel": [1, 15], "noiseconf": [1, 15], "engine_hea": 1, "qpuconf": 1, "sourc": [1, 2, 3, 4, 5, 6, 9], "object": [1, 2, 3, 4, 5, 9, 16, 17], "hardwar": [1, 15], "comprehens": [1, 5], "tutori": [1, 5, 7, 9, 18, 19], "see": [1, 2, 3, 4, 5, 6, 9, 17, 18, 19], "__init__": [1, 2, 3, 4, 5], "construct": [1, 2, 3, 4, 5, 10, 15, 20], "hamiltonian": [1, 2, 3, 4, 5, 9, 10, 13, 16, 17, 20], "paramet": [1, 2, 3, 4, 5, 7, 9, 10, 15, 16, 18, 19, 20], "function": [1, 2, 3, 4, 5, 7, 9, 15, 20], "np": [1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "initi": [1, 2, 3, 4, 5, 10, 15, 16, 17, 20], "guess": [1, 2, 3, 4, 5, 10, 15, 17, 18], "option": [1, 2, 3, 4, 5, 11], "isotrop": 1, "depolar": [1, 15], "channel": [1, 15], "all": [1, 2, 3, 4, 5, 6, 9, 11, 15], "p": [1, 2, 3, 4, 5, 15, 18, 19], "02": [1, 14, 15], "classmethod": [1, 2, 3, 4, 5], "as_pyscf_solv": [1, 2, 3, 4, 5], "config_funct": [1, 2, 3, 4, 5], "opt_engin": 1, "kwarg": [1, 2, 3, 4, 5], "convert": [1, 2, 3, 4, 5], "fci": [1, 2, 3, 4, 5, 6, 9, 10, 12, 13, 15, 17], "solver": [1, 2, 3, 4, 5, 16], "r_y": [1, 9, 15, 17], "instanc": [1, 2, 3, 4, 5, 15], "accept": [1, 2, 3, 4, 5, 9, 12, 15, 16], "modifi": [1, 2, 3, 4, 5, 17, 18], "inplac": [1, 2, 3, 4, 5], "befor": [1, 2, 3, 4, 5, 18], "call": [1, 2, 3, 4, 5, 18, 19], "optim": [1, 2, 3, 4, 5, 6, 7, 10, 11, 14, 15, 17, 18], "return": [1, 2, 3, 4, 5, 9, 12, 14, 15, 16, 18, 19], "fcisolv": [1, 2, 3, 4, 5], "exampl": [1, 2, 3, 4, 5, 6, 9, 15, 17, 19], "mcscf": [1, 2, 3, 4, 5], "casscf": [1, 2, 3, 4, 5, 9], "h8": [1, 2, 3, 4, 5, 17], "normal": [1, 2, 3, 4, 5], "workflow": [1, 2, 3, 4, 5, 15, 16], "hf": [1, 2, 3, 4, 5, 6, 10, 15, 17], "round": [1, 2, 3, 4, 5], "6": [1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20], "149619": [1, 17], "n_layer": [1, 9, 15, 16, 18, 19], "166473": 1, "densitymatrix": 1, "param": [1, 2, 3, 4, 5, 10, 11, 15, 17, 18], "ani": [1, 2, 3, 4, 5], "evalu": [1, 2, 3, 4, 5, 7, 9, 11, 15, 16], "presenc": 1, "valid": [1, 9, 11], "must": [1, 2, 3, 4, 5], "total": [1, 2, 3, 4, 5, 6, 11, 12], "energy_and_grad": [1, 2, 3, 4, 5, 11, 17], "h2": [1, 2, 3, 4, 5, 9, 12, 15, 17], "ry": [1, 9, 15], "int1": [1, 2, 3, 4, 5, 9, 13, 15, 17], "int2": [1, 2, 3, 4, 5, 6, 9, 13, 15, 17], "n_elec": [1, 2, 3, 4, 5, 9, 13, 15, 17], "e_cor": [1, 2, 3, 4, 5, 9, 15, 17], "pi": [1, 12, 14, 15], "8": [1, 2, 3, 4, 5, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "arrai": [1, 2, 3, 4, 5, 10, 12, 13, 15, 17, 18, 19], "00533333": 1, "j": [1, 6, 13, 16, 18, 19], "984": 1, "self": [1, 2, 3, 4, 5], "11670614": [1, 2, 3, 4, 5], "1001": [1, 2, 3, 4, 5, 6, 17], "grad": [1, 2, 3, 4, 5, 10, 15], "tupl": [1, 2, 3, 4, 5, 6, 10, 19], "shift": [1, 15], "rule": [1, 6, 15], "possibl": [1, 2, 3, 4, 5, 6, 15, 17, 18], "autodiff": 1, "from_integr": [1, 2, 3, 4, 5, 13, 17], "int": [1, 2, 3, 4, 5, 14], "electron": [1, 2, 3, 4, 5, 12, 17, 18, 19], "integr": [1, 2, 3, 4, 5, 7, 9, 13, 14, 16, 19, 20], "custom": [1, 2, 3, 4, 5, 9, 14, 15, 20], "overlap": [1, 2, 3, 4, 5], "assum": [1, 9, 11, 12, 15, 17], "ident": [1, 2, 3, 4, 5], "One": [1, 2, 3, 4, 5, 17], "bodi": [1, 2, 3, 4, 5, 9, 15], "spatial": [1, 2, 3, 4, 5, 12], "orbit": [1, 2, 3, 4, 5, 7, 10, 12, 17], "chemist": [1, 2, 3, 4, 5, 6, 7], "notat": [1, 2, 3, 4, 5, 6], "consid": [1, 2, 3, 4, 5, 6, 14, 15, 18], "nuclear": [1, 2, 3, 4, 5, 9, 14], "core": [1, 2, 3, 4, 5], "activ": [1, 2, 3, 4, 5, 9, 12, 20], "space": [1, 2, 3, 4, 5, 6, 9, 10, 12, 20], "approxim": [1, 2, 3, 4, 5, 9, 12, 15, 20], "involv": [1, 2, 3, 4, 5, 17, 19], "pariti": [1, 8, 15], "bravyi": 1, "kitaev": 1, "from_molecul": 1, "m": [1, 6, 9, 12, 16, 18], "mole": [1, 2, 3, 4, 5, 12, 17], "active_spac": [1, 2, 3, 4, 5, 17], "given": [1, 2, 3, 4, 5], "emploi": [1, 2, 3, 4, 5], "By": [1, 15], "layer": [1, 2, 9, 15, 16, 18, 19], "first": [1, 2, 3, 4, 5, 7, 9, 10, 11, 14, 15, 16], "integ": [1, 2, 3, 4, 5, 6], "second": [1, 2, 3, 4, 5, 6, 10], "get_dmcircuit": 1, "noise_conf": 1, "dmcircuit2": 1, "get": [1, 2, 3, 4, 5, 10, 16, 17, 20], "dmcircuit": 1, "get_dmcircuit_no_nois": 1, "get_opt_funct": [1, 2, 3, 4, 5], "with_tim": [1, 2, 3, 4, 5], "bool": [1, 2, 3, 4, 5], "fals": [1, 2, 3, 4, 5, 10, 12], "scipi": [1, 2, 3, 4, 5, 14, 16, 17, 18, 19], "format": [1, 2, 3, 4, 5, 16, 18], "basic": [1, 2, 3, 4, 5, 9, 17], "wrapper": [1, 2, 3, 4, 5], "whether": [1, 2, 3, 4, 5], "stage": [1, 2, 3, 4, 5, 11], "opt_funct": [1, 2, 3, 4, 5], "true": [1, 2, 3, 4, 5, 9, 10, 14, 15, 17, 18], "make_rdm1": [1, 2, 3, 4, 5, 17], "spin": [1, 2, 3, 4, 5, 6, 7, 9, 10, 18, 19, 20], "trace": [1, 2, 3, 4, 5], "reduc": [1, 2, 3, 4, 5, 9, 19, 20], "1rdm": [1, 2, 3, 4, 5], "q": [1, 2, 3, 4, 5], "langl": [1, 2, 3, 4, 5, 6, 10, 14, 16, 19], "p_": [1, 2, 3, 4, 5], "alpha": [1, 2, 3, 4, 5, 6], "dagger": [1, 2, 3, 4, 5, 9, 14, 16, 18, 19], "q_": [1, 2, 3, 4, 5], "rangl": [1, 2, 3, 4, 5, 6, 10, 14, 16, 19], "beta": [1, 2, 3, 4, 5, 6, 14], "rdm1": [1, 2, 3, 4, 5], "rdm": [1, 2, 3, 4, 5, 17], "make_rdm2": [1, 2, 3, 4, 5, 17], "2rdm": [1, 2, 3, 4, 5], "align": [1, 2, 3, 4, 5, 6], "r": [1, 2, 3, 4, 5, 9, 12, 14, 15, 16, 18, 19], "": [1, 2, 3, 4, 5, 6, 9, 12, 13, 14, 15, 16, 19], "r_": [1, 2, 3, 4, 5], "s_": [1, 2, 3, 4, 5], "quad": [1, 2, 3, 4, 5], "rdm2": [1, 2, 3, 4, 5], "n_param": [1, 2, 3, 4, 5, 6, 11, 17], "print_circuit": [1, 2, 3, 4, 5], "print_summari": [1, 2, 3, 4, 5, 9, 10, 15, 17], "init_circuit": [1, 16], "consist": [1, 2, 3, 4, 5, 6, 12], "interleav": 1, "cnot": [1, 2, 4, 5, 15, 17], "psi": [1, 6, 10, 16, 18, 19], "prod_": [1, 6, 18, 19], "l": [1, 2, 3, 4, 5, 19, 20], "k": [1, 6, 7, 8, 14, 16, 18, 19], "left": [1, 6, 14, 18, 19], "l_": 1, "right": [1, 6, 14, 18, 19], "phi": [1, 6, 12, 16, 18, 19], "defin": [1, 6, 9, 16, 17, 18, 19, 20], "cnot_": 1, "2j": 1, "ry_": 1, "theta_": [1, 6, 16, 18], "lj": [1, 18], "transform": [1, 2, 3, 4, 5, 6, 15, 16, 18, 19], "correspond": [1, 2, 3, 4, 5, 6, 9, 10, 15, 17, 18, 19], "get_ry_circuit": [1, 8], "n_qubit": [1, 11, 15, 17], "parameter": [1, 15], "c": [1, 13, 15, 18, 19], "fermion_oper": 1, "fermionoper": [1, 2, 3, 4, 5, 15, 17], "n_mode": 1, "mode": [1, 9, 16, 18, 19], "kupccgsd": [2, 3, 4, 5, 8, 9, 17], "mol": [2, 3, 4, 5, 17], "mo_coeff": [2, 3, 4, 5], "n_tri": 2, "run_hf": [2, 3, 4, 5], "run_mp2": [2, 3, 4, 5], "run_ccsd": [2, 3, 4, 5, 12], "run_fci": [2, 3, 4, 5, 12], "interfac": [2, 3, 9, 13, 15, 16, 17], "input": [2, 3, 4, 5, 12, 15, 18, 19], "coeffici": [2, 3, 4, 5], "If": [2, 3, 4, 5, 6, 9, 10, 15], "provid": [2, 3, 4, 5, 15, 16, 17, 18], "rhf": [2, 3, 4, 5, 10, 13, 17], "skip": [2, 3, 4, 5, 12], "init_st": [2, 3, 4, 5], "attribut": [2, 3, 4, 5, 15, 20], "ansatz": [2, 3, 4, 5, 6, 7, 8, 9, 10, 17, 20], "point": [2, 12], "vqe": [2, 3, 4, 5, 6, 7, 20], "requir": [2, 6, 12, 16, 17], "good": 2, "accuraci": [2, 6, 13, 15], "mp2": [2, 3, 4, 5, 10, 17], "refer": [2, 3, 4, 5, 6, 7, 9, 10, 16, 17], "ccsd": [2, 3, 4, 5, 10, 12, 13, 17], "puccd": [2, 4, 5, 7, 8, 9], "apply_excit": [2, 3, 4, 5, 10], "ex_op": [2, 3, 4, 5, 6, 10, 17], "appli": [2, 3, 4, 5], "14961853": [2, 3, 4, 5], "16647335": [2, 3, 4, 5], "civector_s": [2, 3, 4, 5], "size": [2, 3, 4, 5, 6, 11], "e_kupccgsd": 2, "e_ucc": [2, 3, 4, 5, 10, 17], "embed_rdm_ca": [2, 3, 4, 5], "rdm_ca": [2, 3, 4, 5], "emb": [2, 3, 4, 5], "ca": [2, 3, 4, 5], "whole": [2, 3, 4, 5, 12, 17], "ovlp": [2, 3, 4, 5], "get_addr": [2, 3, 4, 5], "address": [2, 3, 4, 5], "index": [2, 3, 4, 5, 6, 18, 19], "0101": [2, 3, 4, 5, 6], "1010": [2, 3, 4, 5, 6, 17], "get_ci_str": [2, 3, 4, 5, 17], "strs2addr": [2, 3, 4, 5], "revers": [2, 3, 4, 5, 6], "sector": [2, 3, 4, 5, 6], "cistr": [2, 3, 4, 5, 6], "string_addr": [2, 3, 4, 5], "5": [2, 3, 4, 5, 6, 9, 10, 11, 13, 14, 15, 16, 17, 20], "9": [2, 3, 4, 5, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19], "dtype": [2, 3, 4, 5, 10, 15, 16, 17, 19], "uint64": [2, 3, 4, 5, 17], "f": [2, 3, 4, 5, 10, 13, 14, 18, 19], "bin": [2, 3, 4, 5], "0110": [2, 3, 4, 5, 6, 17], "get_circuit": [2, 3, 4, 5, 15, 17], "decompose_multicontrol": [2, 4, 5, 15, 17], "trotter": [2, 3, 4, 5, 17], "multicontrol": [2, 4, 5, 15, 17], "pauli": [2, 3, 4, 5, 15], "tc": [2, 3, 4, 5, 16, 18, 19], "get_energy_datafram": [2, 3, 4, 5], "datafram": [2, 3, 4, 5, 11], "inform": [2, 3, 4, 5, 6, 11, 17], "get_ex1_op": [2, 3, 4, 5, 10], "t1": [2, 3, 4, 5, 17], "Not": [2, 3], "kept": [2, 3], "parent": [2, 3], "method": [2, 3, 4, 5, 6, 13, 17, 18], "each": [2, 3, 4, 5, 6, 10, 11, 12, 15, 17, 18, 19], "param_id": [2, 3, 4, 5, 7, 10, 17, 18], "get_ex2_op": [2, 3, 4, 5, 10], "pair": [2, 4, 6, 7, 8], "get_ex_op": [2, 3, 4, 5], "t2": [2, 3, 4, 5, 17], "restrict": [2, 6], "ones": 2, "randomli": [2, 15], "get_excitation_datafram": [2, 3, 4, 5], "get_init_state_datafram": [2, 3, 4, 5], "coeff_epsilon": [2, 3, 4, 5], "1e": [2, 3, 4, 5, 10, 19], "12": [2, 3, 4, 5, 9, 10, 11, 12, 15, 17, 18, 19], "threshold": [2, 3, 4, 5, 10], "screen": [2, 3, 4, 5], "small": [2, 3, 4, 5], "pd": [2, 3, 4, 5, 11], "707": [2, 3, 4, 5], "includ": [2, 3, 4, 5, 9, 17], "h_fermion_op": [2, 3, 4, 5, 15, 17], "jordan": [2, 3, 4, 5, 12], "wigner": [2, 3, 4, 5, 12], "bfg": [2, 3, 4, 5, 18], "b": [2, 3, 4, 5, 9, 14, 16, 19, 20], "scipy_minimize_opt": [2, 3, 4, 5], "basi": [2, 3, 4, 5, 7, 9, 14, 17, 20], "ao": [2, 3, 4, 5], "full": [2, 3, 4, 5, 6, 14, 17], "could": [2, 3, 4, 5], "mo": [2, 3, 4, 5, 17], "e_hf": [2, 3, 4, 5, 13, 17], "ravel": [2, 3, 4, 5, 14, 18, 19], "test": [2, 3, 4, 5, 9, 11], "assert_allclos": [2, 3, 4, 5], "e_nuc": [2, 3, 4, 5, 17], "atol": [2, 3, 4, 5], "occupi": [2, 3, 4, 5, 6], "nv": [2, 3, 4, 5], "virtual": [2, 3, 4, 5], "unoccupi": [2, 3, 4, 5], "param_to_ex_op": [2, 3, 4, 5], "print_ansatz": [2, 3, 4, 5, 17], "you": [2, 3, 4, 5, 6, 9], "wish": [2, 3, 4, 5, 9], "diagram": [2, 3, 4, 5, 19], "draw": [2, 3, 4, 5, 15, 17], "print_energi": [2, 3, 4, 5], "print_excit": [2, 3, 4, 5], "print_init_st": [2, 3, 4, 5], "include_circuit": [2, 3, 4, 5, 9, 17], "summari": [2, 3, 4, 5, 15, 17], "section": [2, 3, 4, 5, 17, 18, 19], "statevector_s": [2, 3, 4, 5], "init_method": [3, 4, 5, 17], "how": [3, 4, 5, 7, 9, 10, 12, 13, 15, 16], "determin": [3, 4, 5, 9, 17, 20], "amplitud": [3, 4, 5, 6, 17], "zero": [3, 4, 5, 6, 13, 16, 17, 18, 19], "e_puccd": 3, "givens_swap": 3, "swap": 3, "hcb": 4, "forc": [4, 18], "hard": [4, 6, 18], "boson": [4, 7, 9, 19, 20], "implement": [4, 6, 9, 10, 15, 16], "pick_ex2": 5, "epsilon": [5, 9, 10, 16, 19], "sort_ex2": 5, "e_fci": [5, 13, 15, 17], "init": [5, 15], "less": [5, 15], "discard": 5, "sort": 5, "come": [5, 6, 18], "lead": [5, 15], "geometri": [5, 12], "e_uccsd": [5, 13], "pick": [5, 10], "pick_and_sort": 5, "do_pick": 5, "do_sort": 5, "order": [6, 15], "half": [6, 10, 13], "contain": [6, 9, 11, 17, 18], "creation": [6, 10], "annil": 6, "hermitian": 6, "conjug": 6, "handl": [6, 17], "intern": [6, 9, 17], "Or": 6, "dagger_6": 6, "dagger_2": 6, "a_0": [6, 14], "a_4": 6, "dagger_4": 6, "dagger_0": [6, 14], "a_2": 6, "a_6": 6, "besid": 6, "accord": 6, "down": 6, "low": 6, "high": [6, 9, 15, 17], "multiqubit": 6, "regist": 6, "zeroth": 6, "rangle_": 6, "q_0": 6, "q_2": 6, "occup": [6, 14], "abov": [6, 15, 18], "word": [6, 9, 15, 17], "best": [6, 10, 11], "understood": 6, "pictur": 6, "rm": [6, 9, 12, 15], "h": [6, 9, 12, 13, 14, 15, 16, 18, 19], "_4": [6, 9], "00110011": 6, "count": 6, "give": [6, 17], "keep": 6, "short": 6, "figur": [6, 10, 14], "hartre": [6, 10, 15, 17], "fock": 6, "highest": 6, "lowest": 6, "last": [6, 17], "chemistri": [6, 7, 12], "languag": 6, "while": [6, 15, 17], "comput": [6, 7, 15, 16], "direct": 6, "product": [6, 12, 18], "2nd": 6, "3rd": 6, "6th": 6, "7th": 6, "rest": [6, 9, 15], "upon": 6, "01100110": [6, 10], "store": [6, 13], "ij": 6, "kl": 6, "although": 6, "tri": 6, "match": 6, "distanc": [6, 9], "unit": [6, 9], "angstrom": [6, 9, 12], "fed": [6, 15], "There": [6, 18], "name": [6, 18], "bare": 6, "after": 6, "thei": 6, "fop": 6, "some": [6, 9, 10, 17, 18], "have": [6, 15, 19], "start": [6, 7, 16, 20], "Its": 6, "its": [6, 17], "largest": 6, "valu": [6, 10, 16, 18], "plu": 6, "strategi": 6, "converg": [6, 10, 13, 15, 17], "disabl": 6, "try": 6, "equal": 6, "speed": [6, 7, 15], "depend": [6, 7, 20], "underli": 6, "three": [6, 9], "main": [6, 20], "them": 6, "rather": [6, 15], "hilbert": 6, "take": [6, 14, 15, 18, 19], "hydrogen": [6, 9, 11, 15], "four": 6, "quit": [6, 9], "ha": [6, 9, 15, 16, 17, 19], "dimens": [6, 18], "On": 6, "hand": [6, 17], "constrain": 6, "manipul": 6, "describ": [6, 17], "respect": [6, 9, 10, 18, 19], "relat": [6, 15, 18], "concept": 6, "document": [6, 9, 17], "suppos": [6, 10, 16], "theta_k": [6, 10, 18, 19], "g_k": [6, 10], "real": [6, 11, 14, 16, 18, 19], "_j": [6, 18, 19], "hat": [6, 9, 13, 14, 16, 18, 19], "expect": [6, 15, 16], "written": [6, 7, 16], "_": [6, 9, 10, 14, 18, 19], "frac": [6, 10, 14, 15, 16, 19], "partial": [6, 10, 15, 16, 18, 19], "theta_j": [6, 19], "g_j": [6, 19], "practic": 6, "firstli": [6, 15], "obtain": [6, 10, 15, 18], "Then": [6, 19], "recurs": 6, "g_": 6, "sweep": 6, "constant": [6, 14, 16], "amount": 6, "choos": [6, 17], "devic": [6, 15, 18, 19], "done": [6, 15], "both": [6, 9, 15], "appropri": 6, "driver": 6, "fine": 6, "grain": 6, "control": [6, 9, 15, 17, 18], "achiev": 6, "packag": [6, 7, 9, 17], "cp": 6, "cuda": [6, 18, 19], "featur": [6, 9], "long": 6, "common": [6, 16], "alreadi": 6, "simpli": [6, 17], "too": [6, 15, 18], "mani": [6, 15, 18], "instruct": 6, "re": [6, 12, 16, 19], "cpu": [6, 18, 19], "significantli": [6, 15, 17], "otherwis": 6, "author": 6, "knowledg": 6, "current": [6, 18], "solv": [6, 12, 13, 16, 18], "problem": [6, 12, 16], "versatil": [7, 16], "heavi": 7, "advantag": 7, "10000x": 7, "market": 7, "light": 7, "weight": 7, "easi": [7, 12, 17], "hack": [7, 17], "further": 7, "read": 7, "advanc": [7, 9], "topic": [7, 9], "backend": [7, 9, 11, 18], "encod": [7, 20], "potenti": [7, 20], "surfac": [7, 20], "water": [7, 20], "adapt": [7, 20], "benchmark": [7, 20], "hubbard": [7, 20], "model": [7, 9, 14, 15, 18, 19, 20], "observ": [7, 9, 20], "marcu": [7, 20], "invert": [7, 20], "region": [7, 20], "variat": [7, 16, 20], "ground": [7, 20], "frequent": 7, "ask": 7, "question": 7, "what": [7, 9, 15], "indic": [7, 10, 18, 19], "slow": 7, "upccgsd": [7, 8], "uccd": [7, 8], "headwar": [7, 8], "primari": [9, 15], "respons": 9, "arbitrari": 9, "via": [9, 15, 18, 19], "pip": 9, "minim": [9, 18], "heavili": 9, "moment": 9, "window": 9, "platform": [9, 11], "user": [9, 15, 17], "wsl": 9, "environ": 9, "peruzzo2014": 9, "lee2019": 9, "elfving2021": 9, "d": [9, 13, 15], "borrow": [9, 16], "equival": 9, "atom": [9, 11, 12, 17], "rang": [9, 10, 11, 12, 13, 14, 15, 16, 18, 19], "setup": [9, 20], "analyz": [9, 20], "apart": 9, "inherit": 9, "rich": [9, 11, 15], "access": 9, "modif": 9, "facilit": [9, 15], "develop": 9, "novel": [9, 10], "output": [9, 15, 16, 17, 18, 19], "matric": [9, 15], "pleas": 9, "guid": 9, "directori": 9, "extrem": 9, "here": [9, 11, 15, 16, 18, 19], "show": [9, 10, 12, 13, 14, 15, 16, 17, 19], "wall": 9, "chain": [9, 11], "along": [9, 11, 17], "bond": [9, 12, 18], "length": [9, 12], "\u00e5": [9, 12], "sto": [9, 12], "3g": [9, 12], "do": [9, 13], "tremend": 9, "visibl": 9, "mh": [9, 10, 17], "78": [9, 19], "05": [9, 10, 15], "_6": 9, "462": 9, "39": [9, 10, 11, 15, 16, 17, 18, 19], "27": [9, 17, 18, 19], "_8": 9, "834": 9, "108": 9, "72": [9, 19], "20": [9, 11, 14, 15, 17, 18, 19], "586": 9, "246": 9, "14": [9, 10, 15, 17, 18, 19], "37": [9, 19], "24": [9, 11, 17, 18, 19], "13": [9, 10, 15, 17, 18, 19], "917": 9, "495": 9, "51": [9, 19], "28": [9, 17, 18, 19], "30": [9, 17, 19], "428": 9, "899": 9, "2093": 9, "92": [9, 19], "32": [9, 18, 19], "59": [9, 17, 19], "634": 9, "520": 9, "50909": 9, "row": 9, "v100": 9, "uncertainti": [9, 20], "cutom": [9, 13], "sigma_z": [9, 16, 19], "delta": [9, 14, 16, 19], "sigma_x": [9, 16, 19], "omega": [9, 14, 16, 18], "simplic": 9, "basisset": 9, "renorm": [9, 16], "basishalfspin": [9, 16, 18, 19], "basissho": [9, 14, 16, 18], "ham_term": [9, 14, 16, 19], "nba": [9, 14, 16, 18, 19], "about": 9, "next": [9, 11, 14, 15], "evolut": [9, 16, 20], "property_op_dict": [9, 14, 16], "physic": [9, 18], "dure": [9, 11], "te": [9, 14, 16], "z": [9, 16, 18, 19], "happen": 9, "under": [9, 12], "hood": 9, "That": 9, "learn": 9, "mai": [9, 14, 17], "visit": 9, "mechan": 9, "jupyt": 9, "notebook": [9, 10, 11, 12, 13, 14, 15, 16, 17], "github": 9, "repositori": 9, "recent": 9, "build": [10, 11, 12, 15, 17], "singl": 10, "doubl": 10, "ex1_op": 10, "ex1_param_id": 10, "ex2_op": 10, "ex2_param_id": 10, "element": [10, 17], "annihil": 10, "zip": [10, 11], "7": [10, 11, 13, 14, 15, 16, 17, 19, 20], "group": 10, "togeth": 10, "collect": 10, "defaultdict": 10, "op_pool": 10, "ex1_id": 10, "append": [10, 11, 12, 13, 14, 15, 16, 18, 19], "ex2_id": 10, "onc": 10, "criteria": 10, "maxim": 10, "absolut": 10, "origin": [10, 18], "wavefunct": [10, 16, 18], "new": 10, "hg_k": 10, "With": 10, "bigg": 10, "multipl": 10, "should": 10, "stop": 10, "norm": 10, "predefin": 10, "max_it": 10, "100": [10, 12, 16, 17, 19], "op_gradient_list": 10, "bra": [10, 18, 19], "op_list": 10, "conj": [10, 16, 18, 19], "len": [10, 12, 15, 16, 18, 19], "linalg": [10, 14, 16, 18, 19], "nonzero": 10, "ab": 10, "continu": 10, "10f": 10, "break": 10, "chosen_op_list": 10, "argmax": 10, "success": [10, 15, 17], "updat": [10, 19, 20], "extend": [10, 11, 19], "els": 10, "maximum": 10, "reach": 10, "6413625239691856": 10, "0000001787": 10, "0000001938": 10, "2103420256": 10, "2141378225": 10, "1874444822": 10, "3756623781": 10, "1653203524": 10, "2765500090": 10, "2029254292": 10, "130032459500918": 10, "5218024526621244": 10, "0125038973": 10, "0167842115": 10, "1713002616": 10, "2226765539": 10, "2132785933": 10, "1071344471": 10, "3020073191": 10, "2115115746": 10, "1521053433859345": 10, "4071773446367265": 10, "0401782688": 10, "0344678940": 10, "1829807723": 10, "1754330302": 10, "2209264766": 10, "0035378050": 10, "1519036061": 10, "1638188641": 10, "1560078326527474": 10, "3397631170243717": 10, "0447472512": 10, "0390906463": 10, "1863194802": 10, "1647591097": 10, "0000000382": 10, "0000000803": 10, "1629033819": 10, "0000000722": 10, "1533315226": 10, "158313503086184": 10, "2904720974252725": 10, "0507437926": 10, "0431791207": 10, "0000000009": 10, "1548519273": 10, "0000000012": 10, "0000000017": 10, "1881028425": 10, "0000000006": 10, "1434324638": 10, "160631774640665": 10, "23155645245221745": 10, "0418683900": 10, "0344273185": 10, "1647882822": 10, "0000000002": 10, "1533786504": 10, "164921018130742": 10, "16766398932285673": 10, "0241699861": 10, "0308084251": 10, "0004344058": 10, "0012217449": 10, "0008976241": 10, "0004632254": 10, "0003003856": 10, "1630186312": 10, "1674443274948185": 10, "026968274543560385": 10, "0206092184": 10, "0173939056": 10, "0000000813": 10, "0000000039": 10, "0000001792": 10, "0000001301": 10, "0000000779": 10, "0000000055": 10, "0000000310": 10, "1674988485893616": 10, "022742856617093358": 10, "0000000004": 10, "0227422801": 10, "0001099764": 10, "0000004105": 10, "0000167703": 10, "0001173127": 10, "0000073356": 10, "0000055027": 10, "1675452943964704": 10, "482330523964407e": 10, "0000000015": 10, "0000000041": 10, "0000059866": 10, "0000001058": 10, "0000190189": 10, "0000015227": 10, "0000075106": 10, "0000041626": 10, "0000119403": 10, "final": [10, 15], "condit": [10, 17], "correl": [10, 13, 17], "121387": 10, "46": [10, 19], "173788": 10, "000": [10, 17], "151794": 10, "15": [10, 12, 15, 17, 18, 19], "766505": 10, "65": [10, 19], "854": 10, "167556": 10, "004979": 10, "99": [10, 19], "989": [10, 17], "167545": 10, "015250": 10, "967": 10, "167561": 10, "000000": [10, 17], "10010110": 10, "051907": 10, "052049": 10, "01101001": 10, "01010101": 10, "140231": 10, "139297": 10, "10101010": 10, "033405": 10, "033263": 10, "11000011": 10, "024488": 10, "024327": 10, "00111100": 10, "01011010": 10, "028461": 10, "028758": 10, "10100101": 10, "052825": 10, "053072": 10, "10011001": 10, "030435": 10, "030805": 10, "01100011": 10, "006359": 10, "005294": 10, "00110110": 10, "10010011": 10, "004086": 10, "00111001": 10, "fun": [10, 15, 17, 18], "16754529": 10, "hess_inv": [10, 15, 17], "lt": [10, 13, 14, 15, 16, 17, 18, 19], "9x9": 10, "lbfgsinvhessproduct": [10, 15, 17], "gt": [10, 14, 15, 16, 17, 18, 19], "052049049877468376": 10, "13929721882902535": 10, "033262956584275416": 10, "02432719362945896": 10, "02875765729787159": 10, "05307218567505374": 10, "030805233161950704": 10, "005294244026331024": 10, "jac": [10, 15, 17, 18], "07062545e": 10, "09": 10, "83791785e": 10, "30782196e": 10, "08": [10, 18, 19], "70760122e": 10, "83647155e": 10, "33705792e": 10, "54077142e": 10, "48813139e": 10, "13038187e": 10, "messag": [10, 13, 15, 17], "rel_reduction_of_f_": [10, 13], "_factr": [10, 13], "epsmch": [10, 13], "nfev": [10, 15, 17], "nit": [10, 15, 17], "njev": [10, 15, 17], "opt_tim": [10, 15, 17], "014690637588500977": 10, "staging_tim": [10, 11, 15, 17], "76837158203125e": 10, "07": [10, 15], "statu": [10, 15, 17], "x": [10, 14, 15, 16, 17, 18, 19], "0519072": 10, "14023057": 10, "03340521": 10, "02448758": 10, "02846146": 10, "0528252": 10, "03043539": 10, "00635861": 10, "00408631": 10, "interplai": 11, "panda": 11, "h_chain": 11, "n_h_list": 11, "uccsd_list": 11, "n_h": 11, "params_list": 11, "random": 11, "rand": 11, "jax_engin": 11, "numpy_engin": 11, "cupy_engin": 11, "tested_engines_list": 11, "time_data": 11, "tested_engin": 11, "dry": 11, "let": [11, 19], "time1": [11, 12, 15], "time2": [11, 12], "sever": [11, 15, 16, 18], "n_run": 11, "run_tim": 11, "item": 11, "6734888553619385": 11, "0013010025024414063": 11, "6995089054107666": 11, "5532455444335938": 11, "0008256316184997558": 11, "5697581768035889": 11, "6092183589935303": 11, "0061431884765625": 11, "7320821285247803": 11, "6665019989013672": 11, "0064354419708251955": 11, "7952108383178711": 11, "0294039249420166": 11, "016276955604553223": 11, "35494303703308105": 11, "530415773391724": 11, "003479158878326416": 11, "599998950958252": 11, "3404414653778076": 11, "001799321174621582": 11, "3764278888702393": 11, "6547484397888184": 11, "007375049591064453": 11, "8022494316101074": 11, "63521146774292": 11, "006232154369354248": 11, "7598545551300049": 11, "1072854995727539": 11, "09403668642044068": 11, "9880192279815674": 11, "58689785003662": 11, "05817370414733887": 11, "25": [11, 15, 16, 17, 18, 19], "7503719329834": 11, "56268572807312": 11, "005127060413360596": 11, "665226936340332": 11, "9048683643341064": 11, "01238323450088501": 11, "1525330543518066": 11, "32372498512268": 11, "00833052396774292": 11, "490335464477539": 11, "4856069087982178": 11, "4437950611114502": 11, "361508131027222": 11, "0034182071685791016": 11, "003229069709777832": 11, "06799960136413574": 11, "0037720203399658203": 11, "003747880458831787": 11, "07872962951660156": 11, "01477956771850586": 11, "014781630039215088": 11, "3104121685028076": 11, "005614757537841797": 11, "003976082801818848": 11, "08513641357421875": 11, "0069615840911865234": 11, "006995594501495362": 11, "14687347412109375": 11, "09161663055419922": 11, "09203903675079346": 11, "9323973655700684": 11, "01762080192565918": 11, "008578836917877197": 11, "18919754028320312": 11, "02767157554626465": 11, "02590758800506592": 11, "545823335647583": 11, "4722292423248291": 11, "443195104598999": 11, "33613133430481": 11, "32034993171691895": 11, "008597338199615478": 11, "4922966957092285": 11, "02430891990661621": 11, "014339327812194824": 11, "3110954761505127": 11, "01539301872253418": 11, "01657602787017822": 11, "34691357612609863": 11, "036718130111694336": 11, "01722104549407959": 11, "38113903999328613": 11, "05296659469604492": 11, "052764499187469484": 11, "1082565784454346": 11, "09645533561706543": 11, "09423872232437133": 11, "9812297821044922": 11, "1256849765777588": 11, "04901479482650757": 11, "1059808731079102": 11, "18027353286743164": 11, "1753893733024597": 11, "688060998916626": 11, "4615364074707031": 11, "45049295425415037": 11, "471395492553711": 11, "df": [11, 18], "column": 11, "set_index": 11, "673489": 11, "001301": 11, "699509": 11, "553246": 11, "000826": 11, "569758": 11, "609218": 11, "006143": 11, "732082": 11, "666502": 11, "006435": 11, "795211": 11, "029404": 11, "016277": 11, "354943": 11, "530416": 11, "003479": 11, "599999": 11, "340441": 11, "001799": 11, "376428": 11, "654748": 11, "007375": 11, "802249": 11, "635211": 11, "006232": 11, "759855": 11, "107285": 11, "094037": 11, "988019": 11, "586898": 11, "058174": 11, "750372": 11, "562686": 11, "005127": 11, "665227": 11, "904868": 11, "012383": 11, "152533": 11, "323725": 11, "008331": 11, "490335": 11, "485607": 11, "443795": 11, "361508": 11, "003418": 11, "003229": 11, "068000": 11, "003772": 11, "003748": 11, "078730": 11, "014780": 11, "014782": 11, "310412": 11, "005615": 11, "003976": 11, "085136": 11, "006962": 11, "006996": 11, "146873": 11, "091617": 11, "092039": 11, "932397": 11, "017621": 11, "008579": 11, "189198": 11, "027672": 11, "025908": 11, "545823": 11, "472229": 11, "443195": 11, "336131": 11, "320350": 11, "008597": 11, "492297": 11, "024309": 11, "014339": 11, "311095": 11, "015393": 11, "016576": 11, "346914": 11, "036718": 11, "017221": 11, "381139": 11, "052967": 11, "052764": 11, "108257": 11, "096455": 11, "094239": 11, "981230": 11, "125685": 11, "049015": 11, "105981": 11, "180274": 11, "175389": 11, "688061": 11, "461536": 11, "450493": 11, "471395": 11, "conclus": 11, "easili": [11, 17], "drawn": 11, "find": 11, "interesting_indic": 11, "ddf": 11, "groupbi": 11, "run_time_idx": 11, "idxmin": 11, "total_time_idx": 11, "loc": [11, 15, 16], "everi": 11, "fastest": 11, "term": [11, 15, 16, 20], "taken": [11, 15, 19], "account": [11, 15], "scalabl": 11, "choic": 11, "h_2o": 12, "theori": [12, 14], "incur": 12, "highlight": [12, 13], "pe": 12, "contruct": 12, "laptop": 12, "within": 12, "minut": [12, 14], "seri": 12, "angl": 12, "80": [12, 15, 19], "115": 12, "90\u00e5": 12, "15\u00e5": 12, "sampl": 12, "def": [12, 14, 15, 16, 18, 19], "get_h2o_m": 12, "bond_angl": 12, "bond_length": 12, "h1": 12, "linspac": [12, 13, 14], "180": 12, "90": [12, 19], "itertool": 12, "speedup": 12, "38": [12, 19], "372753381729126": 12, "matplotlib": [12, 13, 14, 15, 16, 18, 19], "pyplot": [12, 13, 14, 15, 16, 18, 19], "plt": [12, 13, 14, 15, 16, 18, 19], "contourf": 12, "reshap": [12, 15, 18, 19], "cmap": 12, "blues_r": 12, "50": [12, 19], "colorbar": 12, "xlabel": [12, 13, 14, 15, 16, 18, 19], "ylabel": [12, 13, 14, 15, 16, 18, 19], "demonstr": [13, 15], "fill": 13, "t": [13, 14, 16, 18, 19], "sum_": [13, 14, 15, 18], "sigma": [13, 19], "dagger_": 13, "c_": 13, "u": [13, 19], "sum_j": [13, 16, 19], "n_": [13, 15], "captur": 13, "strong": 13, "still": 13, "satisfactori": 13, "flexibl": [13, 17], "site": [13, 18], "scan": 13, "u_arrai": 13, "e_hf_list": 13, "e_ccsd_list": 13, "e_uccsd_list": 13, "e_fci_list": 13, "opt_r": [13, 17, 18], "record": [13, 15], "e_ccsd": [13, 17], "mpl_config": [13, 14, 15, 16, 19], "marker": [13, 14, 15], "label": [13, 14, 15, 16, 18], "linestyl": [13, 14, 15, 16], "legend": [13, 14, 15, 16], "savefig": [13, 14, 15, 16], "pdf": [13, 14, 15, 16, 17], "charg": 14, "transfer": [14, 18], "v": [14, 16, 18, 19], "a_1": 14, "dagger_1": 14, "b_i": 14, "dimensionless": 14, "coupl": 14, "vibrat": [14, 18, 19], "frequenc": [14, 18], "decreas": 14, "reaction": 14, "gibb": 14, "free": [14, 15], "chang": 14, "rate": 14, "increas": [14, 15], "predict": 14, "basismultielectron": 14, "jax_backend": 14, "get_hamiltonian": 14, "delta_g": 14, "e0": 14, "e1": 14, "v0": [14, 19], "v1": [14, 19], "relax": 14, "get_init_condit": 14, "eigh": 14, "op_mat": 14, "execut": [14, 15], "sinc": [14, 17], "trajectori": 14, "n_list": 14, "delta_g_list": 14, "init_condit": 14, "40": [14, 15, 19], "property_dict": 14, "arang": [14, 16, 19], "41": [14, 19], "enumer": [14, 18], "0x7fe1baea3690": 14, "hbar": 14, "sqrt": [14, 15], "lambda": 14, "exp": 14, "2g": 14, "reorgan": 14, "temperatur": 14, "need": [14, 17, 18, 19], "fit": 14, "polyfit": 14, "014047289363197032": 14, "02814188436474036": 14, "029197240764329252": 14, "019342655847204578": 14, "01011515881320177": 14, "tunnel": 14, "phy": 14, "rev": 14, "2009": 14, "79": [14, 19], "115203": 14, "014048168006004535": 14, "028141822635725088": 14, "02919731407299346": 14, "019324510938040215": 14, "marcus_r": 14, "lam": 14, "curve_fit": 14, "trapezoid": 14, "nuclear_tunneling_r": 14, "1e3": 14, "integrand": 14, "1j": [14, 16, 19], "dense_delta_g": 14, "log10": 14, "markers": 14, "frameon": 14, "0x7fe1a82b5c10": 14, "fig": [14, 18, 19], "figsiz": 14, "tight_layout": 14, "ax1": 14, "ax2": 14, "subplot": 14, "sca": 14, "text": [14, 18], "bf": [14, 19], "fontsiz": 14, "43": [14, 19], "_2": 15, "illustr": [15, 17, 19], "well": 15, "wrap": 15, "complet": [15, 19], "fewer": 15, "line": 15, "studi": [15, 19], "ideal": 15, "art": 15, "consequ": 15, "adopt": [15, 18, 19], "inher": 15, "veri": [15, 16], "shortcut": 15, "7141392859919029": [15, 17], "2527052599711868": [15, 17], "48227117798977825": [15, 17], "6745650967143663": [15, 17], "18126641677772592": [15, 17], "6635375947675042": [15, 17], "47569770336145906": [15, 17], "6635375947675038": [15, 17], "6974673850129379": [15, 17], "remov": 15, "33948675952516477": 15, "x0": [15, 16, 17, 18], "x1": [15, 17], "39422935037950685": 15, "z0": [15, 17], "01123932304807404": 15, "z1": [15, 17], "3942293503795067": 15, "altern": 15, "approach": 15, "tool": 15, "moleculardata": 15, "compos": 15, "mpl": [15, 17], "creat": 15, "probabl": 15, "rho": [15, 19], "p_j": 15, "16p": 15, "introduc": [15, 17], "pure": 15, "fidel": 15, "98": [15, 19], "flop": [15, 17], "96": [15, 19], "1202549357480136": 15, "12025494": 15, "4x4": 15, "14159265": 15, "16941739e": 15, "55111512e": [15, 17], "17": [15, 17, 18, 19], "00000000e": [15, 17], "norm_of_projected_gradient_": [15, 17], "_pgtol": [15, 17], "25640320777893066": 15, "1920928955078125e": 15, "06": [15, 17], "25973122e": 15, "14159265e": 15, "82347069e": 15, "19412730e": 15, "higher": 15, "isotropicdepolarizingchannel": 15, "num_qubit": 15, "add_nois": 15, "9245310332616318": 15, "92453103": 15, "87354315e": 15, "25928783416748047": 15, "5367431640625e": 15, "83807579e": 15, "76918418e": 15, "infinit": 15, "4096": 15, "slower": 15, "overhead": 15, "suppress": 15, "128": 15, "9187451689899536": 15, "9285959899718158": 15, "9285225235212169": 15, "9349106044977904": 15, "9264353453475235": 15, "9250756148331946": 15, "9245772630966033": 15, "9238598336661094": 15, "924377692124025": 15, "923522568588401": 15, "exact": [15, 16, 17], "agreement": 15, "1372744055294381": 15, "1372744055294384": [15, 17], "rebuild": 15, "automat": 15, "exactli": 15, "ve": 15, "desir": [15, 17], "multi": [15, 17], "elementari": [15, 17], "turn": 15, "off": 15, "functool": 15, "gate_count": 15, "8208126798813514": 15, "18": [15, 17, 18, 19], "librari": 15, "twoloc": 15, "rotation_block": 15, "entanglement_block": 15, "cx": 15, "rep": 15, "affect": 15, "linearli": 15, "accur": [15, 18], "estim": [15, 17], "caus": 15, "deterior": 15, "get_noise_conf": 15, "error_prob": 15, "001": [15, 17], "60": [15, 19], "e_list": 15, "zeros_lik": 15, "e_arrai": 15, "445068836212158": 15, "plot": [15, 18, 19, 20], "standard": 15, "deviat": 15, "As": [15, 19], "linear": [15, 18], "far": 15, "signific": 15, "adjust": 15, "shots_list": 15, "64": [15, 19], "673604011535645": 15, "std": 15, "axi": 15, "var": 15, "scratch": 16, "simpl": [16, 17], "harmon": 16, "oscil": 16, "sho": 16, "relev": 16, "shotcut": 16, "abl": 16, "proper": 16, "qubit_encode_op": [16, 18], "qubit_encode_basi": [16, 18, 19], "ham_terms_spin": 16, "basis_spin": 16, "tccqubit": [16, 18, 19], "9517337620166572": 16, "040295934250509535": 16, "26872106012443797": 16, "14271676764170976": 16, "4829629131445341": 16, "12940952255126037": 16, "h_j": 16, "prod_k": 16, "prod_j": [16, 18], "kj": 16, "get_ansatz": [16, 18, 19], "get_jacobian_func": [16, 19], "get_deriv": [16, 19], "feed": [16, 20], "devicearrai": [16, 19], "jacobian": 16, "vqa": 16, "tdvp": 16, "funcction": 16, "jacobian_func": [16, 19], "dot": [16, 19], "mclachlan": 16, "principl": 16, "im": [16, 19], "dens": 16, "get_dense_oper": 16, "solve_ivp": [16, 19], "scipy_deriv": 16, "_theta": 16, "rk45": 16, "ivp": 16, "expm": 16, "tau": [16, 19], "z_op": [16, 19], "z_list": [16, 19], "z_exact_list": 16, "scipy_sol": 16, "evolv": [16, 19], "y": [16, 18, 19], "state_exact": 16, "101": [16, 19], "xlim": 16, "ylim": 16, "75": [16, 19], "0x7ff5484ae950": 16, "subsect": 16, "greatli": 16, "t_list": 16, "sbm": [16, 19], "nice": 17, "great": 17, "own": 17, "debug": 17, "prototyp": 17, "built": [17, 20], "gto": 17, "0x7f132bfd3990": 17, "cell": 17, "2160": 17, "116706": 17, "568268": 17, "129868": 17, "406850": 17, "63": [17, 19], "137275": 17, "000165": 17, "137274": 17, "082849e": 17, "129866e": 17, "072608": 17, "13727441": 17, "2x2": 17, "07260814651571333": 17, "60813938e": 17, "19": [17, 18, 19], "11022302e": 17, "010929584503173828": 17, "337860107421875e": 17, "08284918e": 17, "12986561e": 17, "conveni": 17, "glanc": 17, "part": [17, 20], "compact": 17, "optimizeresult": 17, "separ": 17, "standalon": 17, "0x7f131c17fe10": 17, "http": [17, 18, 19], "arxiv": 17, "org": [17, 18, 19], "2005": 17, "14475": 17, "tradit": 17, "expos": 17, "whenev": 17, "simplest": 17, "intent": 17, "handi": 17, "toolbox": 17, "0x7f13232ed950": 17, "scf": 17, "hf_symm": 17, "symadaptedrhf": 17, "0x7f132bafc850": 17, "e_mp2": 17, "116706137236105": 17, "1298675557838804": 17, "1372745709766439": 17, "shape": [17, 18], "09835117053027564": 17, "0j": 17, "04531660419443148": 17, "x2": 17, "x3": 17, "y2": 17, "y3": 17, "y0": 17, "y1": 17, "22297018776182556": 17, "12056779449744456": 17, "17436684625323448": 17, "z2": 17, "16588439869187604": 17, "z3": 17, "1712591626176813": 17, "16588439869187596": 17, "16864127417859157": 17, "22297018776182548": 17, "1712591626176812": 17, "07260815": 17, "93623806e": 17, "12746318e": 17, "among": 17, "21": [17, 18, 19], "2e": 17, "2o": 17, "343542e": 17, "157573": 17, "480558e": 17, "208": 17, "163054": 17, "932076e": 17, "04": 17, "881784e": 17, "000000e": 17, "112312e": 17, "377274e": 17, "082065": 17, "163053957291894": 17, "16305396": 17, "08206541779079227": 17, "21074365e": 17, "003999471664428711": 17, "6689300537109375e": 17, "11231160e": 17, "37727434e": 17, "nad": 17, "22": [17, 18, 19], "uccsd_from_integr": 17, "fairli": 17, "23": [17, 18, 19], "149618533807672": 17, "1496185338076685": 17, "caveat": 17, "float32": 17, "27679890e": 17, "93866451e": 17, "26": [17, 18, 19], "29": [17, 19], "435423": 17, "480558": 17, "000193": 17, "31": [17, 19], "beyond": 17, "vbe": [18, 19], "holstein": 18, "_i": 18, "sum_i": 18, "phonon": [18, 19], "exist": 18, "view": 18, "conbin": 18, "effect": [18, 20], "save": 18, "n_l": 18, "ket": [18, 19], "_l": [18, 19], "sum_m": 18, "mn": 18, "central": 18, "present": [18, 19], "doi": [18, 19], "1103": [18, 19], "physrevresearch": [18, 19], "023046": [18, 19], "opt_einsum": [18, 19], "basissimpleelectron": 18, "mpo": [18, 19], "util": 18, "scipy_opt_wrap": 18, "vbe_lib": [18, 19], "get_psi_indic": [18, 19], "get_contracted_mpo": [18, 19], "get_contract_arg": [18, 19], "intit": 18, "nsite": 18, "intergr": 18, "possess": 18, "per": 18, "n_qubit_per_mod": [18, 19], "nbas_v": [18, 19], "psi_index_top": [18, 19], "psi_index_bottom": [18, 19], "b_dof_vidx": [18, 19], "psi_shape2": [18, 19], "stuctur": [18, 19], "mark": 18, "blue": [18, 19], "squar": [18, 19], "green": [18, 19], "circl": [18, 19], "purpl": 18, "orang": 18, "natur": [18, 19], "dof_natur": [18, 19], "b_dof_pidx": [18, 19], "psi_idx_top": [18, 19], "psi_idx_bottom": [18, 19], "n_dof": [18, 19], "prepar": 18, "2023": [18, 19], "44": [18, 19], "36": [18, 19], "794994": 18, "extern": [18, 19], "org_tensorflow": [18, 19], "tensorflow": [18, 19], "xla": [18, 19], "stream_executor": [18, 19], "cuda_driv": [18, 19], "cc": [18, 19], "267": [18, 19], "fail": [18, 19], "cuinit": [18, 19], "cuda_error_no_devic": [18, 19], "capabl": [18, 19], "detect": [18, 19], "warn": [18, 19], "_src": [18, 19], "lib": [18, 19], "xla_bridg": [18, 19], "tpu": [18, 19], "fall": [18, 19], "back": [18, 19], "tf_cpp_min_log_level": [18, 19], "rerun": [18, 19], "info": [18, 19], "bottom": [18, 19], "prod_l": 18, "ijk": 18, "_k": 18, "phi_0": [18, 19], "anasatz": 18, "get_vha_term": [18, 19], "dummi": 18, "doesn": 18, "matter": 18, "ansatz_term": 18, "spin_basi": [18, 19], "opposit": 18, "nspin_basi": 18, "nparam_id": 18, "nansatz": 18, "5j": 18, "1830127018922193j": 18, "6830127018922193j": 18, "3535533905932738j": 18, "local": 18, "0x7f2fd4ed29e0": 18, "_1": [18, 19], "cost_fn": 18, "squeez": [18, 19], "vg": 18, "value_and_grad": 18, "opt_fn": 18, "shown": 18, "get_ham_terms_and_basi": 18, "tild": [18, 19], "neq": [18, 19], "graphic": [18, 19], "representarion": 18, "h_contract": [18, 19], "obivi": 18, "mention": 18, "non": 18, "avoid": 18, "minimum": 18, "nroot": 18, "solve_b_arrai": 18, "h_mpo": [18, 19], "b_arrai": [18, 19], "arg": [18, 19], "top": [18, 19], "contracted_h": 18, "abc": 18, "abd": 18, "acd": 18, "abcd": 18, "kab": 18, "kde": 18, "kce": 18, "ey": [18, 19], "sol": [18, 19], "root": 18, "flatten": 18, "sane": 18, "copi": [18, 19], "new_b": 18, "ensur": 18, "orthomorm": 18, "constraint": 18, "allclos": 18, "enforc": 18, "orthogon": 18, "th": 18, "qr": 18, "lowest_id": 18, "argmin": 18, "funtion": 18, "preform": 18, "ii": [18, 19], "search": 18, "vqe_e": 18, "max": 18, "b_list": [18, 19], "nbas_dummi": 18, "hamitonian": 18, "i_it": 18, "1462862688238387": 18, "1467101393155392": 18, "1516072207104755": 18, "146809472707097": 18, "1436199703762058": 18, "1436211792549265": 18, "1436161320531255": 18, "1436163145946456": 18, "143610688816215": 18, "143615904093609": 18, "143618182488605": 18, "200840457440427": 18, "2122982581916806": 18, "2148415941913107": 18, "214454540682066": 18, "214612010154128": 18, "2147110746262615": 18, "2147665497225395": 18, "2148131940534586": 18, "2154252365889784": 18, "1514261568965116": 18, "207712921399021": 18, "2143507766993564": 18, "2151165867343625": 18, "215551620056812": 18, "21568849222177": 18, "215871719331443": 18, "215941510624362": 18, "2160628060732046": 18, "216149074896171": 18, "1514406055444124": 18, "2076420281600306": 18, "2142584040499904": 18, "215027472815238": 18, "215298468441994": 18, "215473370191188": 18, "215603547226202": 18, "2157277687243084": 18, "21585866940053": 18, "215945718302776": 18, "1514390786099793": 18, "207490813088342": 18, "214102161196929": 18, "2148182787029125": 18, "215041112156586": 18, "2151813495719064": 18, "2153433350190888": 18, "215488882659097": 18, "2156246556276216": 18, "2157174737499026": 18, "1514387774077157": 18, "207367390115564": 18, "2139409419868894": 18, "214681092894311": 18, "2148647347163752": 18, "2149976397508198": 18, "2150898148896068": 18, "215209498240965": 18, "215350330348768": 18, "215489480343017": 18, "151439525393469": 18, "2073726435058725": 18, "21394347501351": 18, "2146357208139835": 18, "2147953021340396": 18, "2149183613661005": 18, "2150120210391324": 18, "2151326321686358": 18, "2152609684807225": 18, "2153772130446274": 18, "1514407536942515": 18, "2073747584311443": 18, "213913960989289": 18, "214575999427622": 18, "2147908760265476": 18, "214908337484859": 18, "214995903540079": 18, "2151048002575178": 18, "2151780903906246": 18, "215267190685132": 18, "1436159": 18, "21542524": 18, "21614907": 18, "21594572": 18, "21571747": 18, "21548948": 18, "21537721": 18, "21526719": 18, "970388609022889": 18, "970388750660544": 18, "970380747881972": 18, "9703823363984405": 18, "970361506210726": 18, "970387322685639": 18, "970395203902614": 18, "970391647335198": 18, "970399166505385": 18, "970381692433662": 18, "97038378078057": 18, "5564103165274705": 18, "867598000881585": 18, "886883542215796": 18, "8885422575017525": 18, "88860270448971": 18, "888976697629529": 18, "889032282397925": 18, "87508588628647": 18, "88070265416792": 18, "97067566818566": 18, "243806185428152": 18, "734803721364637": 18, "761741304437681": 18, "763332322992516": 18, "763771458365108": 18, "764185047602272": 18, "764384932213805": 18, "76466850977698": 18, "764911481717341": 18, "96862038743091": 18, "429794930919833": 18, "026873692202507": 18, "056442107809515": 18, "05694061960338": 18, "057045669005818": 18, "057238086937822": 18, "057282106387905": 18, "057566284361702": 18, "057828042375913": 18, "970618486961766": 18, "46027786865908": 18, "083147656265663": 18, "114099808352503": 18, "11560775880261": 18, "115877265080734": 18, "116097672280478": 18, "116229576435904": 18, "116393057481334": 18, "116547264265742": 18, "970625270862546": 18, "45711233270321": 18, "088394950174024": 18, "119585611496353": 18, "120622157156225": 18, "12076874586676": 18, "120868946965105": 18, "120961208842665": 18, "121266704999321": 18, "121400092721187": 18, "970428599007128": 18, "457873653767907": 18, "080983847442083": 18, "11887015866691": 18, "120581625216305": 18, "120780165844552": 18, "120861448711434": 18, "120944883939789": 18, "121064294222425": 18, "121158073032065": 18, "969871735326939": 18, "45468700588645": 18, "081070798150298": 18, "11871782591465": 18, "120482174048545": 18, "1206758213174": 18, "12076495864178": 18, "12087305152589": 18, "120974560170358": 18, "121128971234404": 18, "97038169": 18, "88070265": 18, "76491148": 18, "05782804": 18, "11654726": 18, "12140009": 18, "12115807": 18, "12112897": 18, "scatter": 18, "shall": 19, "kei": 19, "theoret": 19, "opsum": 19, "_z": 19, "_x": 19, "omega_j": 19, "omega_list": 19, "g_list": 19, "schemat": 19, "nmode": 19, "sure": 19, "correct": 19, "assert": 19, "npsi_index_bottom": 19, "nb_dof_vidx": 19, "npsi_shape2": 19, "been": 19, "get_model": 19, "nlevel": 19, "get_ham_term": 19, "get_basi": 19, "b_shape": 19, "psi0": 19, "927000": 19, "prod_n": 19, "theta_n": 19, "a_n": 19, "sum_a": 19, "j_a": 19, "_a": 19, "spin_ham_term": 19, "complete_list": 19, "symbol": 19, "ixyz": 19, "complete_r": 19, "squeeze_ident": 19, "is_ident": 19, "theta0": 19, "theta_deriv": 19, "project": 19, "nn": 19, "tr": 19, "deriv_fun": 19, "theta_and_b": 19, "split": 19, "thera": 19, "independ": 19, "b_deriv_list": 19, "indices_bas": 19, "psi_top_indic": 19, "psi_bottom_indic": 19, "out_indic": 19, "pinv": 19, "rho_inv": 19, "projector": 19, "proj": 19, "transpos": 19, "previou": 19, "b_deriv": 19, "einsum": 19, "bg": 19, "fg": 19, "fh": 19, "hg": 19, "concaten": 19, "astyp": 19, "complex": 19, "0x7f68b5462690": 19, "0x7f68503148d0": 19, "0x7f68503147d0": 19, "calcut": 19, "x_list": 19, "dummy_model": 19, "todens": 19, "x_op": 19, "9801368820199942": 19, "9221622297057478": 19, "8307164281767181": 19, "712902625694087": 19, "5774908043700016": 19, "4340489975856556": 19, "29215043357543824": 19, "1607516949764221": 19, "04771089791814444": 19, "040502642430565255": 19, "09904787191380995": 19, "12493534752914795": 19, "11727456640490394": 19, "07753204265425653": 19, "009732009482324864": 19, "0795128404043315": 19, "18126828150880098": 19, "2849420221890886": 19, "37936481084384754": 19, "454192768911805": 19, "5014051186981502": 19, "5165776398039041": 19, "49960262655096854": 19, "454624729908236": 19, "38915769753158064": 19, "31259780970942813": 19, "2345813095925135": 19, "1636633691524335": 19, "10653226239863313": 19, "06766729976756988": 19, "04926876472593326": 19, "05139921686178229": 19, "33": 19, "07232882932406118": 19, "34": 19, "10899831508240451": 19, "35": 19, "15745403958628454": 19, "21315107699434557": 19, "27112011043252915": 19, "3261026901074539": 19, "3728086768061548": 19, "40637666288671287": 19, "4229683862535386": 19, "42": 19, "42032486089352117": 19, "3981218276511652": 19, "358045462603464": 19, "45": 19, "303614837159146": 19, "23991582373561202": 19, "47": 19, "17311347674692437": 19, "48": 19, "10948894653071074": 19, "49": 19, "05440718215103625": 19, "011717807210271824": 19, "016427087542680092": 19, "52": 19, "02981545362112685": 19, "53": 19, "030162355384666367": 19, "54": 19, "020379375716308275": 19, "55": 19, "0033909784547891857": 19, "56": 19, "018576266600602798": 19, "57": 19, "04368717824936481": 19, "58": 19, "06971819393413235": 19, "09364096597083588": 19, "11186039266314592": 19, "61": 19, "12076156704155695": 19, "62": 19, "11755115511155295": 19, "10090752714979544": 19, "07138982669111976": 19, "03253624871953725": 19, "66": 19, "011552300380283664": 19, "67": 19, "05607764510179323": 19, "68": 19, "09628855507563477": 19, "69": 19, "12836308326138923": 19, "70": 19, "14994039236833612": 19, "71": 19, "1596458713814789": 19, "15576794369843444": 19, "73": 19, "1373071561893098": 19, "74": 19, "10671249014129201": 19, "06743879382842288": 19, "76": 19, "022285878126101024": 19, "77": 19, "024280809221682687": 19, "06810377510953083": 19, "10678673871439198": 19, "13914885388461803": 19, "81": 19, "1611886576331503": 19, "82": 19, "16581373326788112": 19, "83": 19, "1542497273174869": 19, "84": 19, "13048909287272364": 19, "85": 19, "09708896314020657": 19, "86": 19, "057310903820287765": 19, "87": 19, "015533678436258006": 19, "88": 19, "024192504501293052": 19, "89": 19, "05790366853755518": 19, "0797592370408079": 19, "91": 19, "08582739907891124": 19, "07396770719727741": 19, "93": 19, "048080239560664026": 19, "94": 19, "012411290850183795": 19, "95": 19, "031070370091046573": 19, "08042891268644264": 19, "97": 19, "13037553828085885": 19, "17451072357728148": 19, "20513840470656897": 19, "outcom": 19, "overview": 20, "hello": 20, "world": 20, "pool": 20, "iter": 20, "discuss": 20, "backgroud": 20, "realiz": 20, "vha": 20, "structur": 20, "background": 20}, "objects": {"tencirchem": [[1, 0, 1, "", "HEA"], [2, 0, 1, "", "KUPCCGSD"], [3, 0, 1, "", "PUCCD"], [4, 0, 1, "", "UCC"], [5, 0, 1, "", "UCCSD"]], "tencirchem.HEA": [[1, 1, 1, "", "__init__"], [1, 1, 1, "", "as_pyscf_solver"], [1, 1, 1, "", "densitymatrix"], [1, 1, 1, "", "energy"], [1, 1, 1, "", "energy_and_grad"], [1, 1, 1, "", "from_integral"], [1, 1, 1, "", "from_molecule"], [1, 1, 1, "", "get_dmcircuit"], [1, 1, 1, "", "get_dmcircuit_no_noise"], [1, 1, 1, "", "get_opt_function"], [1, 2, 1, "", "grad"], [1, 1, 1, "", "kernel"], [1, 1, 1, "", "make_rdm1"], [1, 1, 1, "", "make_rdm2"], [1, 2, 1, "", "n_params"], [1, 2, 1, "", "params"], [1, 1, 1, "", "print_circuit"], [1, 1, 1, "", "print_summary"], [1, 1, 1, "", "ry"], [1, 1, 1, "", "statevector"]], "tencirchem.KUPCCGSD": [[2, 1, 1, "", "__init__"], [2, 1, 1, "", "apply_excitation"], [2, 1, 1, "", "as_pyscf_solver"], [2, 1, 1, "", "civector"], [2, 2, 1, "", "civector_size"], [2, 2, 1, "", "e_kupccgsd"], [2, 2, 1, "", "e_ucc"], [2, 1, 1, "", "embed_rdm_cas"], [2, 1, 1, "", "energy"], [2, 1, 1, "", "energy_and_grad"], [2, 1, 1, "", "from_integral"], [2, 1, 1, "", "get_addr"], [2, 1, 1, "", "get_ci_strings"], [2, 1, 1, "", "get_circuit"], [2, 1, 1, "", "get_energy_dataframe"], [2, 1, 1, "", "get_ex1_ops"], [2, 1, 1, "", "get_ex2_ops"], [2, 1, 1, "", "get_ex_ops"], [2, 1, 1, "", "get_excitation_dataframe"], [2, 1, 1, "", "get_init_state_dataframe"], [2, 1, 1, "", "get_opt_function"], [2, 2, 1, "", "h_fermion_op"], [2, 2, 1, "", "h_qubit_op"], [2, 2, 1, "", "init_state"], [2, 1, 1, "", "kernel"], [2, 1, 1, "", "make_rdm1"], [2, 1, 1, "", "make_rdm2"], [2, 2, 1, "", "n_params"], [2, 2, 1, "", "no"], [2, 2, 1, "", "nv"], [2, 2, 1, "", "param_ids"], [2, 2, 1, "", "param_to_ex_ops"], [2, 2, 1, "", "params"], [2, 1, 1, "", "print_ansatz"], [2, 1, 1, "", "print_circuit"], [2, 1, 1, "", "print_energy"], [2, 1, 1, "", "print_excitations"], [2, 1, 1, "", "print_init_state"], [2, 1, 1, "", "print_summary"], [2, 1, 1, "", "statevector"], [2, 2, 1, "", "statevector_size"]], "tencirchem.PUCCD": [[3, 1, 1, "", "__init__"], [3, 1, 1, "", "apply_excitation"], [3, 1, 1, "", "as_pyscf_solver"], [3, 1, 1, "", "civector"], [3, 2, 1, "", "civector_size"], [3, 2, 1, "", "e_puccd"], [3, 2, 1, "", "e_ucc"], [3, 1, 1, "", "embed_rdm_cas"], [3, 1, 1, "", "energy"], [3, 1, 1, "", "energy_and_grad"], [3, 1, 1, "", "from_integral"], [3, 1, 1, "", "get_addr"], [3, 1, 1, "", "get_ci_strings"], [3, 1, 1, "", "get_circuit"], [3, 1, 1, "", "get_energy_dataframe"], [3, 1, 1, "", "get_ex1_ops"], [3, 1, 1, "", "get_ex2_ops"], [3, 1, 1, "", "get_ex_ops"], [3, 1, 1, "", "get_excitation_dataframe"], [3, 1, 1, "", "get_init_state_dataframe"], [3, 1, 1, "", "get_opt_function"], [3, 2, 1, "", "h_fermion_op"], [3, 2, 1, "", "h_qubit_op"], [3, 2, 1, "", "init_state"], [3, 1, 1, "", "kernel"], [3, 1, 1, "", "make_rdm1"], [3, 1, 1, "", "make_rdm2"], [3, 2, 1, "", "n_params"], [3, 2, 1, "", "no"], [3, 2, 1, "", "nv"], [3, 2, 1, "", "param_ids"], [3, 2, 1, "", "param_to_ex_ops"], [3, 2, 1, "", "params"], [3, 1, 1, "", "print_ansatz"], [3, 1, 1, "", "print_circuit"], [3, 1, 1, "", "print_energy"], [3, 1, 1, "", "print_excitations"], [3, 1, 1, "", "print_init_state"], [3, 1, 1, "", "print_summary"], [3, 1, 1, "", "statevector"], [3, 2, 1, "", "statevector_size"]], "tencirchem.UCC": [[4, 1, 1, "", "__init__"], [4, 1, 1, "", "apply_excitation"], [4, 1, 1, "", "as_pyscf_solver"], [4, 1, 1, "", "civector"], [4, 2, 1, "", "civector_size"], [4, 2, 1, "", "e_ucc"], [4, 1, 1, "", "embed_rdm_cas"], [4, 1, 1, "", "energy"], [4, 1, 1, "", "energy_and_grad"], [4, 1, 1, "", "from_integral"], [4, 1, 1, "", "get_addr"], [4, 1, 1, "", "get_ci_strings"], [4, 1, 1, "", "get_circuit"], [4, 1, 1, "", "get_energy_dataframe"], [4, 1, 1, "", "get_ex1_ops"], [4, 1, 1, "", "get_ex2_ops"], [4, 1, 1, "", "get_ex_ops"], [4, 1, 1, "", "get_excitation_dataframe"], [4, 1, 1, "", "get_init_state_dataframe"], [4, 1, 1, "", "get_opt_function"], [4, 2, 1, "", "h_fermion_op"], [4, 2, 1, "", "h_qubit_op"], [4, 2, 1, "", "init_state"], [4, 1, 1, "", "kernel"], [4, 1, 1, "", "make_rdm1"], [4, 1, 1, "", "make_rdm2"], [4, 2, 1, "", "n_params"], [4, 2, 1, "", "no"], [4, 2, 1, "", "nv"], [4, 2, 1, "", "param_ids"], [4, 2, 1, "", "param_to_ex_ops"], [4, 2, 1, "", "params"], [4, 1, 1, "", "print_ansatz"], [4, 1, 1, "", "print_circuit"], [4, 1, 1, "", "print_energy"], [4, 1, 1, "", "print_excitations"], [4, 1, 1, "", "print_init_state"], [4, 1, 1, "", "print_summary"], [4, 1, 1, "", "statevector"], [4, 2, 1, "", "statevector_size"]], "tencirchem.UCCSD": [[5, 1, 1, "", "__init__"], [5, 1, 1, "", "apply_excitation"], [5, 1, 1, "", "as_pyscf_solver"], [5, 1, 1, "", "civector"], [5, 2, 1, "", "civector_size"], [5, 2, 1, "", "e_ucc"], [5, 2, 1, "", "e_uccsd"], [5, 1, 1, "", "embed_rdm_cas"], [5, 1, 1, "", "energy"], [5, 1, 1, "", "energy_and_grad"], [5, 1, 1, "", "from_integral"], [5, 1, 1, "", "get_addr"], [5, 1, 1, "", "get_ci_strings"], [5, 1, 1, "", "get_circuit"], [5, 1, 1, "", "get_energy_dataframe"], [5, 1, 1, "", "get_ex1_ops"], [5, 1, 1, "", "get_ex2_ops"], [5, 1, 1, "", "get_ex_ops"], [5, 1, 1, "", "get_excitation_dataframe"], [5, 1, 1, "", "get_init_state_dataframe"], [5, 1, 1, "", "get_opt_function"], [5, 2, 1, "", "h_fermion_op"], [5, 2, 1, "", "h_qubit_op"], [5, 2, 1, "", "init_state"], [5, 1, 1, "", "kernel"], [5, 1, 1, "", "make_rdm1"], [5, 1, 1, "", "make_rdm2"], [5, 2, 1, "", "n_params"], [5, 2, 1, "", "no"], [5, 2, 1, "", "nv"], [5, 2, 1, "", "param_ids"], [5, 2, 1, "", "param_to_ex_ops"], [5, 2, 1, "", "params"], [5, 1, 1, "", "pick_and_sort"], [5, 1, 1, "", "print_ansatz"], [5, 1, 1, "", "print_circuit"], [5, 1, 1, "", "print_energy"], [5, 1, 1, "", "print_excitations"], [5, 1, 1, "", "print_init_state"], [5, 1, 1, "", "print_summary"], [5, 1, 1, "", "statevector"], [5, 2, 1, "", "statevector_size"]], "tencirchem.static.hea": [[1, 3, 1, "", "binary"], [1, 3, 1, "", "get_ry_circuit"], [1, 3, 1, "", "parity"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "function", "Python function"]}, "titleterms": {"advanc": 0, "topic": 0, "engin": [0, 11], "backend": [0, 6], "boson": [0, 16], "encod": [0, 18, 19], "headwar": 1, "effici": 1, "ansatz": [1, 15, 16, 18, 19], "noisi": [1, 9, 15], "circuit": [1, 9, 15, 17], "simul": [1, 9, 14, 15, 16], "k": 2, "upccgsd": 2, "pair": 3, "uccd": 3, "puccd": 3, "ucc": [4, 6, 9, 15, 17], "uccsd": [5, 13], "frequent": 6, "ask": 6, "question": 6, "what": 6, "ar": 6, "convent": 6, "excit": 6, "oper": [6, 10], "integr": [6, 17], "orbit": 6, "indic": 6, "why": 6, "number": 6, "paramet": [6, 17], "differ": 6, "i": 6, "param_id": 6, "tencirchem": [6, 7], "so": 6, "fast": 6, "how": 6, "doe": 6, "evalu": 6, "gradient": 6, "us": [6, 16, 17], "gpu": 6, "jax": 6, "slow": 6, "first": 6, "run": [6, 14, 16], "guid": 7, "api": 8, "refer": 8, "quick": 9, "start": [9, 17], "instal": 9, "calcul": [9, 12, 13], "speed": 9, "dynam": [9, 16], "further": 9, "read": 9, "adapt": 10, "vqe": [10, 15, 18], "overview": [10, 11, 12, 13, 14, 15, 16, 17], "form": 10, "pool": 10, "iter": [10, 18], "benchmark": 11, "setup": [11, 12, 13, 15, 17, 18], "result": 11, "discuss": 11, "potenti": 12, "energi": [12, 15], "surfac": 12, "water": 12, "molecul": 12, "plot": [12, 13, 14, 16], "hubbard": 13, "model": [13, 16], "observ": 14, "marcu": 14, "invert": 14, "region": 14, "defin": [14, 15], "hamiltonian": [14, 15, 18, 19], "initi": [14, 18, 19], "state": [14, 18, 19], "analyz": 14, "hea": 15, "class": [15, 16], "built": 15, "qiskit": 15, "effect": 15, "gate": 15, "nois": 15, "measur": 15, "shot": 15, "uncertainti": 15, "spin": 16, "determin": 16, "basi": [16, 18, 19], "construct": 16, "timeevolut": 16, "function": [17, 18, 19], "hello": 17, "world": 17, "The": 17, "attribut": 17, "activ": 17, "space": 17, "approxim": 17, "from": 17, "feed": 17, "custom": 17, "reduc": 17, "densiti": 17, "matrix": 17, "variat": [18, 19], "ground": 18, "1": [18, 19], "backgroud": 18, "2": [18, 19], "algorithm": [18, 19], "realiz": [18, 19], "import": [18, 19], "3": [18, 19], "get": [18, 19], "vha": 18, "term": [18, 19], "4": [18, 19], "cost": 18, "part": 18, "5": [18, 19], "6": 18, "updat": 18, "b": 18, "l": 18, "7": 18, "main": [18, 19], "structur": [18, 19], "time": 19, "depend": 19, "background": 19, "evolut": 19, "tutori": 20}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "nbsphinx": 4, "sphinx": 58}, "alltitles": {"Advanced Topics": [[0, "advanced-topics"]], "Engines": [[0, "engines"]], "Backends": [[0, "backends"]], "Boson Encoding": [[0, "boson-encoding"]], "Headware-Efficient Ansatz and Noisy Circuit Simulation": [[1, "headware-efficient-ansatz-and-noisy-circuit-simulation"]], "k-UpCCGSD": [[2, "k-upccgsd"]], "Paired UCCD (pUCCD)": [[3, "paired-uccd-puccd"]], "UCC": [[4, "ucc"]], "UCCSD": [[5, "uccsd"]], "Frequently Asked Questions": [[6, "frequently-asked-questions"]], "What are the conventions for excitation operators/integrals/orbital indices\u2026": [[6, "what-are-the-conventions-for-excitation-operators-integrals-orbital-indices"]], "Why are the number of excitation operators and the number of parameters different?/What is param_ids?": [[6, "why-are-the-number-of-excitation-operators-and-the-number-of-parameters-different-what-is-param-ids"]], "Why is TenCirChem so fast?": [[6, "why-is-tencirchem-so-fast"]], "How does TenCirChem evaluate UCC gradient?": [[6, "how-does-tencirchem-evaluate-ucc-gradient"]], "How to use GPU in TenCirChem?": [[6, "how-to-use-gpu-in-tencirchem"]], "Why is JAX backend so slow on first run?": [[6, "why-is-jax-backend-so-slow-on-first-run"]], "Guide to TenCirChem": [[7, "guide-to-tencirchem"]], "API Reference": [[8, "api-reference"]], "Quick Start": [[9, "quick-start"]], "Installation": [[9, "installation"]], "UCC Calculation": [[9, "ucc-calculation"]], "UCC Speed": [[9, "ucc-speed"]], "Noisy Circuit Simulation": [[9, "noisy-circuit-simulation"], [15, "Noisy-Circuit-Simulation"]], "Dynamics Calculation": [[9, "dynamics-calculation"]], "Further Readings": [[9, "further-readings"]], "ADAPT VQE": [[10, "ADAPT-VQE"]], "Overview": [[10, "Overview"], [11, "Overview"], [12, "Overview"], [13, "Overview"], [14, "Overview"], [15, "Overview"], [16, "Overview"], [17, "Overview"]], "Form Operator Pool": [[10, "Form-Operator-Pool"]], "ADAPT-VQE Iteration": [[10, "ADAPT-VQE-Iteration"]], "Benchmark engines": [[11, "Benchmark-engines"]], "Setup": [[11, "Setup"], [12, "Setup"], [13, "Setup"], [15, "Setup"], [17, "Setup"]], "Benchmark": [[11, "Benchmark"]], "Results and Discussion": [[11, "Results-and-Discussion"]], "Potential Energy Surface of the Water Molecule": [[12, "Potential-Energy-Surface-of-the-Water-Molecule"]], "Calculate": [[12, "Calculate"], [13, "Calculate"]], "Plot": [[12, "Plot"], [13, "Plot"], [16, "Plot"]], "Hubbard Model by UCCSD": [[13, "Hubbard-Model-by-UCCSD"]], "Observing Marcus Inverted Region": [[14, "Observing-Marcus-Inverted-Region"]], "Define the Hamiltonian and initial state": [[14, "Define-the-Hamiltonian-and-initial-state"]], "Run simulation": [[14, "Run-simulation"], [16, "Run-simulation"]], "Analyze and plot": [[14, "Analyze-and-plot"]], "Define the Hamiltonian": [[15, "Define-the-Hamiltonian"]], "Define the ansatz": [[15, "Define-the-ansatz"]], "Noisy simulation with the HEA class": [[15, "Noisy-simulation-with-the-HEA-class"]], "Built-in ansatz, UCC ansatz and Qiskit ansatz": [[15, "Built-in-ansatz,-UCC-ansatz-and-Qiskit-ansatz"]], "Effect of gate noise on VQE energy": [[15, "Effect-of-gate-noise-on-VQE-energy"]], "Effect of measurement shots on VQE energy uncertainty": [[15, "Effect-of-measurement-shots-on-VQE-energy-uncertainty"]], "Dynamics of the Spin-Boson Model": [[16, "Dynamics-of-the-Spin-Boson-Model"]], "Determine the model and basis": [[16, "Determine-the-model-and-basis"]], "Construct ansatz": [[16, "Construct-ansatz"]], "Use TimeEvolution class": [[16, "Use-TimeEvolution-class"]], "UCC Functions": [[17, "UCC-Functions"]], "Hello world": [[17, "Hello-world"]], "The Circuit": [[17, "The-Circuit"]], "Useful Attributes": [[17, "Useful-Attributes"]], "Active Space Approximation": [[17, "Active-Space-Approximation"]], "Starting from the Integrals": [[17, "Starting-from-the-Integrals"]], "Feeding in Custom Parameters": [[17, "Feeding-in-Custom-Parameters"]], "Reduced Density Matrix": [[17, "Reduced-Density-Matrix"]], "Variational Basis State Encoder (Ground State)": [[18, "Variational-Basis-State-Encoder-(Ground-State)"]], "1 Backgroud": [[18, "1-Backgroud"]], "2 Algorithm Realization": [[18, "2-Algorithm-Realization"], [19, "2-Algorithm-Realization"]], "2.1 Imports": [[18, "2.1-Imports"], [19, "2.1-Imports"]], "2.2 Initial setups": [[18, "2.2-Initial-setups"]], "2.3 Get Variational Hamiltonian Ansatz (VHA) Terms": [[18, "2.3-Get-Variational-Hamiltonian-Ansatz-(VHA)-Terms"]], "2.4 Cost Functions for VQE Part": [[18, "2.4-Cost-Functions-for-VQE-Part"]], "2.5 Get Hamiltonian Terms and Basis": [[18, "2.5-Get-Hamiltonian-Terms-and-Basis"]], "2.6 Update B[l] in Iteration": [[18, "2.6-Update-B[l]-in-Iteration"]], "2.7 Main Structure of the Function": [[18, "2.7-Main-Structure-of-the-Function"]], "Variational Basis State Encoder (Time Dependent)": [[19, "Variational-Basis-State-Encoder-(Time-Dependent)"]], "1 Background": [[19, "1-Background"]], "2.2 Initialize": [[19, "2.2-Initialize"]], "2.3 Get variational Hamiltonian ansatz terms": [[19, "2.3-Get-variational-Hamiltonian-ansatz-terms"]], "2.4 Time Evolution": [[19, "2.4-Time-Evolution"]], "2.5 Main Structure of the Function": [[19, "2.5-Main-Structure-of-the-Function"]], "Tutorials": [[20, "tutorials"]]}, "indexentries": {"hea (class in tencirchem)": [[1, "tencirchem.HEA"]], "__init__() (tencirchem.hea method)": [[1, "tencirchem.HEA.__init__"]], "as_pyscf_solver() (tencirchem.hea class method)": [[1, "tencirchem.HEA.as_pyscf_solver"]], "binary() (in module tencirchem.static.hea)": [[1, "tencirchem.static.hea.binary"]], "densitymatrix() (tencirchem.hea method)": [[1, "tencirchem.HEA.densitymatrix"]], "energy() (tencirchem.hea method)": [[1, "tencirchem.HEA.energy"]], "energy_and_grad() (tencirchem.hea method)": [[1, "tencirchem.HEA.energy_and_grad"]], "from_integral() (tencirchem.hea class method)": [[1, "tencirchem.HEA.from_integral"]], "from_molecule() (tencirchem.hea class method)": [[1, "tencirchem.HEA.from_molecule"]], "get_dmcircuit() (tencirchem.hea method)": [[1, "tencirchem.HEA.get_dmcircuit"]], "get_dmcircuit_no_noise() (tencirchem.hea method)": [[1, "tencirchem.HEA.get_dmcircuit_no_noise"]], "get_opt_function() (tencirchem.hea method)": [[1, "tencirchem.HEA.get_opt_function"]], "get_ry_circuit() (in module tencirchem.static.hea)": [[1, "tencirchem.static.hea.get_ry_circuit"]], "grad (tencirchem.hea property)": [[1, "tencirchem.HEA.grad"]], "kernel() (tencirchem.hea method)": [[1, "tencirchem.HEA.kernel"]], "make_rdm1() (tencirchem.hea method)": [[1, "tencirchem.HEA.make_rdm1"]], "make_rdm2() (tencirchem.hea method)": [[1, "tencirchem.HEA.make_rdm2"]], "n_params (tencirchem.hea property)": [[1, "tencirchem.HEA.n_params"]], "params (tencirchem.hea property)": [[1, "tencirchem.HEA.params"]], "parity() (in module tencirchem.static.hea)": [[1, "tencirchem.static.hea.parity"]], "print_circuit() (tencirchem.hea method)": [[1, "tencirchem.HEA.print_circuit"]], "print_summary() (tencirchem.hea method)": [[1, "tencirchem.HEA.print_summary"]], "ry() (tencirchem.hea class method)": [[1, "tencirchem.HEA.ry"]], "statevector() (tencirchem.hea method)": [[1, "tencirchem.HEA.statevector"]], "kupccgsd (class in tencirchem)": [[2, "tencirchem.KUPCCGSD"]], "__init__() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.__init__"]], "apply_excitation() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.apply_excitation"]], "as_pyscf_solver() (tencirchem.kupccgsd class method)": [[2, "tencirchem.KUPCCGSD.as_pyscf_solver"]], "civector() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.civector"]], "civector_size (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.civector_size"]], "e_kupccgsd (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.e_kupccgsd"]], "e_ucc (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.e_ucc"]], "embed_rdm_cas() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.embed_rdm_cas"]], "energy() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.energy"]], "energy_and_grad() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.energy_and_grad"]], "from_integral() (tencirchem.kupccgsd class method)": [[2, "tencirchem.KUPCCGSD.from_integral"]], "get_addr() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_addr"]], "get_ci_strings() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ci_strings"]], "get_circuit() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_circuit"]], "get_energy_dataframe() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ex1_ops"]], "get_ex2_ops() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ex2_ops"]], "get_ex_ops() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_init_state_dataframe"]], "get_opt_function() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.get_opt_function"]], "h_fermion_op (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.h_fermion_op"]], "h_qubit_op (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.h_qubit_op"]], "init_state (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.init_state"]], "kernel() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.kernel"]], "make_rdm1() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.make_rdm1"]], "make_rdm2() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.make_rdm2"]], "n_params (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.n_params"]], "no (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.no"]], "nv (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.nv"]], "param_ids (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.param_ids"]], "param_to_ex_ops (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.param_to_ex_ops"]], "params (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.params"]], "print_ansatz() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_ansatz"]], "print_circuit() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_circuit"]], "print_energy() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_energy"]], "print_excitations() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_excitations"]], "print_init_state() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_init_state"]], "print_summary() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.print_summary"]], "statevector() (tencirchem.kupccgsd method)": [[2, "tencirchem.KUPCCGSD.statevector"]], "statevector_size (tencirchem.kupccgsd property)": [[2, "tencirchem.KUPCCGSD.statevector_size"]], "puccd (class in tencirchem)": [[3, "tencirchem.PUCCD"]], "__init__() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.__init__"]], "apply_excitation() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.apply_excitation"]], "as_pyscf_solver() (tencirchem.puccd class method)": [[3, "tencirchem.PUCCD.as_pyscf_solver"]], "civector() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.civector"]], "civector_size (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.civector_size"]], "e_puccd (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.e_puccd"]], "e_ucc (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.e_ucc"]], "embed_rdm_cas() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.embed_rdm_cas"]], "energy() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.energy"]], "energy_and_grad() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.energy_and_grad"]], "from_integral() (tencirchem.puccd class method)": [[3, "tencirchem.PUCCD.from_integral"]], "get_addr() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_addr"]], "get_ci_strings() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ci_strings"]], "get_circuit() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_circuit"]], "get_energy_dataframe() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ex1_ops"]], "get_ex2_ops() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ex2_ops"]], "get_ex_ops() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_init_state_dataframe"]], "get_opt_function() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.get_opt_function"]], "h_fermion_op (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.h_fermion_op"]], "h_qubit_op (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.h_qubit_op"]], "init_state (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.init_state"]], "kernel() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.kernel"]], "make_rdm1() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.make_rdm1"]], "make_rdm2() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.make_rdm2"]], "n_params (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.n_params"]], "no (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.no"]], "nv (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.nv"]], "param_ids (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.param_ids"]], "param_to_ex_ops (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.param_to_ex_ops"]], "params (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.params"]], "print_ansatz() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_ansatz"]], "print_circuit() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_circuit"]], "print_energy() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_energy"]], "print_excitations() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_excitations"]], "print_init_state() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_init_state"]], "print_summary() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.print_summary"]], "statevector() (tencirchem.puccd method)": [[3, "tencirchem.PUCCD.statevector"]], "statevector_size (tencirchem.puccd property)": [[3, "tencirchem.PUCCD.statevector_size"]], "ucc (class in tencirchem)": [[4, "tencirchem.UCC"]], "__init__() (tencirchem.ucc method)": [[4, "tencirchem.UCC.__init__"]], "apply_excitation() (tencirchem.ucc method)": [[4, "tencirchem.UCC.apply_excitation"]], "as_pyscf_solver() (tencirchem.ucc class method)": [[4, "tencirchem.UCC.as_pyscf_solver"]], "civector() (tencirchem.ucc method)": [[4, "tencirchem.UCC.civector"]], "civector_size (tencirchem.ucc property)": [[4, "tencirchem.UCC.civector_size"]], "e_ucc (tencirchem.ucc property)": [[4, "tencirchem.UCC.e_ucc"]], "embed_rdm_cas() (tencirchem.ucc method)": [[4, "tencirchem.UCC.embed_rdm_cas"]], "energy() (tencirchem.ucc method)": [[4, "tencirchem.UCC.energy"]], "energy_and_grad() (tencirchem.ucc method)": [[4, "tencirchem.UCC.energy_and_grad"]], "from_integral() (tencirchem.ucc class method)": [[4, "tencirchem.UCC.from_integral"]], "get_addr() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_addr"]], "get_ci_strings() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ci_strings"]], "get_circuit() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_circuit"]], "get_energy_dataframe() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ex1_ops"]], "get_ex2_ops() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ex2_ops"]], "get_ex_ops() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_init_state_dataframe"]], "get_opt_function() (tencirchem.ucc method)": [[4, "tencirchem.UCC.get_opt_function"]], "h_fermion_op (tencirchem.ucc property)": [[4, "tencirchem.UCC.h_fermion_op"]], "h_qubit_op (tencirchem.ucc property)": [[4, "tencirchem.UCC.h_qubit_op"]], "init_state (tencirchem.ucc property)": [[4, "tencirchem.UCC.init_state"]], "kernel() (tencirchem.ucc method)": [[4, "tencirchem.UCC.kernel"]], "make_rdm1() (tencirchem.ucc method)": [[4, "tencirchem.UCC.make_rdm1"]], "make_rdm2() (tencirchem.ucc method)": [[4, "tencirchem.UCC.make_rdm2"]], "n_params (tencirchem.ucc property)": [[4, "tencirchem.UCC.n_params"]], "no (tencirchem.ucc property)": [[4, "tencirchem.UCC.no"]], "nv (tencirchem.ucc property)": [[4, "tencirchem.UCC.nv"]], "param_ids (tencirchem.ucc property)": [[4, "tencirchem.UCC.param_ids"]], "param_to_ex_ops (tencirchem.ucc property)": [[4, "tencirchem.UCC.param_to_ex_ops"]], "params (tencirchem.ucc property)": [[4, "tencirchem.UCC.params"]], "print_ansatz() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_ansatz"]], "print_circuit() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_circuit"]], "print_energy() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_energy"]], "print_excitations() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_excitations"]], "print_init_state() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_init_state"]], "print_summary() (tencirchem.ucc method)": [[4, "tencirchem.UCC.print_summary"]], "statevector() (tencirchem.ucc method)": [[4, "tencirchem.UCC.statevector"]], "statevector_size (tencirchem.ucc property)": [[4, "tencirchem.UCC.statevector_size"]], "uccsd (class in tencirchem)": [[5, "tencirchem.UCCSD"]], "__init__() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.__init__"]], "apply_excitation() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.apply_excitation"]], "as_pyscf_solver() (tencirchem.uccsd class method)": [[5, "tencirchem.UCCSD.as_pyscf_solver"]], "civector() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.civector"]], "civector_size (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.civector_size"]], "e_ucc (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.e_ucc"]], "e_uccsd (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.e_uccsd"]], "embed_rdm_cas() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.embed_rdm_cas"]], "energy() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.energy"]], "energy_and_grad() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.energy_and_grad"]], "from_integral() (tencirchem.uccsd class method)": [[5, "tencirchem.UCCSD.from_integral"]], "get_addr() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_addr"]], "get_ci_strings() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ci_strings"]], "get_circuit() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_circuit"]], "get_energy_dataframe() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_energy_dataframe"]], "get_ex1_ops() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ex1_ops"]], "get_ex2_ops() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ex2_ops"]], "get_ex_ops() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_ex_ops"]], "get_excitation_dataframe() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_excitation_dataframe"]], "get_init_state_dataframe() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_init_state_dataframe"]], "get_opt_function() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.get_opt_function"]], "h_fermion_op (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.h_fermion_op"]], "h_qubit_op (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.h_qubit_op"]], "init_state (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.init_state"]], "kernel() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.kernel"]], "make_rdm1() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.make_rdm1"]], "make_rdm2() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.make_rdm2"]], "n_params (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.n_params"]], "no (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.no"]], "nv (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.nv"]], "param_ids (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.param_ids"]], "param_to_ex_ops (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.param_to_ex_ops"]], "params (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.params"]], "pick_and_sort() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.pick_and_sort"]], "print_ansatz() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_ansatz"]], "print_circuit() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_circuit"]], "print_energy() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_energy"]], "print_excitations() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_excitations"]], "print_init_state() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_init_state"]], "print_summary() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.print_summary"]], "statevector() (tencirchem.uccsd method)": [[5, "tencirchem.UCCSD.statevector"]], "statevector_size (tencirchem.uccsd property)": [[5, "tencirchem.UCCSD.statevector_size"]]}}) \ No newline at end of file