pytket-docs
pytket-docs copied to clipboard
User manual and example notebooks for the pytket quantum SDK
I've added a brief manual section on Alec's `CustomPass` feature. I've put this under advanced topics, let me know if this is the appropriate place. The pass I've defined performs...
With the release of pyquil 3.2.0 we should no longer need the qcs-api-client installation workaround introduced [here](https://github.com/CQCL/pytket/pull/161). It is always possible that similar issues may arise in the future. This...
I have added a short section on the ``ToffoliBox`` feature to the manual. I'm happy to expand/shorten this as required. I have also moved the section entitled "Statevectors and unitaries"...
When demonstrating `IBMQBackend` in the [running on backends](https://tket.quantinuum.com/user-manual/manual_backend.html) section of the manual, we have code snippets for `ibmq_quito` and `ibmq_manilla` which are now retired. See also the examples https://tket.quantinuum.com/examples/spam_example.html https://tket.quantinuum.com/examples/backends_example.html...
# Description Please summarise the changes. # Related issues Please mention any github issues addressed by this PR. # Checklist - [ ] I have performed a self-review of my...
from numpy.typings import NDArray import numpy as np .get_state() should return NDArray[np.complex128] .get_unitary should return NDArray[np.complex128, np.complex128]