Closed qartik closed 1 year ago
As discussed in #57 and later.
I would like to use this PR for stabilizing the design of the API. For example, here are a couple options:
reg2var
init_reg
PS: Please ignore changes from #58, see https://github.com/CQCL/pytket-qir/pull/59/commits/b3a04dd30c79ce024cd3c22b2f2682395c3bb52d for the changes introduced in this PR.
Also see another option #61
Closing in favor of #61
As discussed in #57 and later.
I would like to use this PR for stabilizing the design of the API. For example, here are a couple options:
reg2var
completely and keepinit_reg
as isreg2var
for only creating registers with initial values andinit_reg
for empty cregsinit_reg
for an initial value and removereg2var
.PS: Please ignore changes from #58, see https://github.com/CQCL/pytket-qir/pull/59/commits/b3a04dd30c79ce024cd3c22b2f2682395c3bb52d for the changes introduced in this PR.