Skip to content

iniestarchen/bell-state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Bell State

Category: fundamentals  |  Difficulty: beginner  |  Qubits: 2  |  Gates: 2  |  Depth: 2

The Bell state is the simplest example of quantum entanglement. A Hadamard gate places qubit 0 in superposition, and a CNOT gate creates correlation between the two qubits. Measuring one qubit instantly determines the outcome of measuring the other, regardless of distance.

Expected Output

50% |00⟩, 50% |11⟩

Circuit

The OpenQASM 2.0 circuit is in circuit.qasm.

OPENQASM 2.0;
include "qelib1.inc";
qreg q[2];
creg c[2];
h q[0];
cx q[0],q[1];
measure q[0] -> c[0];
measure q[1] -> c[1];

Tags

entanglement fundamentals bell-state two-qubit

References

License

MIT — part of the OpenQC Algorithm Catalog.

About

Preparation of the maximally entangled two-qubit Bell state |Φ⁺⟩ = (|00⟩ + |11⟩)/√2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors