Translations:Snowflurry/5/en: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "The <code>readout</code> operation lets you specify which qubits will be measured. The SnowflurryPlots library and the <code>plot_histogram</code> function allow you to visualize the results. <noinclude> {{Command|julia |result=julia> using SnowflurryPlots julia> push!(circuit, readout(1,1), readout(2,2)) julia> plot_histogram(circuit,1000) }} </noinclude> thumb|alt=Résultats de 1000 simulations de l'état de Bell.")
(No difference)

Revision as of 20:31, 30 September 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Snowflurry)
Pour prendre une mesure, l'opération <code>readout</code> permet de spécifier quels qubits seront mesurés. La fonction <code>plot_histogram</code> de la bibliothèque SnowflurryPlots permet de visualiser les résultats.
<noinclude>
{{Command|julia
|result=julia> using SnowflurryPlots
julia> push!(circuit, readout(1,1), readout(2,2))
julia> plot_histogram(circuit,1000)
}}
</noinclude>
[[File:Bell Graph.png|thumb|alt=Résultats de 1000 simulations de l'état de Bell.]]

The readout operation lets you specify which qubits will be measured. The SnowflurryPlots library and the plot_histogram function allow you to visualize the results.

Question.png
[name@server ~]$ julia
julia> using SnowflurryPlots
julia> push!(circuit, readout(1,1), readout(2,2))
julia> plot_histogram(circuit,1000)
Résultats de 1000 simulations de l'état de Bell.