Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
search:
boost: 2.610
---

<!-- spell-checker: disable -->
<!-- prettier-ignore-start -->
::: classiq.open_library.functions.bit_operations
options:
show_if_no_docstrings: false
members:
- cyclic_shift_left
- cyclic_shift_right
- bitwise_negate
<!-- prettier-ignore-end -->
<!-- spell-checker: enable -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
search:
boost: 2.610
---

<!-- spell-checker: disable -->
<!-- prettier-ignore-start -->
::: classiq.open_library.functions.modular_arithmetics
options:
show_if_no_docstrings: false
members:
- modular_add_inplace
- modular_negate_inplace
- modular_subtract_inplace
- modular_double_inplace
- modular_add_constant_inplace
- modular_multiply
- modular_square
- modular_multiply_constant
- modular_multiply_constant_inplace
- modular_to_montgomery_inplace
- modular_montgomery_to_standard_inplace
- modular_inverse_inplace
- kaliski_iteration
- modular_rsub_inplace
<!-- prettier-ignore-end -->
<!-- spell-checker: enable -->

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ operation, which is flagged as an error.
allocate(q2)
H(
q2
) # Error - The computation sequence of the local variable 'q2' includes a non-permutation operation
) # Error - The local variable 'q2' cannot be automatically uncomputed because it is mutated by a non-permutation operation.
CX(q2, q1)
```

Expand All @@ -387,7 +387,7 @@ operation, which is flagged as an error.
q2: qbit;
allocate(q1);
allocate(q2);
H(q2); // Error - The computation sequence of the local variable 'q2' includes a non-permutation operation
H(q2); // Error - The local variable 'q2' cannot be automatically uncomputed because it is mutated by a non-permutation operation.
CX(q2, q1);
}
```
Expand Down Expand Up @@ -417,7 +417,7 @@ of `x_transform` are declared _non-const_.
allocate(aux)
x_transform(
p, aux
) # Error - The computation sequence of the local variable 'aux' includes an operation which mutates the parameter 'p'
) # Error - The local variable 'aux' cannot be automatically uncomputed because it is mutated by an operation which also mutates the parameter 'p'.
```

=== "Native"
Expand All @@ -432,7 +432,7 @@ of `x_transform` are declared _non-const_.
aux: qbit;
allocate(p);
allocate(aux);
x_transform(p, aux); // Error - The computation sequence of the local variable 'aux' includes an operation which mutates the parameter 'p'
x_transform(p, aux); // Error - The local variable 'aux' cannot be automatically uncomputed because it is mutated by an operation which also mutates the parameter 'p'.
}
```

Expand All @@ -455,7 +455,7 @@ the variable `p`.
allocate(aux)
CX(
p, aux
) # Error - The computation sequence of the local variable 'aux' includes a circular dependency with the variable 'p'
) # Error - The local variable 'aux' cannot be automatically uncomputed because it forms a circular dependency with the variable 'p'.
CX(aux, p)
```

Expand All @@ -466,7 +466,7 @@ the variable `p`.
aux: qbit;
allocate(p);
allocate(aux);
CX(p, aux); // Error - The computation sequence of the local variable 'aux' includes a circular dependency with the variable 'p'
CX(p, aux); // Error - The local variable 'aux' cannot be automatically uncomputed because it forms a circular dependency with the variable 'p'.
CX(aux, p);
}
```
Expand Down
Loading