qtcodes
qtcodes copied to clipboard
[tcirc] Overload TopologicalRegister constructor to handle multiple logical qubits of same type
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