Bell state

A connected preparation layout creates a two-qubit Bell state. The open output Ports expose the prepared logical qubits to a caller or to later components.

Block graph

BLOG source

BLOG 1.0

module main {
  out a: data = 1
  out b: data = 3

  0: XZZ [0, 0, 0]
  1: Port [0, 1, 1]
  2: XZZ [0, 1, 0]
  3: Port [0, 0, 1]
  0 -> +Y
  0 -> +Z
  2 -> +Z

}

See BLOG Format for the syntax or return to all examples.