-
In the code bellow, the the first circuit is executed, but the second one isn't. The only difference is the requires_grad.
```python
import pennylane as qml
from matchcake import NonInteractingFe…
-
According to documentation of the function "embed_unitary_into_orthogonal_matrix" the following should be true :optimal_givens_decomposition(qubits, unitary) = optimal_gaussian_circuit(qubits, orthogo…
-
import os
import pickle
import tarfile
from tqdm import tqdm
import matplotlib
import numpy as np
import pyqpanda as pq
import pyvqnet.nn as nn
from keras.utils import to_categorical
import t…
-
**Describe the feature you'd like**
Currently a gate cannot be called with an empty list of target qubits. It might be nice for this to be allowed, but to generate no instructions in the resulting pr…
-
**Is your feature request related to a problem? Please describe.**
The current way of specifying the quantum circuit in the main `frontend` is to first click on all the ancillas, then click on all th…
-
### Environment
- **Qiskit Terra version**: 0.24.1
- **Python version**: 3.11.3
### What is happening?
The call `gate.control(num_ctrl_qubits)` is raising an unexpected error when `gate` i…
-
### URL, if applicable
Probably https://docs.quantum.ibm.com/build/circuit-construction
### Describe the new content you are requesting.
This is user feedback from Qiskit Slack. A user asked this S…
-
**Describe the bug**
* for "ibmq_qasm_simulator" and "simulator_statevector", `backend.num_qubits` returns 32 but submitting a circuit with more than 31 qubits results in a "Circuits do not match t…
-
#131 でcontrol qubitを自由に増やせるようにするためには、ゲートのメンバでcontrol qubitのインデクスの情報を持つ必要がある。
Viewや配列で持ってもよいが、
- インスタンス化の際にソートと重複要素削除が必要
- メモリを多く消費する
- ホスト/デバイス間のデータのやり取りが必要
というデメリットがある。
ここで、インデクスに対応するビットを1と…
-
It's fairly simple to compute von Neumann entropy of a stabilizer state given its tableau and a partitioning of the qubit register, see e.g. [here](https://quantumcomputing.stackexchange.com/a/37983/1…