CircuitCentricBlock#
- diffqc.nn.CircuitCentricBlock(op, c: Array, wires: Tuple[int], weights: Array) Array #
Apply Circuit Centric Block as Parameterized Quantum Circuit (PQC)
- Parameters
op –
dense
orsparse
c (jnp.ndarray) – qubits
wires (tuple of ints) – wires. Usually,
(0, ..., qubits-1)
weights (jnp.ndarray) – parameters for rotation angle with shape of
(layers, 3 * qubits)
- Returns
applied circuit
- Return type
jnp.ndarray
Notes
Code Block with range = 1 described at [CCB1]. According to [CCB2], for middle scale circuit (4, 6, and 8 qubits) three layers have enough expressivity. (Circuit 19)
References
- CCB1
M. Schuld /et al/., “Circuit-centric quantum classifiers”, Phys. Rev. A 101, 032308 (2020) (arXiv:1804.00633)
- CCB2
S. Sim /et al/., “Expressibility and entangling capability of parameterized quantum circuits for hybrid quantum-classical algorithms”, Adv. Quantum Technol. 2 (2019) 1900070 (arXiv:1905.10876)