Quantum Computing Simulation  
010000101110011010100111101101101110100110111111000010101000100110101001101110101101100010100111100000111111010010100001101000101011111111100010101100111111100000101011011110011010101101111111

Entanglement Example - Super Dense Coding

  • Alice and Bob start with two qubits in state |00> with random global phase.

  • After performing H1, then CX10, Bob takes qubit #0 and goes away.

    E is the qubit entanglement measure.

         q: (0.0849528,0.996385) (0,0) (0,0) (0,0)
         E: 0 0
        H1: (0.0600707,0.704551) (0,0) (0.0600707,0.704551) (0,0)
         E: 0 0
      CX10: (0.0600707,0.704551) (0,0) (0,0) (0.0600707,0.704551)
         E: 1 1
    
  • Later, to communicate the value 3, Alice performs X1, then Z1, then sends qubit #1 to Bob.
        X1: (0,0) (0.0600707,0.704551) (0.0600707,0.704551) (0,0)
         E: 1 1
        Z1: (0,0) (0.0600707,0.704551) (-0.0600707,-0.704551) (0,0)
         E: 1 1
    
  • Bob then performs CX10, then H1, then measures.
      CX10: (0,0) (0.0600707,0.704551) (0,0) (-0.0600707,-0.704551)
         E: 0 0
        H1: (0,0) (0,0) (0,0) (0.0849528,0.996385)
         E: 0 0
       P(3) = 1
    

SDC.cc