Skip to content

0 45 0

Released on 2024-08-12.

Upgrade Instructions

Enhancements

  1. Add size attribute to quantum variables:
@qfunc
def main(my_struct: Output[MyStruct]) -> None:
    allocate(my_struct.size, my_struct)
qfunc main(output my_struct: MyStruct) {
  allocate(my_struct.size, my_struct);
}