Skip to content

Commit

Permalink
Merge pull request #19 from aarontrowbridge/rollout-feature
Browse files Browse the repository at this point in the history
Rollout feature
  • Loading branch information
a7b authored May 21, 2023
2 parents 5947ed2 + 466d01d commit 79cce44
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rollouts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ function rollout(
return Ψ̃
end

function rollout(
ψ̃₁s::AbstractVector{AbstractVector}, args...; kwargs...
)
return vcat([rollout(ψ̃₁, args...; kwargs...) for ψ̃₁ ψ̃₁s]...)
end


function unitary_rollout(
Ũ⃗₁::AbstractVector{<:Real},
controls::AbstractMatrix{Float64},
Expand Down

0 comments on commit 79cce44

Please sign in to comment.