RXYZCXLayer0#
- class torchquantum.layer.RXYZCXLayer0(arch: Optional[dict] = None)[source]#
Bases:
LayerTemplate0
Layer template with RXYZCX blocks.
This layer template consists of RXYZCX blocks using the RXYZCXLayer module.
- Parameters:
arch (dict, optional) – The architecture configuration for the layer. Defaults to None.
- layers_all#
The list of layers in the template.
- Type:
tq.QuantumModuleList
- __init__(arch: Optional[dict] = None)#
Initialize the QuantumModule.
- Returns:
None.
Examples
>>> qmodule = QuantumModule()
Methods
Attributes
- name = 'rxyzcx_0'#