We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from pytket import Circuit from pytket.wasm import WasmFileHandler wasfile = WasmFileHandler("add1.wasm") c = Circuit(1) a = c.add_c_register("a", 8) c.add_wasm_to_reg("add_one", wasfile, [a], [a]) d = Circuit() d.append(c) d
shows empty list: []
Adding ops to d can even lead to crash
wasfile = WasmFileHandler("add1.wasm") c = Circuit(1) a = c.add_c_register("a", 8) c.add_wasm_to_reg("add_one", wasfile, [a], [a]) d = Circuit() for bit in c.bits: d.add_bit(bit) d.add_c_setbits([False], [bit]) d.append(c) d
The text was updated successfully, but these errors were encountered:
cqc-melf
No branches or pull requests
shows empty list: []
Adding ops to d can even lead to crash
The text was updated successfully, but these errors were encountered: