Download LIQUiD Users Manual
Transcript
H A M I L T O N I A N M O D E We can see the various term types that were loaded, the initial term count (in the parenthesis) and how many actual circuits were generated. The number of circuits will always be less than or equal to the number of terms, since multiple terms may be collapsed on top of each other (since they describe equivalent things). These circuits are then dumped to the log file (truncated at 100 unless you use the option to ask for all of them). Here is a sampling from the water log: 0:0000.0/ pp: -33.023097 H01,01 * A01,01 [00,00] 0:0000.0/ pp: -7.719358 H02,02 * A02,02 [01,01] 0:0000.0/ pp: -6.383992 H03,03 * A03,03 [02,02] 0:0000.0/ pp: -7.012261 H04,04 * A04,04 [03,03] 0:0000.0/pqqp: 0.957020 H01,02,01,02 * A01,02,02,01 [00,01,00,01] (-pqpq,2) 0:0000.0/pqqp: 0.791225 H01,03,03,01 * A01,03,03,01 [00,02,02,00] (-pqpq,2) 0:0000.0/ pq: -0.567081 H01,02 * A01,02 [00,01] 0:0000.0/pqqr: 0.021881 H01,03,03,02 * A01,03,03,02 [00,02,02,01] (-pqrq,2) 0:0000.0/pqqr: 0.032091 H01,04,02,04 * A01,04,04,02 [00,03,01,03] (-pqrq,2) 0:0000.0/pqrs: -0.059498 H01,03,07,02 * A01,02,03,07 [00,02,06,01] -0.009143 -0.021201 0.030344 0:0000.0/pqrs: 0.076696 H01,02,04,06 * A01,02,04,06 [00,01,03,05] 0.001723 0.020607 -0.022331 Example 88: H2O log, sample term dump Looking at the first line for pp, we see the following information: -33.023097:This is the strength of the term after LIQ𝑈𝑖|⟩ has collapsed any equivalent terms together H01,01: This is the natural ordering that the term was read in (spin-orbital numbers starting at 1 A01,01: This is the lexicographic ordering that the term became (spin-orbital numbers starting at 1. Notice the second pqqr term where they’re different. [00,00]: Original orbital numbers (zero based) from the .dat file (-pqpq,2): In addition, a line may be followed by information on other terms that were collapsed together. In this case (the first pqqp entry shown), there were two other terms with order pqpq that were subtracted off (since flipping the last pq causes a sign to flip). h1,h2,h3: In the case of pqrs, there are three extra value that represent the h1, h2 and h3 values described in the Whitfield, Biamonte and Aspuru-Guzik paper. These are used to build the actual circuits. The next thing that in the output are summary gate statistics for the circuit built: 0:0000.0/Counts: Rot=1.42e+003 Seq=1.54e+004 Par=1.54e+004 Nest=1.54e+004 RedundBest=1.54e+004 (qubits: 15) 0:0000.0/Combining 15362 gates... 0:0000.0/ Hpp, CTtheta: 14 0:0000.0/ Hpq, CNOT: 88 0:0000.0/ Hpq, CRz: 28 0:0000.0/ Hpq, CZ: 24 0:0000.0/ Hpq, H: 56 0:0000.0/ Hpq, Ybasis: 28 0:0000.0/ Hpq, Ybasis': 28 0:0000.0/ Hpqqp, CNOT: 182 0:0000.0/ Hpqqp, CRz: 105 0:0000.0/ Hpqqp, Ttheta: 1 0:0000.0/ Hpqqr, CNOT: 2576 0:0000.0/ Hpqqr, CRz: 672 0:0000.0/ Hpqqr, H: 672 0:0000.0/ Hpqqr, Ybasis: 336 86 Copyright © 2015 by Microsoft Corporation. All Rights Reserved.