Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

New function should be used to match the latest version of QDK #563

Closed
weucode opened this issue Apr 13, 2022 · 1 comment
Closed

New function should be used to match the latest version of QDK #563

weucode opened this issue Apr 13, 2022 · 1 comment
Assignees
Labels
Area-Documentation Issue relates to API documentation comments, READMEs, or other documentation in this repo. good first issue Good for newcomers Kind-Bug Something isn't working Pkg-Standard Issue relates to the Microsoft.Quantum.Standard package. tracking This label will trigger gh-sync to create or update a mirror internal ADO issue.

Comments

@weucode
Copy link
Contributor

weucode commented Apr 13, 2022

When edit the following code in VSCode,this problem appeared:No identifier with the name "Last" exists.It is supposed that the Last function is replaced by Tail function in new version of QDK.

ApplyCNOTChainWithTarget(Most(qs), Last(qs));

My QDK version is v0.24.201332


文档详细信息

请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

@msoeken msoeken self-assigned this Apr 13, 2022
@msoeken msoeken added Kind-Bug Something isn't working good first issue Good for newcomers Area-Documentation Issue relates to API documentation comments, READMEs, or other documentation in this repo. Pkg-Standard Issue relates to the Microsoft.Quantum.Standard package. tracking This label will trigger gh-sync to create or update a mirror internal ADO issue. labels Apr 13, 2022
@msoeken
Copy link
Member

msoeken commented Apr 13, 2022

Thanks for catching this @weucode

msoeken added a commit that referenced this issue Apr 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Documentation Issue relates to API documentation comments, READMEs, or other documentation in this repo. good first issue Good for newcomers Kind-Bug Something isn't working Pkg-Standard Issue relates to the Microsoft.Quantum.Standard package. tracking This label will trigger gh-sync to create or update a mirror internal ADO issue.
Projects
None yet
Development

No branches or pull requests

2 participants