bqskit
bqskit copied to clipboard
Berkeley Quantum Synthesis Toolkit
Since every model gives different results (including the Pre-built models). It would be interesting to have comparison utility for users which model to finally use. Proposal: Add comparison utility for...
When running the `compile` function, the following error can occur very rarely without any other issue: ``` Traceback (most recent call last): File ".../lib/python3.11/site-packages/bqskit/runtime/base.py", line 447, in __del__ def __del__(self)...
Idea for a new feature: Suppose we want our circuit to be translation invariant, e.g. for state preparation on a chain with periodic boundary conditions. For example, we want a...
Currently, permutation aware synthesis runs all permutations in parallel, producing output like in the attached picture for 3 qubits. It would be really helpful if each line in the log...
For long running optimizations, it's frequently the case that just one or two blocks need way more time than any others (likely due to bad initializations?). It would be useful...
It'd be great to have some sort of optional visualization of progress made for passes.
Example to reproduce the issue: ``` circuit = Circuit(2) circuit.append_gate(VariableUnitaryGate(1), [0]) circuit.append_gate(VariableUnitaryGate(1), [1]) circuit.append_gate(VariableUnitaryGate(2), [0, 1]) state = StateVector(np.array([1, 0, 0, 0])) circuit.instantiate(state) ``` Errors: > Traceback (most recent call...
Imagine a circuit (e.g. SWAP) that is symmetric between 2 (or more) qudits. Then if the candidate circuit Rz_1, CNOT 1->2 has already been checked, there is no need to...
Feature request: an option when compiling to maintain the global phase of the operator
When running `bqskit.compile()` with the `with_mapping=True` parameter, if the compiler does not do any qubit re-mapping or re-routing, then the returned values of `initial_mapping` and `final_mapping` appear to be `[0]`,...