Skip to content

Classiq 0.45.0

Compare
Choose a tag to compare
@amir-naveh amir-naveh released this 22 Aug 07:18
· 85 commits to main since this release
ef10e2e

Upgrade Instructions

Enhancements

  1. Add size attribute to quantum variables:

=== "SDK"

[comment]: DO_NOT_TEST

``` python
@qfunc
def main(my_struct: Output[MyStruct]) -> None:
    allocate(my_struct.size, my_struct)
```

=== "Native"

```
qfunc main(output my_struct: MyStruct) {
  allocate(my_struct.size, my_struct);
}
```