QuantumPoolingLayer (2 and 3) now correctly sets the unmeasured_bits property. Before this commit, unmeasured_bits were not appropriately updated for the FullyConnectedLayer. A property setter was added in the BaseLayer class to correct this bug.
A conditional argument was added to the QuantumPoolingLayer (2 and 3) classes. This argument helps determine if a dynamic circuit or mid-circuit measurement must be performed in the layer.
QuantumPoolingLayer
(2 and 3) now correctly sets theunmeasured_bits
property. Before this commit,unmeasured_bits
were not appropriately updated for theFullyConnectedLayer
. A property setter was added in theBaseLayer
class to correct this bug.A
conditional
argument was added to theQuantumPoolingLayer
(2 and 3) classes. This argument helps determine if a dynamic circuit or mid-circuit measurement must be performed in the layer.