grid entanglement with multiple paths #462
Annotations
2 errors and 2 warnings
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L44
failed to run `@example` block in src/tutorial/message_queues.md:137-211
```@example messagechannel
sim = Simulation()
communication_delay = 1.0
channel_1to2 = DelayQueue{Bool}(sim, communication_delay)
channel_2to1 = DelayQueue{Bool}(sim, communication_delay)
channel_ready = DelayQueue{Bool}(sim, communication_delay)
global_log = []
@Resumable function do_random_measurement_transmit_receive_compare(sim, channel_out, channel_in)
@yield timeout(sim, 2+rand()) # wait for the measurement to take place
local_measurement = rand() < 0.4 # simulate a random measurement result
put!(channel_out, local_measurement)
other_measurement = @yield take!(channel_in)
succeeded = local_measurement == other_measurement == true
return succeeded
end
@Resumable function reset_system(sim)
s = now(sim)
reset_duration = 2.0
@yield timeout(sim, reset_duration)
put!(channel_ready, true)
push!(global_log, (:reset_system, s, now(sim)))
end
@Resumable function process_node1(sim)
while true
s = now(sim)
succeeded = @yield @process do_random_measurement_transmit_receive_compare(sim, channel_1to2, channel_2to1)
if succeeded
throw(StopSimulation("Success!"))
end
push!(global_log, (:node_1_meas_tx_rx, s, now(sim)))
s2 = now(sim)
@yield @process reset_system(sim)
push!(global_log, (:node_1_wait_for_reset, s2, now(sim)))
end
end
@Resumable function process_node2(sim)
while true
s = now(sim)
succeeded = @yield @process do_random_measurement_transmit_receive_compare(sim, channel_2to1, channel_1to2)
if succeeded
throw(StopSimulation("Success!"))
end
push!(global_log, (:node_2_meas_tx_rx, s, now(sim)))
s2 = now(sim)
@yield take!(channel_ready)
push!(global_log, (:node_2_wait_for_reset, s2, now(sim)))
end
end
@process process_node1(sim)
@process process_node2(sim)
ConcurrentSim.run(sim)
fig = Figure()
ax = Axis(fig[1,1],xlabel="time")
hideydecorations!(ax)
for (i, symbol) in enumerate([:node_1_meas_tx_rx,:node_2_meas_tx_rx,:reset_system,:node_1_wait_for_reset,:node_2_wait_for_reset])
x_coords = [(x₀, x₁)
for (s, x₀, x₁) in global_log
if s==symbol]
coords = [(Point(x₀,y+i/5),Point(x₁,y+i/5)) for (y,(x₀, x₁)) in enumerate(x_coords)]
linesegments!(coords,color=Cycled(i),label=string(symbol),linewidth=10)
flat_coords = collect(Iterators.flatten(coords))
scatter!(flat_coords,color=Cycled(i))
end
axislegend(ax)
fig
```
exception =
`Makie.convert_arguments` for the plot type MakieCore.LineSegments and its conversion trait MakieCore.PointBased() was unsuccessful.
The signature that could not be converted was:
::Vector{Any}
Makie needs to convert all plot input arguments to types that can be consumed by the backends (typically Arrays with Float32 elements).
You can define a method for `Makie.convert_arguments` (a type recipe) for these types or their supertypes to make this set of arguments convertible (See http://docs.makie.org/stable/documentation/recipes/index.html).
Alternatively, you can define `Makie.convert_single_argument` for single arguments which have types that are unknown to Makie but which can be converted to known types and fed back to the conversion pipeline.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] convert_arguments(T::Type{MakieCore.LineSegments}, args::Vector{Any}; kw::@kwargs{})
@ Makie ~/.julia/packages/Makie/VRavR/src/conversions.jl:17
[3] convert_arguments(T::Type{MakieCore.LineSegments}, args::Vector{Any})
@ Makie ~/.julia/packages/Makie/VRavR/src/conversions.jl:7
[4] (MakieCore.LineSegments)(args::Tuple{Vector{Any}}, plot_attributes::Dict{Symbol, Any})
@ Makie ~/.julia/packages/Makie/VRavR/src/interfaces.jl:139
[5] _create_plot!(F::Function, attributes::Dict{Symbol, Any}, args::Vector{Any})
@ Makie ~/.julia/packages/Makie/VRavR/src/figureplotting.jl:282
|
Run julia-actions/julia-docdeploy@v1
Process completed with exit code 1.
|
Run julia-actions/julia-docdeploy@v1:
../../../.julia/packages/Documenter/2OZOh/src/utilities/utilities.jl#L46
7 docstrings not included in the manual:
QuantumSavory.tag_types
QuantumSavory.CircuitZoo.StringentBody
QuantumSavory.CircuitZoo.StringentHeadNode
QuantumSavory.CircuitZoo.StringentHead
QuantumSavory.CircuitZoo.inputqubits
QuantumSavory.CircuitZoo.StringentBodyNode
QuantumSavory.Wildcard
These are docstrings in the checked modules (configured with the modules keyword)
that are not included in canonical @docs or @autodocs blocks.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading