CZ with a temporal Hadamard

This alternative CZ layout places the Hadamard on a temporal connection. Compare its pipe orientation with the spatial-Hadamard version to see two layouts for the same gate.

Block graph

BLOG source

BLOG 1.0

module main {
  in a_in: data = 0
  out a_out: data = 6
  in b_in: data = 9
  out b_out: data = 8

  0: Port [0, 0, 0] <In_0>
  1: XZX [0, 0, 1]
  2: XZX [1, 0, 1]
  3: XZZ [0, 0, 2]
  4: XZZ [1, 0, 2]
  5: XZZ [1, 1, 2]
  6: Port [0, 0, 3] <Out_0>
  7: ZXZ [1, 1, 1]
  8: Port [1, 1, 3] <Out_1>
  9: Port [1, 1, 0] <In_1>
  0 -> +Z
  1 -> +X
  1 -> +Z
  2 -> +Z
  3 -> +Z
  4 -> +Y
  5 -H> -Z
  5 -H> +Z
  7 -> -Z

}

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