Skip to content

Add ScaledChebyshevPolynomial bloq#1231

Merged
charlesyuan314 merged 7 commits intoquantumlib:mainfrom
charlesyuan314:chebyshev
Jul 31, 2024
Merged

Add ScaledChebyshevPolynomial bloq#1231
charlesyuan314 merged 7 commits intoquantumlib:mainfrom
charlesyuan314:chebyshev

Conversation

@charlesyuan314
Copy link
Contributor

This bloq is a wrapper around ChebyshevPolynomial that computes Chebyshev polynomials of block encodings $\mathcal{B}[A/\alpha]$ whose normalization factor $\alpha \neq 1$. Following the reference, it constructs a linear combination of Chebyshev polynomials to recover a block encoding of $\mathcal{B}[T_j(A)]$ which is not a scaled version of $\mathcal{B}[T_j(A/\alpha)]$ in general.

Copy link
Contributor

@anurudhp anurudhp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm % docstring nits

@charlesyuan314 charlesyuan314 enabled auto-merge (squash) July 31, 2024 20:34
@charlesyuan314 charlesyuan314 merged commit f2a182f into quantumlib:main Jul 31, 2024
@charlesyuan314 charlesyuan314 deleted the chebyshev branch July 31, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants