Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final changes for v1.9 #275

Closed
8 tasks done
Strilanc opened this issue Jul 7, 2022 · 0 comments · Fixed by #277
Closed
8 tasks done

Final changes for v1.9 #275

Strilanc opened this issue Jul 7, 2022 · 0 comments · Fixed by #277

Comments

@Strilanc
Copy link
Collaborator

Strilanc commented Jul 7, 2022

  • Upgrade the api reference generation to match the .pyi generation with respect to type signatures
  • Fix numpy.ndarray[float32] type annotations that are actually np.ndarray[complex64]
  • Fix stim.TableauSimulator.state_vector repeating If the result is in little endian order
  • Add stim.TableauSimulator.num_qubits property
  • Fix peek_block (should be bloch) typo in do_tableau docstring and figure out why doc tests didn't catch it
  • Try removing the machine architecture prefixes on types now that the arch detection is done in a separate extension
  • Fix <a name="compatibility> in dev docs
  • Add variant op names to stim.TableauSimulator such as cnot/cx/zcx and also methods for gates like c_xyz
@Strilanc Strilanc changed the title Documentation fixes Final changes for v1.9 Jul 7, 2022
Strilanc added a commit that referenced this issue Jul 10, 2022
- Fix doctests not being run by continuous integration
- Add a `doctest_proper.py` script for running doctests and actually including values added at import time
- Fix the doctest failures accumulated due to the fact that they weren't even being checked
- Rewrite `generate_api_reference.py` to have output more like the generated `stim.pyi` stubs file
- Add `stim.TableauSimulator.{h_xz,cx,zcx,zcy,zcz}` gate alias methods
- Add `stim.TableauSimulator.{c_xyz,c_zyx}` gate methods
- Add `stim.TableauSimulator.num_qubits`

Fixes #275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant