Skip to content

Add theory documentation for bits and qubits notebook#1

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/create-markdown-file-theory
Draft

Add theory documentation for bits and qubits notebook#1
Copilot wants to merge 2 commits intomainfrom
copilot/create-markdown-file-theory

Conversation

Copy link

Copilot AI commented Feb 14, 2026

Created 02_teoria_bits_y_cubits.md to document the theoretical foundations from the "02. Bits y Cúbits.ipynb" notebook.

Content Structure

  • Classical bits and gates: Vector representation, tensor products, reversible computation (Landauer's Principle, CNOT/Toffoli gates)
  • Qubits: State vectors with complex amplitudes, Bloch sphere parametrization (θ, φ), computational/X/Y bases, global vs relative phase
  • Quantum gates: Pauli matrices (X, Y, Z), Hadamard, rotation operators (Rₓ, Rᵧ, R_z), Walsh-Hadamard transform
  • Measurement: Postulate, observables as Hermitian operators, Pauli decomposition, expected values

Includes mathematical formulations and Qiskit implementation examples:

# State creation and visualization
estado = Statevector([a0, a1])
plot_bloch_multivector(estado)

# Observable definition
M = SparsePauliOp.from_list([
    ("XIX", 0.5),
    ("IYZ", -3),
    ("XXX", 2)
])

Document maintains Spanish language consistency with the source notebook and uses standard quantum mechanics notation (bra-ket, ⊗ for tensor products).


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mateofra <111438182+mateofra@users.noreply.github.com>
Copilot AI changed the title [WIP] Add markdown file explaining theory in bits and qubits Add theory documentation for bits and qubits notebook Feb 14, 2026
Copilot AI requested a review from mateofra February 14, 2026 16:59
Copy link
Owner

@mateofra mateofra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Primera vez que uso un agente, supongo que funciona. 😑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants