yaleqc/qtcodes

[non-clifford] Implement magic state initialization and T Gate

Opened this issue · 0 comments

To realized fault-tolerant universal quantum computation using topological QEC, we must implement a non-Clifford gate. Here, we aim to implement the T gate and initialization for the magic state needed for the T gate.

  • Add a reset_magic_T abstract method to circuits/rotated_surface.py , similar to reset_x. Then, implement this for the XZZX and XXZZ surface codes.
  • Add a T abstract method to circuits/rotated_surface.py, similar to the x method. Then, implement this for the XZZX and XXZZ surface codes.

Note. We want these implementations to be fault-tolerant, meaning that this state initialization and gate are not vulnerable to single qubit errors on any qubit involved. However, this doesn't seem possible as of now. In practice, this is why people propose magic state distillation.