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
Expand Up @@ -15,6 +15,6 @@ search:
- multi_suzuki_trotter
- unscheduled_suzuki_trotter
- qdrift
- exponentiation_with_depth_constraint
- exponentiate
<!-- prettier-ignore-end -->
<!-- spell-checker: enable -->
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ diffuser is defined in a generic way and uses the qubit array view of the state.
b: QNum[3, UNSIGNED, 3]


@qfunc
def my_problem_constraint(p: Const[MyProblem], res: Permutable[QBit]) -> None:
@qperm
def my_problem_constraint(p: Const[MyProblem], res: QBit) -> None:
res ^= p.a + p.b == 0.625


Expand All @@ -476,7 +476,7 @@ diffuser is defined in a generic way and uses the qubit array view of the state.
b: qnum<3, UNSIGNED, 3>;
}

qfunc my_problem_constraint(const p: MyProblem, permutable res: qbit) {
qperm my_problem_constraint(const p: MyProblem, res: qbit) {
res ^= (p.a + p.b) == 0.625;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ superposition.

Note that `my_cond_phase_flip` declares parameter `target` as `const` because, taken as
a whole, the function only applies phase changes to it. But because the implementation
uses non-cost operations, `target` is specified as `unchecked`. For more on enforcement
uses non-cost operations, we disable const checks. For more on enforcement
of parameter restrictions see [Uncomputation](../uncomputation.md).

### Example 3
Expand Down
5 changes: 5 additions & 0 deletions .internal/docs/sdk-reference/applications/QSP.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ search:
::: classiq.applications.qsp.qsp.qsvt_phases
::: classiq.applications.qsp.qsp.qsp_approximate
::: classiq.applications.qsp.qsp.gqsp_phases
::: classiq.applications.qsp.qsp.poly_jacobi_anger_cos
::: classiq.applications.qsp.qsp.poly_jacobi_anger_sin
::: classiq.applications.qsp.qsp.poly_jacobi_anger_exp_sin
::: classiq.applications.qsp.qsp.poly_jacobi_anger_exp_cos
::: classiq.applications.qsp.qsp.poly_inversion
Loading