bqskit
bqskit copied to clipboard
Berkeley Quantum Synthesis Toolkit
Fixes #264 Associated with [bqskitrs #14](https://github.com/BQSKit/bqskitrs/pull/14)
`CeresMinimizer` from `bqskitrs` makes a call to `num_residuals` on `DifferentiableResidualsFunction` objects. The string `num_residuals` is not present anywhere in the Python `bqskit` repo, making it unclear that this is a...
I’d like the ability to perform a “lazy map”, meaning to have a `RuntimeFuture` to which I can submit more tasks. Here’s an example scenario where this would be useful:...
Adding a guide that explains how to use GPUs in BQSkit
This pull request adds support for constrained numerical optimization in numerical instantiation.
An error arises when running the following code: ``` # backend.num_qubits == 127 model = MachineModel(backend.num_qubits, gate_set=[ECRGate(), RZGate(), SXGate(), XGate(), IdentityGate()]) with Compiler() as compiler: partitionWorkFlow = [ SetModelPass(model), QuickPartitioner(block_size=3),...
As in the title, would it be better to have functions like dag_to_circuit() and circuit_to_dag() ? There is some painful inconsistency problem when trying to extract a sub-circuit and put...
1. Add get_inverse and get_inverse_params features for all single-qubit and two-qubit constant and parameterized gates 2. Add necessary gate definitions and corresponding OpenQASM definitions 3. Remedy a format-string line in...
Hi, I wanted to bring your kind notice into an update that could be done in the documentation for the `Compiler.status(task_id)`: https://bqskit.readthedocs.io/en/latest/source/autogen/bqskit.compiler.Compiler.status.html#bqskit.compiler.Compiler.status Where the return type values (**CompilationStatus**) would be...
``` from bqskit import MachineModel from bqskit.qis.state.state import StateVector from bqskit import compile n = 2 coupling_graph = [(i, i + 1) for i in range(n - 1)] model =...