Snowflurry/en: Difference between revisions

no edit summary
(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.")
Tags: Mobile edit Mobile web edit
No edit summary
Line 20: Line 20:


== Use case: Bell states ==
== Use case: Bell states ==
Bell states are maximally entangled two-qubit states. They are simple examples of two quantum phenomena: superposition and entanglement. The [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] library allows to construct the first Bell state as follows:
Bell states are maximally entangled two-qubit states. They are simple examples of two quantum phenomena: superposition and entanglement. The [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] library allows you to construct the first Bell state as follows:
<noinclude>
<noinclude>
{{Command|julia
{{Command|julia
rsnt_translations
56,437

edits