Padding is used to control the spatial size of the output feature maps.
Negative values at the edges can naturally arise because of padding, and they usually are not a big problem because activation functions and later layers come afterward.
it is an iterative approach for error correction in a machene learning model
Find w and b that will minimize GD(w,b) (requires Loss/Cost function)
Initialize w and b
Perform Forward pass operation/calculations
Compute Loss/Cost function L(a,y)
Compute change in w and b (Take the partial derivative of the cost function with respect to Weights and bias dw and db)
Update w and b (w:=w−αdw and b:=b−αdb)
Repeat from Step 2 with new values of w and b for 'n' number of iterations.
α is the learning rate (hyperparameter) that controls how much we are adjusting the weights and bias of our model with respect to the loss gradient. It is a small positive value (e.g., 0.01, 0.001) that determines the step size at each iteration while moving toward a minimum of the loss function.
Basis encoding maps each classical bit to a qubit, with 0 mapped to ∣0⟩ and 1 mapped to ∣1⟩.
To encode 1011, we need X gates on qubits 0, 2, and 3 (assuming qubit 0 is the most significant bit).
Applying an H gate (Hadamard gate) to each qubit puts the system in a uniform superposition over all basis states.
Amplitude encoding of an arbitrary vector of size 2n generally requires O(2n) gates.
In angle encoding, each classical value xi becomes the rotation angle of an RY gate on the i-th qubit.
Using the binary conversion formula, the decimal number 5 maps to ∣101⟩ for 3 qubits.
In short, in quantum addition, the sum is an XOR operation, and the carry is an AND operation.
A quantum half-adder must keep the original inputs to remain reversible and maintain its unitary nature.
The Toffoli gate is defined as: ∣a⟩∣b⟩∣c⟩↦∣a⟩∣b⟩∣c⊕a⋅b⟩.
A full-adder should produce a carry-out as follows: cout=a⋅b⊕a⋅cin⊕b⋅cin.
The following operation is reversible: ∣a⟩∣b⟩∣c⟩↦∣a⟩∣a⊕b⟩∣c⊕a⋅b⟩.
For addition "in superposition," measuring the output register yields exactly one of the partial sums, chosen probabilistically.
The MAJ circuit computes the majority function as: a⋅b⊕a⋅c⊕b⋅c.
The QASM snippet for a half-adder uses ccx q[0], q[1], q[2] to compute the carry (a⋅b) and a cx q[0], q[1] (or cx q[1], q[0]) gate to compute the sum (a⊕b).
Quantum multiplication can be implemented via conditional addition, one per multiplier bit.
In superdense coding, by sending only one qubit and using pre-shared entanglement, Alice can transmit two classical bits of information.
The operation Xn∣a⟩=∣a⊕(nmod2)⟩ correctly defines the effect of applying the X gate n times.
The tensor product of two identity operators is the identity operator on the composite space. In symbols, where the subscript is the dimension: I2⊗I2=I4.
The state ∣ϕ⟩=21(∣0⟩+∣1⟩) is an eigenstate of the Pauli-X gate with eigenvalue +1.
In the teleportation protocol, the classical communication channel is used to transmit two classical bits from Alice to Bob.
Three qubits are required for quantum teleportation.
After the teleportation protocol completes, Bob has a qubit in the state ∣ψ⟩.
Of QASM, Qiskit, Cirq, and PennyLane, PennyLane is the only quantum language that spells out the full name of the Hadamard gate for its built-in gates.
connected systems of people working together toward shared objectives, often through internal teams and external partners such as suppliers, universities, accelerators, customers, and startups.
operator basis: a set of matrices that can be used to express any matrix as a linear combination of the basis matrices
(acbd)=a∣0⟩⟨0∣+b∣0⟩⟨1∣+c∣1⟩⟨0∣+d∣1⟩⟨1∣
One of the basis elements is: ∣0⟩⟨0∣⊗∣0⟩⟨0∣=∣00⟩⟨00∣
Similarly ∣0⟩⟨0∣⊗∣0⟩⟨1∣=∣00⟩⟨01∣
In total, the tensor products yields 4×4=16 basis elements for the space of 4×4 matrices: {∣00⟩⟨00∣,∣00⟩⟨01∣,∣00⟩⟨10∣,∣00⟩⟨11∣,∣01⟩⟨00∣,∣01⟩⟨01∣,…,∣11⟩⟨11∣}.
When gates act independently, it doesn't matter the order in which they are apply with the understanding that if only a single gate is applied, identity acts on the other qubits.
(U1⊗U2)=(I⊗U2)(U1⊗I)=(U1⊗I)(I⊗U2)
Example: Apply X to qubit 1 and H to qubit 2, starting with ∣00⟩:
a process by which new innovations and technological advancements ("creative")
desmantle long-standing economic structures, practices, and organizations ("destruction")
while creating new markets and opportunities
Disruptive Innovation
a process where a smaller company successfully challenges estabilished businesses bgy offering simpler, more affordable, or more accessible products or services.
low-cast, low-performance, alternative, improve over time and displace established playwers
Innovator's Dilemma
successful, well-managed companies often fail when disuptive technologies emerge
even when they do everything "right" according to traditional management principles.
Sustaining Innovation
Disruptive Innovation
Improves existing products
Creates new markets or value
Higher margins
Initially lower margins
High-end customers
Low-end market segments
Sustaining Innovation: Tesla improving battery range
Innovation can create benefits (growth, efficiency, solutions) but also risks (inequality, pollution, privacy loss).
Responsible Innovation is about developing new techonologies, products, or services in a way that is ethically acceptatble, socially desirable, and environmentally sustainable, while actively considering their potential impacts on society.
Anticipation: Exploring possible risks, unintended consequences, and long-term effects.
Reflexivity: Innovators reflecting on their own values, assumptions, and biases.
Inclusion: Engaging stakeholders (citizens, users, regulators, communities), not just engineers or investors shaping outcomes.
Responsiveness: Ability to change direction if concerns arise.
Product questions
Process questions
Purpose questions
How will the risks and benefits be distributed?
How should standards be drawn up and applied?
Why are researchers doing it?
What other impacts can we anticipate?
How should risks and benefits be defined and measured?
Are these motivations transparent and in the public interest?