This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
[PhaseEstimation] Enable task 1.3 in Jupyter notebook #784
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
tracking
This label keeps public GitHub issues consistent with internal ADO tracking.
Currently task 1.3 (Validate inputs to QPE) is covered by two types of tests - Q# test
TestAssertIsEigenstate_True
that checks that the solution doesn't throw exceptions on inputs that are a valid unitary-eigenstate pair, and C# tests that check that the solution does throw exception on inputs that are not a valid unitary-eigenstate pair. The first part of the test can be invoked via%kata
magic, as usual, but the C# part cannot (see #166).We can enable this task in the Jupyter Notebook frontend for this kata as follows:
%kata TestAssertIsEigenstate_True
magic and the operation skeleton, like we do for the regular tasks.AssertIsEigenstate
with several commented out unitary-eigenstate pairs that should each throw exception.This is not the best user experience we can offer, but fixing #166 is not trivial, and a temporary solution is better than none.
The text was updated successfully, but these errors were encountered: