qtcodes icon indicating copy to clipboard operation
qtcodes copied to clipboard

[tcirc] Overload TopologicalRegister constructor to handle multiple logical qubits of same type

Open jeffreyjgong opened this issue 2 years ago • 0 comments

Instead of having to specify TopologicalRegister(ctypes=[REPETITION, REPETITION], params=[{"d" : 3}, {"d" : 3}]), one could instead be able to use TopologicalRegister(2, ctype=REPETITION, params={"d": 3}).

  • [ ] Add overloaded TopologicalRegister constructor in circ.py

jeffreyjgong avatar Dec 14 '21 02:12 jeffreyjgong