Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add a backend for IonQ. * Update projectq/setups/ionq.py Thanks for the correction! Co-authored-by: Nguyen Damien <ngn.damien@gmail.com> * Update docstring to match return type. * Fix copyright header years, imports, docstring. * Fix comment * Fix measurement mappings and result parsing. * Fix some bad logic with result probability mappings. * Fix some erroneous test cases. * Fix example code. * Ensure qubits are "deallocated" and reset after job submit. * Drop dependency on mappers in favor of API response mappings. * Add better error handling for API/http errors. * Fix tests. * Update example notebook. * Fix qubit mapping. * Use a dedicated qubit mapper instead of bashing self.main_engine. * Update backend, add tests, to reflect new mapper. * Use response.registers instead of echoing metadata. * Fix get_probability after register updates * Fixes after rebase, use metadata to remamp qubit IDs on response * Lint/CI/Format/Changelog fixes * Always make sure to give a result, even if it's not likely * Missed formatter issues Co-authored-by: Nguyen Damien <ngn.damien@gmail.com>
- Loading branch information