Skip to content

Commit deb2605

Browse files
Add comment on the use of MatrixOperator
1 parent eb3ef12 commit deb2605

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/core-test/quantum_objects_evo.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
@test adjoint(a2).data == adjoint(a2.data)
8282

8383
N = 10
84+
# We use MatrixOperator instead of directly using a Qobj to increase coverage
8485
a = QobjEvo(MatrixOperator(sprand(ComplexF64, N, N, 5 / N)), Operator, N)
8586
a_d = a'
8687
X = a + a_d

0 commit comments

Comments
 (0)