Skip to content

Commit f2bbd83

Browse files
authored
minor changes
1 parent 3d0c7e3 commit f2bbd83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qobj/quantum_object_base.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ A constant representing the type of [`OperatorKetQuantumObject`](@ref): a ket st
118118
"""
119119
const OperatorKet = OperatorKetQuantumObject()
120120

121-
function Base.show(io::IO, Qobj_tuple::NTuple{N,ObjType}) where {N,ObjType<:AbstractQuantumObject}
121+
# this prints (Qobj/QobjEvo)-tuple better
122+
function Base.show(io::IO, Qobj_tuple::NTuple{N,AbstractQuantumObject}) where {N}
122123
print(io, "(")
123124
join(io, Qobj_tuple, ",\n")
124125
return print(io, ")")

0 commit comments

Comments
 (0)