Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge trajs
  • Loading branch information
andgoldschmidt committed Nov 14, 2024
commit f0933ef97715604c7ed39f01330dcb0c94c72ad2
2 changes: 1 addition & 1 deletion src/problem_templates/quantum_state_sampling_problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function QuantumStateSamplingProblem(
)
end

traj = NamedTrajectories.merge(
traj = merge(
trajs,
merge_names=(; a=1, da=1, dda=1, Δt=1),
free_time=piccolo_options.free_time
Expand Down
2 changes: 1 addition & 1 deletion src/problem_templates/unitary_direct_sum_problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function UnitaryDirectSumProblem(
# Build the direct sum system

# merge suffix trajectories
traj = direct_sum([add_suffix(p.trajectory, ℓ) for (p, ℓ) ∈ zip(probs, prob_labels)])
traj = merge([add_suffix(p.trajectory, ℓ) for (p, ℓ) ∈ zip(probs, prob_labels)])

# add noise to control data (avoid restoration)
if drive_reset_ratio > 0
Expand Down
2 changes: 1 addition & 1 deletion src/problem_templates/unitary_sampling_problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function UnitarySamplingProblem(
)
end

traj = NamedTrajectories.merge(
traj = merge(
trajs,
merge_names=(; a=1, da=1, dda=1, Δt=1),
free_time=piccolo_options.free_time
Expand Down
Loading