tket
tket copied to clipboard
Source code for the TKET quantum compiler, Python bindings and utilities
This pull request adds a new Box type `ToffoliBox` for storing classical permutations of basis states. The decomposition used is based on page 191, section 4.5.2 "Single qubit and CNOT...
I think they should throw an error in this case.
When `Eigen::SelfAdjointEigenSolver` (called during KAK decomposition) finds repeated eigenvalues in a matrix, the eigenvectors and their order are not uniquely determined. Rounding errors lead to different results being returned on...
We currently have an issue with the size of circuits that can be displayed using the display module in pytket. The size was reduces by the upgrade done in https://github.com/CQCL/tket/pull/387
When exporting jupyter notebooks as markdown, Jupyter (or pandoc presumably) preserves blank lines in the html it exports which isn't valid in a markdown file. I could try and write...
When applying a RoutingPass to an RB circuit with more than 5 qubits with pytket, a Segmentation Fault is raised from tket::Circuit::CommandIterator::operator++(). This is consistently occuring with both Windows and...
This PR adds functionality to catch `tket` exceptions in a more meaningful way in `pytket`. Currently, exceptions in `tket` are `std::exception` that `pybind11` translates into `RuntimeError`. There is a larger...