tket
tket copied to clipboard
Source code for the TKET quantum compiler, Python bindings and utilities
Currently this method returns an exact probability distribution if a statevector is available, even if (simulated) counts are available too. Sometimes in this case (perhaps usually) the user actually wants...
It would be nice to support ``` from pytket import Circuit circ = Circuit() m_qreg = circ.add_q_register("m", 2) m_creg = circ.add_c_register("c", 2) circ.measure_register(m_qreg, m_creg) ```
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4. Commits bd81538 2024.07.04 (#295) 06a2cbf Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (#294) 13bba02 Bump actions/checkout from 4.1.6 to 4.1.7 (#293) e8abcd0 Bump pypa/gh-action-pypi-publish from...
# Description Cherry pick the docs updates in #1483 and #1461 so that we can update the docs on the website
# Description Solves https://github.com/CQCL/tket/issues/1458 Update `FlattenRelabelRegistersPass` and `remove_blank_wires` to only remove unused classical bits at the end of a register # Related issues Please mention any github issues addressed by...
… the patch file to fit # Description To keep the nix build in sync, symengine needed updating. Fortunately the flake tracks nixpkgs' master branch, which has had symengine 0.12...
Also remove deprecated `ConstPredicate`. Not removing `RebaseUFR` as it's used internally, or `DecomposeBridges` as it seems potentially useful even if we don't use it anywhere except in tests. Closes #1472...
At the moment, dependant projects need to find and link Eigen3 in order to link `tket::tket`, because: - public-facing headers depend on eigen headers. - eigen is linked privately in...
Currently we define the pass `_scratch_reg_resize_pass` in multiple extensions. It would be better to move it to tket and only maintain it in one place.