You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
906 B

  1. {
  2. "cells": [
  3. {
  4. "cell_type": "code",
  5. "execution_count": 1,
  6. "id": "118a68d3-da8d-4789-b659-897b7d39d08e",
  7. "metadata": {
  8. "tags": []
  9. },
  10. "outputs": [],
  11. "source": [
  12. "import numpy as np"
  13. ]
  14. },
  15. {
  16. "cell_type": "code",
  17. "execution_count": 3,
  18. "id": "d7895578-13cb-44f5-965f-ac8696cbe7e9",
  19. "metadata": {
  20. "tags": []
  21. },
  22. "outputs": [],
  23. "source": [
  24. "σ1 = np.array([[0,1],\n",
  25. " [1,0]])"
  26. ]
  27. }
  28. ],
  29. "metadata": {
  30. "kernelspec": {
  31. "display_name": "Python 3 (ipykernel)",
  32. "language": "python",
  33. "name": "python3"
  34. },
  35. "language_info": {
  36. "codemirror_mode": {
  37. "name": "ipython",
  38. "version": 3
  39. },
  40. "file_extension": ".py",
  41. "mimetype": "text/x-python",
  42. "name": "python",
  43. "nbconvert_exporter": "python",
  44. "pygments_lexer": "ipython3",
  45. "version": "3.11.2"
  46. }
  47. },
  48. "nbformat": 4,
  49. "nbformat_minor": 5
  50. }