Skip to content

Commit d1c5a67

Browse files
committed
Apply suggestions
1 parent 13c9a38 commit d1c5a67

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/algorithms/time_evolution/apply_gate.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ function _qr_bond(A::PT, B::PT; gate_ax::Int = 1) where {PT <: Union{PEPSTensor,
4141
end
4242
X, a = left_orth(permute(A, permA); positive = true)
4343
Y, b = left_orth(permute(B, permB); positive = true)
44-
# no longer needed after TensorKit 0.15
45-
# @assert !isdual(space(a, 1))
46-
# @assert !isdual(space(b, 1))
4744
X, Y = permute(X, permX), permute(Y, permY)
4845
b = permute(b, ((3, 2), (1,)))
4946
return X, a, b, Y

src/algorithms/time_evolution/trotter_gate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
get_expham(H::LocalOperator, dt::Number)
33
44
Compute `exp(-dt * op)` for each term `op` in `H`,
5-
and combine them into a new LocalOperator.
5+
and combine them into a new `LocalOperator`.
66
Each `op` in `H` must be a single `TensorMap`.
77
"""
88
function get_expham(H::LocalOperator, dt::Number)

0 commit comments

Comments
 (0)