NLAlib.QueryAlgorithm.hiddenRotationSimulation
Library ยท def
The hidden-rotation simulation: from an algorithm with q queries to hiddenRotationOracle U D, an algorithm with 2q rounds against twoSidedMulVec U with the same output. Round 2l is the left query (\mathbf{0}, \mathbf{x}_l), which returns \mathbf{v}_l = \mathbf{U}^{\mathsf{H}}\mathbf{x}_l in the second component; round 2l + 1 is the right query (\mathbf{D}\mathbf{v}_l, \mathbf{0}), which returns \mathbf{U}\mathbf{D}\mathbf{v}_l = \mathbf{A}\mathbf{x}_l in the first. What the transcript reveals about \mathbf{U} is its action on the vectors \mathbf{v}_l, \mathbf{D}\mathbf{v}_l. With \mathbf{D} = \mathbf{I} the rounds are those of QueryAlgorithm.gramSimulation.
NLAlib.QueryAlgorithm.hiddenRotationSimulation.{u_1, u_2, u_3} {๐ : Type u_1} {n : Type u_2}
{ฮฒ : Type u_3} {q : โ} [Fintype n] [NonUnitalNonAssocSemiring ๐] (D : Matrix n n ๐)
(alg : QueryAlgorithm (n โ ๐) ((n โ ๐) ร (n โ ๐)) q ฮฒ) :
QueryAlgorithm ((n โ ๐) ร (n โ ๐)) ((n โ ๐) ร (n โ ๐)) (2 * q) ฮฒImport NLAlib.LowerBounds.QueryModel.HiddenRotation.