Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang committed Oct 25, 2024
1 parent 9589073 commit 6755f44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core-test/quantum_objects_evo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
H_isconst = isconstant(H)
H_elements = 2
@test opstring ==
"Quantum Object Evo.: type=Operator dims=$H_dims size=$H_size ishermitian=$H_isherm isconstant=$H_isconst num_elements=$$H_elements\n$datastring"
"Quantum Object Evo.: type=Operator dims=$H_dims size=$H_size ishermitian=$H_isherm isconstant=$H_isconst num_elements=$H_elements\n$datastring"

L = QobjEvo(spre(a))
opstring = sprint((t, s) -> show(t, "text/plain", s), L)
Expand All @@ -118,7 +118,7 @@
L_isconst = isconstant(L)
H_elements = 1
@test opstring ==
"Quantum Object Evo.: type=SuperOperator dims=$L_dims size=$L_size ishermitian=$L_isherm isconstant=$L_isconst num_elements=$$L_elements\n$datastring"
"Quantum Object Evo.: type=SuperOperator dims=$L_dims size=$L_size ishermitian=$L_isherm isconstant=$L_isconst num_elements=$L_elements\n$datastring"
end

@testset "Type Inference (QuantumObject)" begin
Expand Down

0 comments on commit 6755f44

Please sign in to comment.