Skip to content

Commit

Permalink
Hardcode the list of symbolic ops as @example does not support `subty…
Browse files Browse the repository at this point in the history
…pes`
  • Loading branch information
Krastanov committed Dec 23, 2021
1 parent 0d239b3 commit d818797
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/src/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,15 +526,17 @@ where `<N>` specifies the number of threads.

Much faster implementations for a number of common Clifford operators are available. They are stored as special
named structs, instead of as a full tableau. These are the subtypes of `AbstractSingleQubitOperator` and
`AbstractTwoQubitOperator`.
`AbstractTwoQubitOperator`. Currently these are:

```@example
import QuantumClifford # hide
subtypes(QuantumClifford.AbstractSingleQubitOperator)
```
```@example
import QuantumClifford # hide
subtypes(QuantumClifford.AbstractTwoQubitOperator)]
```julia
sHadamard
sId1
sPhase
sX
sY
sZ
sCNOT
sSWAP
```

Generally, they have the prefix `s` for symbolic/small/sparse.
Expand Down

2 comments on commit d818797

@Krastanov
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release notes:

  • apply! is now multi-threaded thanks to Polyester.
  • Named Clifford operators with much-faster special-cased apply! are implemented.
  • An assortment of new constructors are available to ease the conversion between data structures.
  • Drop support for Julia 1.5.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/51157

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.12 -m "<description of version>" d818797b2e9aa8a68698bec67c997944f5655fa5
git push origin v0.2.12

Please sign in to comment.