David Wierichs

Results 49 issues of David Wierichs

This PR adds a test to the `devices/tests` suite that makes sure that 1. Broadcasted QNode executions can be handled 2. If the device claims to support broadcasting, `broadcast_expand` is...

Here we introduce broadcasting to the embedding templates - `AmplitudeEmbedding` - `AngleEmbedding` - `IQPEmbedding` - `QAOAEmbedding` For `BasisEmbedding`, detection of broadcasting based on hyperparameters instead of parameters would be required,...

The Rotosolve demo should cite all four of the independently inventing papers: [Vidal and Theis, 2018](https://arxiv.org/abs/1812.06323) [Nakanashi, Fujii and Todo, 2019](https://arxiv.org/abs/1903.12166) (or [PRResearch](https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.2.043158)) [Parrish, Iosue, Ozaeta and McMahon, 2019](https://arxiv.org/abs/1904.03206) [Ostaszewski,...

enhancement

This is a demo on the updated `RotosolveOptimizer`, complementary to `tutorial_rotoselect` (which also contains Rotsolve for Pauli rotations) and `tutorial_general_parshift` (which details the function reconstruction for more general gates).

WIP

Recently, the arxiv introduced automatic DOI links to all it's preprints. The quantum bibstyle could be adapted to use these links automatically. This is mostly a formality, in order to...

enhancement

### Expected behavior The property `QuantumTape.diagonalizing_gates` always either returns the correct diagonalizing gates or raises an error (warning) if they are unknown. ### Actual behavior When measuring, say, the expectation...

bug :bug:

Here we add the `Operator` attributes `has_decomposition` and `has_adjoint` in analogy to `has_matrix`. They allow faster decisions of whether a decomposition/adjoint is available than calling `decomposition/adjoint` and catching exceptions. Similar...

### Before submitting Please complete the following checklist when submitting a PR: - [x] All new features must include a unit test. If you've fixed a bug or added code...

### Before submitting Please complete the following checklist when submitting a PR: - [x] All new features must include a unit test. If you've fixed a bug or added code...

review-ready :ok_hand:

### Feature details As of #2810, embedding templates support parameter broadcasting, including `AmplitudeEmbedding` except for usage with Tensorflow, which is raising a dedicated error currently. To reach feature parity, one...

enhancement :sparkles: