SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.06599 · 2020

Quantum autoencoders with enhanced data encoding

arXiv · PDF · Open in the Atlas

Code that ran

5 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 4 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2010.06599.json · badge: /api/ran/2010.06599.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Quantum-TII/qibo canonical (classifier label)
classifier basis: census
5 ran · 4 no recorded run
FunctionStatusWhere it lives
CNOT Ran
ran on a synthesized input
Quantum-TII/qibo/src/qibo/backends/_clifford_operations.py
code served (permissive licence) · get_code("a0323db0d26ee48e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (2, 7) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function operates on a symplectic matrix with bitwise operations
# It needs:
# - symplectic_matrix: ArrayLike (numpy array or similar)
# - control_q: int (qubit index)
# - target_q: int (qubit index)
# - nqubits: int (total number of qubits)

# Based on the function body:
# - symplectic_matrix has shape (batch, 2*nqubits + 1)
#   - columns 0 to nqubits-1: X part
#   - columns nqubits to 2*nqubits-1: Z part
#   - column -1 (or 2*nqubits): phase/result bit
# - control_q and target_q are indices < nqubits
# - The function uses bitwise operations (^, &, ~) so data should be boolean or uint8

nqubits = 3
batch_size = 2

# Create a symplectic matrix with shape (batch_size, 2*nqubits + 1)
# Using uint8 (0 or 1) for bitwise operations
symplectic_matrix = np.random.randint(0, 2, size=(batch_size, 2*nqubits + 1), dtype=np.uint8)

control_q = 0
target_q = 1

ARGS = {
    "symplectic_matrix": symplectic_matrix,
    "control_q": control_q,
    "target_q": target_q,
    "nqubits": nqubits,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (2, 7) — shape (2, 7) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
H Ran
ran on a synthesized input
Quantum-TII/qibo/src/qibo/backends/_clifford_operations.py
code served (permissive licence) · get_code("0c0acb418fb8068c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (2, 7) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small symplectic matrix
# The function expects a matrix with shape (nrows, 2*nqubits + 1)
# where columns are organized as: [x_part | z_part | r_part]
# x_part has nqubits columns, z_part has nqubits columns, r_part has 1 column

nqubits = 3
nrows = 2

# Create a symplectic matrix with binary values (0s and 1s)
# Shape: (2, 2*3 + 1) = (2, 7)
symplectic_matrix = np.array([
    [1, 0, 1, 0, 1, 0, 1],  # row 0: x=[1,0,1], z=[0,1,0], r=[1]
    [0, 1, 0, 1, 0, 1, 0],  # row 1: x=[0,1,0], z=[1,0,1], r=[0]
], dtype=np.uint8)

# q must be a valid qubit index (0 to nqubits-1)
q = 1

ARGS = {
    "symplectic_matrix": symplectic_matrix,
    "q": q,
    "nqubits": nqubits,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (2, 7) — shape (2, 7) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
I Ran
ran on a synthesized input
Quantum-TII/qibo/src/qibo/backends/_clifford_operations.py
code served (permissive licence) · get_code("a41821e4a5e028c7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

torch.manual_seed(0)

# The function I takes a symplectic_matrix (ArrayLike), q (int), and nqubits (int)
# and simply returns the symplectic_matrix unchanged.
# We need to construct valid arguments for each parameter.

# symplectic_matrix: ArrayLike - can be a numpy array or torch tensor
# A symplectic matrix is typically square and even-dimensional
# Let's create a small 4x4 symplectic-like matrix (numpy array)
symplectic_matrix = np.array([
    [0, 1, 0, 0],
    [-1, 0, 0, 0],
    [0, 0, 0, 1],
    [0, 0, -1, 0]
], dtype=np.float32)

# q: int - a small integer parameter
q = 2

# nqubits: int - number of qubits, a small integer
nqubits = 2

ARGS = {
    "symplectic_matrix": symplectic_matrix,
    "q": q,
    "nqubits": nqubits
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calculate_derivatives Ran
ran on a synthesized input
Quantum-TII/qibo/src/qibo/parameter.py
code served (permissive licence) · get_code("35e88ef9a5378878")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import sympy as sp

def simple_quadratic(p0, p1):
    """A simple quadratic function: p0^2 + 2*p0*p1 + p1^2"""
    return p0**2 + 2*p0*p1 + p1**2

def another_function(p0, p1, p2):
    """Another function: p0*p1 + p2"""
    return p0*p1 + p2

ARGS = {
    "func": simple_quadratic
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sympy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
frequencies_to_binary Ran
ran on a synthesized input
Quantum-TII/qibo/src/qibo/measurements.py
code served (permissive licence) · get_code("98e57b9fc24be6c1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Counter. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from collections import Counter

# The function takes:
# - frequencies: a dict-like object with integer keys and numeric values
# - nqubits: an integer representing the number of qubits

# Constructing a minimal frequencies dict
# Keys are integers that will be converted to binary strings
# Values are counts/frequencies
frequencies = {
    0: 10,
    1: 25,
    2: 15,
    3: 5,
    7: 8
}

nqubits = 3

ARGS = {
    "frequencies": frequencies,
    "nqubits": nqubits
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Counter — a Counter output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Counter output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
apply_bitflips Not yet run
unverified (harvested, no recorded run)
Quantum-TII/qibo/src/qibo/measurements.py
code served (permissive licence) · get_code("dbee24121e1fb69b")
How it ran

no invocation recorded.

cmaes Not yet run
unverified (harvested, no recorded run)
Quantum-TII/qibo/src/qibo/optimizers.py
code served (permissive licence) · get_code("15f1309efc5c9e76")
How it ran

no invocation recorded.

load_result Not yet run
unverified (harvested, no recorded run)
Quantum-TII/qibo/src/qibo/result.py
code served (permissive licence) · get_code("247a0a010ba1ded1")
How it ran

no invocation recorded.

newtonian Not yet run
unverified (harvested, no recorded run)
Quantum-TII/qibo/src/qibo/optimizers.py
code served (permissive licence) · get_code("0b99c787cb16f01c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We present the enhanced feature quantum autoencoder, or EF-QAE, a variational quantum algorithm capable of compressing quantum states of different models with higher fidelity. The key idea of the algorithm is to define a parameterized quantum circuit that depends upon adjustable parameters and a feature vector that characterizes such a model. We assess the validity of the method in simulations by compressing ground states of the Ising model and classical handwritten digits. The results show that EF-QAE improves the performance compared to the standard quantum autoencoder using the same amount of quantum resources, but at the expense of additional classical optimization. Therefore, EF-QAE makes the task of compressing quantum information better suited to be implemented in near-term quantum devices.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2010.06599")
get_code_for_paper("2010.06599")
have("2010.06599")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2010.06599.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2010.06599.svg)](https://syntology.ai/paper/2010.06599)

Connect an agent — have() is free.