This means that the connection from the second to the first wire is omitted. n_wires = 2 dev = qml . device ( 'default.qubit' , wires = n_wires ) @qml . qnode ( dev ) def circuit ( weights ): BasicEntanglerLayers ( weights = weights , wires = range ( n_wires )) return [ qml . expval ( qml .
A Connections object creates a connection to a QML signal. When connecting to signals in QML, the usual way is to create an "on<Signal>" handler that reacts when a signal is received, like this