Library

QuantumUtils

Modules = [QuantumCollocation.QuantumUtils]

QuantumSystems

QuantumCollocation.QuantumSystems.QuantumSystemMethod
QuantumSystem(
    H_drift::Matrix{<:Number},
    H_drives::Vector{Matrix{<:Number}};
    params=Dict{Symbol, Any}(),
    kwargs...
)::QuantumSystem

Constructs a QuantumSystem object from the drift and drive Hamiltonian terms.

source
QuantumCollocation.QuantumSystems.liftMethod
lift(U::AbstractMatrix{<:Number}, qubit_index::Int, n_qubits::Int; levels::Int=size(U, 1))

Lift an operator U acting on a single qubit to an operator acting on the entire system of n_qubits.

source
QuantumCollocation.QuantumSystems.liftMethod
lift(op::AbstractMatrix{<:Number}, i::Int, subsystem_levels::Vector{Int})

Lift an operator op acting on the i-th subsystem to an operator acting on the entire system with given subsystem levels.

source

Integrators