You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/qobj/boolean_functions.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,6 @@ isunitary(U::QuantumObject{<:AbstractArray{T}}; kwargs...) where {T} =
93
93
@docraw"""
94
94
isconstant(A::AbstractQuantumObject)
95
95
96
-
Test whether the [`AbstractQuantumObject`](@ref) `A` is constant in time. For a [`QuantumObject`](@ref), this function returns `false`, while for a [`QuantumObjectEvolution`](@ref), this function returns `true` if the operator is contant in time.
96
+
Test whether the [`AbstractQuantumObject`](@ref) `A` is constant in time. For a [`QuantumObject`](@ref), this function returns `true`, while for a [`QuantumObjectEvolution`](@ref), this function returns `true` if the operator is contant in time.
Copy file name to clipboardExpand all lines: src/qobj/eigsolve.jl
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -362,26 +362,24 @@ Solve the eigenvalue problem for a Liouvillian superoperator `L` using the Arnol
362
362
- [1] Minganti, F., & Huybrechts, D. (2022). Arnoldi-Lindblad time evolution: Faster-than-the-clock algorithm for the spectrum of time-independent and Floquet open quantum systems. Quantum, 6, 649.
Parse the `op_func_list` and generate the data for the `QuantumObjectEvolution` object. The `op_func_list` is a tuple of tuples or operators. Each element of the tuple can be a tuple with two elements (operator, function) or an operator. The function is used to generate the time-dependent coefficients for the operators. The `α` parameter is used to pre-multiply the operators by a scalar. The `f` parameter is used to pre-applying a function to the operators before converting them to SciML operators. During the parsing, the dimensions of the operators are checked to be the same, and all the constant operators are summed together.
125
+
126
+
# Arguments
127
+
- `op_func_list::Tuple`: A tuple of tuples or operators.
128
+
- `α`: A scalar to pre-multiply the operators.
129
+
- `f::Function=identity`: A function to pre-apply to the operators.
Note that this functions is same as `QuantumObjectEvolution(op_func_list)`. If `α` is provided, all the operators in `op_func_list` will be pre-multiplied by `α`.
25
+
Note that this functions is same as `QuantumObjectEvolution(op_func_list)`. If `α` is provided, all the operators in `op_func_list` will be pre-multiplied by `α`. The `f` parameter is used to pre-apply a function to the operators before converting them to SciML operators.
26
+
27
+
# Arguments
28
+
- `op_func_list::Union{Tuple,AbstractQuantumObject}`: A tuple of tuples or operators.
29
+
- `α::Union{Nothing,Number}=nothing`: A scalar to pre-multiply the operators.
30
+
- `f::Function=identity`: A function to pre-apply to the operators.
31
+
32
+
!!! warning "Beware of type-stability!"
33
+
Please note that, unlike QuTiP, this function doesn't support `op_func_list` as `Vector` type. This is related to the type-stability issue. See the Section [The Importance of Type-Stability](@ref doc:Type-Stability) for more details.
34
+
35
+
# Examples
36
+
This operator can be initialized in the same way as the QuTiP `QobjEvo` object. For example
0 commit comments