Closed jofrevalles closed 1 year ago
Merging #51 (910a247) into master (cee74dc) will increase coverage by
0.83%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #51 +/- ##
==========================================
+ Coverage 79.96% 80.80% +0.83%
==========================================
Files 11 12 +1
Lines 594 625 +31
==========================================
+ Hits 475 505 +30
- Misses 119 120 +1
Impacted Files | Coverage Δ | |
---|---|---|
src/Quantum/MatrixProductOperator.jl | 94.79% <100.00%> (+0.28%) |
:arrow_up: |
src/Quantum/MatrixProductState.jl | 71.95% <100.00%> (+0.34%) |
:arrow_up: |
... and 9 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
I think this is ready to merge.
This PR addresses the issue "Incorporate
labels
representation for physical indices of eachTensor
within aState
" (fix #49). The implementation enhances themeta
field of aTensor
within aState
orOperator
by including a dictionary that links the physical representation of each index (left, right, ...) with its respective label. This feature has been implemented for all the currently supported structs,MatrixProductState
andMatrixProductOperator
.Implemented changes:
MatrixProductState{Open}
,MatrixProductState{Closed}
,MatrixProductOperator{Open}
, andMatrixProductOperator{Closed}
to include the newalias
dictionary within themeta
field of aTensor
.alias
dictionaries in the tensors are correct.Here's an example showcasing the new
meta
field with the alias dictionary: