Closed GTorlai closed 2 years ago
Merging #241 (e391342) into master (1655bdb) will decrease coverage by
0.84%
. The diff coverage is82.30%
.
@@ Coverage Diff @@
## master #241 +/- ##
==========================================
- Coverage 85.75% 84.90% -0.85%
==========================================
Files 22 23 +1
Lines 2408 2458 +50
==========================================
+ Hits 2065 2087 +22
- Misses 343 371 +28
Impacted Files | Coverage Δ | |
---|---|---|
src/PastaQ.jl | 100.00% <ø> (ø) |
|
src/circuits/runcircuit.jl | 83.65% <ø> (+0.96%) |
:arrow_up: |
src/circuits/trottersuzuki.jl | 70.00% <70.00%> (ø) |
|
src/circuits/gates.jl | 86.81% <76.92%> (-3.12%) |
:arrow_down: |
src/productstates.jl | 91.48% <86.66%> (ø) |
|
src/circuits/noise.jl | 92.94% <88.23%> (+1.80%) |
:arrow_up: |
src/utils.jl | 75.63% <88.88%> (+0.85%) |
:arrow_up: |
src/circuits/getsamples.jl | 87.05% <95.00%> (+23.00%) |
:arrow_up: |
src/array.jl | 97.29% <100.00%> (+0.23%) |
:arrow_up: |
src/circuits/circuits.jl | 100.00% <100.00%> (+1.12%) |
:arrow_up: |
... and 6 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 1655bdb...e391342. Read the comment docs.
This PR implements the following changes:
1) Simplify the interface and internal structure of
getsamples
. In the new interface, there are only three main modes:2) Introduce support for qudit gates. Everything applies as per usual:
3) Introduce automated (first and second order) Trotter-Suzuki decomposition of an input Hamiltonian. The gates are re-arranged as a staircase:
Other minor changes:
PastaQ.itensor
to transform dense states into ITensorsdepth
parameter into kwarg for randomcircuit