rsnt_translations
56,430
edits
No edit summary |
(Created page with "== Use case: Bell states == Bell states are maximally entangled two-qubit states. They are simple examples of two quantum phenomena: superposition and entanglement. The library [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] allows to construct the first Bell state as follows. <noinclude> {{Command|julia |result=julia> using Snowflurry julia> circuit=QuantumCircuit(qubit_count=2); julia> push!(circuit,hadamard(1)); julia> push!(circuit,control_x(1,2)); julia...") |
||
Line 5: | Line 5: | ||
== Installation == | == Installation == | ||
== Use case: Bell states == | |||
Bell states are maximally entangled two-qubit states. They are simple examples of two quantum phenomena: superposition and entanglement. The library [https://github.com/SnowflurrySDK/Snowflurry.jl/ Snowflurry] allows to construct the first Bell state as follows. | |||
<noinclude> | <noinclude> | ||
{{Command|julia | {{Command|julia | ||
Line 15: | Line 14: | ||
julia> push!(circuit,control_x(1,2)); | julia> push!(circuit,control_x(1,2)); | ||
julia> print(circuit) | julia> print(circuit) | ||
<div lang="fr" dir="ltr" class="mw-content-ltr"> | <div lang="fr" dir="ltr" class="mw-content-ltr"> |