{ "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "xLOXFOT5Q40E" }, "source": [ "##### Copyright 2020 The TensorFlow Authors." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "cellView": "form", "colab": {}, "colab_type": "code", "execution": { "iopub.execute_input": "2024-05-18T11:44:31.071683Z", "iopub.status.busy": "2024-05-18T11:44:31.071151Z", "iopub.status.idle": "2024-05-18T11:44:31.075182Z", "shell.execute_reply": "2024-05-18T11:44:31.074516Z" }, "id": "iiQkM5ZgQ8r2", "vscode": { "languageId": "python" } }, "outputs": [], "source": [ "#@title Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a copy of the License at\n", "#\n", "# https://www.apache.org/licenses/LICENSE-2.0\n", "#\n", "# Unless required by applicable law or agreed to in writing, software\n", "# distributed under the License is distributed on an \"AS IS\" BASIS,\n", "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n", "# See the License for the specific language governing permissions and\n", "# limitations under the License." ] }, { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "uLeF5Nmdef0V" }, "source": [ "# Quantum Convolutional Neural Network" ] }, { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "i9Jcnb8bQQyd" }, "source": [ "
\n",
" ![]() | \n",
" \n",
" ![]() | \n",
" \n",
" ![]() | \n",
" \n",
" ![]() | \n",
"
cirq.GridQubit
s:"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"colab": {},
"colab_type": "code",
"execution": {
"iopub.execute_input": "2024-05-18T11:45:13.107676Z",
"iopub.status.busy": "2024-05-18T11:45:13.107142Z",
"iopub.status.idle": "2024-05-18T11:45:13.300001Z",
"shell.execute_reply": "2024-05-18T11:45:13.299344Z"
},
"id": "9tZt0aAO4r4F",
"vscode": {
"languageId": "python"
}
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"findfont: Font family 'Arial' not found.\n"
]
},
{
"data": {
"image/svg+xml": [
""
],
"text/plain": [
"