---
title: "Toward Quantum Machine Translation of Syntactically Distinct"
description: "How syntax-shaped quantum circuits and a classical LSTM connect English and Persian, what entropy reveals, and what the experiments establish."
canonical: "https://research.elamur.ai/free/en/papers/abbaszade-2023-toward-quantum-machine-translation-syntactically/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abbaszade-2023-toward-quantum-machine-translation-syntactically/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Toward Quantum Machine Translation of Syntactically Distinct Languages

# Toward Quantum Machine Translation of Syntactically Distinct Languages

Paper · 2023 · Mina Abbaszade, Mariam Zomorodi, Vahid Salari et al.

**Authors:** Mina Abbaszade, Mariam Zomorodi, Vahid Salari and Philip Kurian · **Year:** 2023 · **Venue:** arXiv:2307.16576 · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**3** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4385474293) · [arXiv:2307.16576](https://openalex.org/S4306400194) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/2307.16576)
- [arXiv 2307.16576](https://arxiv.org/abs/2307.16576)
- [OpenAlex](https://openalex.org/W4385474293)

Citations: OpenAlex, 2026-10-14.

## What it is about

How syntax-shaped quantum circuits and a classical LSTM connect English and Persian, what entropy reveals, and what the experiments establish. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Translating between languages requires preserving meaning while changing the structures that express it. English and Persian provide the setting for this paper’s exploration of [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) through quantum representations. The authors ask whether sentences with different grammatical arrangements can be represented as quantum circuits, connected through shared word parameters, and translated through a classical sequence-processing network. Their contribution is an exploratory hybrid architecture: grammar determines the circuits, corresponding words share rotation angles, and a classical long short-term memory network, or LSTM, learns a mapping between circuit encodings.

The paper investigates two related questions. First, can a simple statistic of circuit outputs help identify corresponding sentences across languages? The authors execute sentence circuits on the IBMQ-qasm-simulator and calculate Shannon entropy, a measure of uncertainty in the resulting measurement distribution. They compare circuits whose corresponding words share rotation angles with circuits in which the English angles have been rearranged. The shared-angle condition produces a more regular pattern of entropy differences. For the sentence collection examined, corresponding English–Persian circuits generally have entropy differences near unity. However, similar grammatical structures can produce competing matches, and the authors explicitly acknowledge that equal entropy does not imply similar states.

Second, can a classical encoder–decoder learn to transform an English circuit representation into a Persian circuit representation? The translation experiment uses 160 sentences, with 80 belonging to each language. These are expanded from the smaller sentence collection used for the entropy investigation. The circuits are converted into nested numerical representations organized by words, operation times, and gates. An LSTM reads the source representation and predicts the target representation, which is then decoded into a circuit. Translation therefore occurs through an intermediate circuit description rather than through direct prediction of ordinary target-language text.

Among the reported architectures, the strongest configuration places a RepeatVector operation between its LSTM components and ends with a dense decoding layer. Table 4 reports a mean absolute error of 0.0324 and a mean squared error of 0.0019 for this configuration. In the optimizer comparison for that architecture, Adam gives a reported loss of 0.01574, ahead of the alternatives examined. These are results on encoded circuit representations, rather than established measurements of translation quality in natural language. The paper does not report [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/), human judgments, or a comparison against an ordinary text-based translation system.

The central result is thus a demonstration that the proposed representations can be constructed and connected in a small, controlled English–Persian experiment. It does not establish a quantum computational advantage, broad translation ability, or an effective entropy-based matching layer inside the translation network. That matching layer remains a proposed extension. The useful scientific question raised by the work is more specific: how much information about cross-language correspondence survives when grammatical structure becomes circuit topology and lexical correspondence becomes shared circuit parameters?

### Ideas worth borrowing

Separate structure from shared content. The paper permits English and Persian to have different circuit arrangements while assigning matching rotation angles to corresponding words. This distinguishes how an expression is assembled from what its components are intended to represent. The same principle can guide multilingual symbolic systems, structured document conversion, or other tasks where equivalent content appears in different arrangements. Shared content need not require identical surface structure, but the shared representation must be justified.

Change associations while preserving the machinery. In the angle-swapping experiment, the authors retain the English circuit’s gates and architecture while changing where its existing angles are used. This creates a comparison aimed at the association between parameters and words, rather than at an entirely different computational representation. Similar controls can help investigate feature assignments, lexical labels, or learned rule weights. Their value comes from holding much of the surrounding mechanism fixed while disturbing a specific relationship.

Use inexpensive summaries as screening evidence. Shannon entropy compresses an entire output distribution into a compact statistic. In this experiment it exposes a recurring relationship between corresponding circuits, suggesting a possible way to screen candidate sentence pairs. A summary statistic can be useful even when it cannot settle the final decision. This applies to retrieval, data cleaning, and anomaly detection, provided that candidates passing the screen still face a more discriminating check.

Test a shortcut against cases it cannot distinguish. The authors explain that distinct deterministic states can have the same entropy. Their matching analysis also encounters sentences with similar grammatical forms that compete with the intended translation. These observations illustrate why a useful diagnostic needs adversarial examples constructed around its information loss. A system should be tested on cases where the chosen summary remains similar while the distinction that matters changes.

Make the intermediate representation inspectable. The circuit encoding is organized around identifiable components: words, timesteps, and gates. That arrangement makes the transformation easier to describe and gives decoding an explicit target structure. The broader lesson applies to compilers, structured prediction, and [semantic parsing](https://md.research.elamur.ai/free/en/concepts/semantic-parsing/): an intermediate representation should expose the units that later stages must preserve, transform, or reconstruct.

Evaluate the interface as well as its individual parts. The paper combines grammar-derived circuits, a numerical encoding, a classical sequence network, and circuit reconstruction. Each stage introduces a different question about correctness. A strong numerical prediction does not on its own establish a correct sentence translation, just as a valid circuit does not establish preserved meaning. Systems that cross representation boundaries benefit from evaluating those boundaries directly, alongside the performance of their components.

Keep resource arguments separate from measured performance. The paper discusses compact quantum representations and possible computational advantages, but its experiments measure entropy behavior and circuit-encoding prediction. Those forms of evidence answer different questions. Researchers can reuse this distinction whenever a promising architecture is motivated by efficiency: representation size, execution cost, predictive quality, and end-to-end usefulness each require their own measurements.

### How Mova uses it

Mova is a transparent language system implemented in Rust. Its documented language path turns text into dependency structure, then frames and a world representation. The connections below concern possible transfers from this paper into that architecture. None establishes that Mova implements quantum translation. The status marks compare each proposal with the documented mechanisms; they are provisional classifications, and their effects remain unknown until measured.

Idea: Keep linguistic structure separate from cross-language content. Where: Sections 3.1 and 4.2. Area: multilingual representation. Mova: частково є (`en`, `prag`, `world`, and the experimental translation-through-a-meta-world tooling described in `docs/architecture.md`). Mova already separates a parsed sentence from its interpreted events and entities. The paper suggests testing that separation across languages: different constructions should be allowed to produce comparable content without forcing identical trees. Existing representations provide a starting point, but the digest does not establish reliable English–Persian correspondence.

Idea: Give equivalent lexical items an explicitly shared representation. Where: Sections 3.1 and 3.2. Area: lexical semantics. Mova: частково є (concept codes and senses in `global`, with dictionary evidence in `tools/dictindex`). The paper shares rotation angles between selected equivalent words. A rule-oriented transfer would instead investigate reviewed links between language-specific senses and a shared concept. Such a link would need evidence for the particular sense and construction; a spelling-level association would not justify treating every occurrence as equivalent.

Idea: Compile grammatical composition into a typed operational representation. Where: Section 3.1 and Figure 2. Area: syntax and mathematical representation. Mova: частково є (`en` dependency structures, `prag` frames, and typed groupant interfaces). The paper makes grammatical connections determine computational connections. Mova could examine whether frame composition and domain operations can expose comparably explicit type requirements. Its dependency pipeline differs from pregroup grammar, so this would require a declared translation between representations instead of an assumption that their structures coincide.

Idea: Validate structural admissibility before semantic comparison. Where: Section 3.1, where grammatical types reduce to the sentence type. Area: syntax and validation. Mova: вже є (UD validation in `treeagree` and declared-concept build gates in `global`). The transferable principle is to reject malformed structures before interpreting their numerical or semantic resemblance. Mova already applies structural gates, although they validate different objects. A translation-oriented extension would need its own admissibility conditions for mappings between trees, frames, or concept structures.

Idea: Preserve the distinction between grammatical success and task success. Where: Sections 3.1 and 4.3. Area: evaluation. Mova: вже є (`docs/hybrid-system.md`, which separates a successful parse from an established task interpretation). A sentence circuit can follow its grammatical construction without being the right translation. Mova’s configured planner already respects a related boundary. The paper supplies another reason to keep separate receipts for structural validity, interpretation, and the eventual outcome.

Idea: Support construction-dependent representations of words. Where: Section 3.1, where grammatical type assignments depend on sentence structure. Area: syntax and lexical representation. Mova: частково є (`prag` role extraction and context-sensitive sense selection in `global`). Mova could examine lexical entries whose admissible interfaces vary with their construction. This should complement its existing frame and sense mechanisms. The paper motivates contextual interfaces, but does not provide evidence about which such interfaces would improve Mova’s readers.

Idea: Treat multiword correspondence as an explicit problem. Where: Section 3.1, following the shared-angle construction. Area: translation and multiword expressions. Mova: частково є (idiom and expression handling in `prag`; experimental translation tooling in `tools/translate`). The authors identify mapping between multiword constructions as future work. Mova could likewise keep correspondence between phrases distinct from dictionary links between individual words. Existing expression handling offers useful infrastructure, but does not establish general translation between constructions.

Idea: Keep sentence alignment distinct from word alignment. Where: Sections 3.1 and 3.2. Area: corpus evidence. Mova: вже є (`tools/dictindex`, whose parallel counterpart features are sentence-level co-occurrences). The paper begins with selected equivalent sentences and then identifies corresponding lexical items. Mova already avoids treating sentence co-occurrence as established lexical translation. This distinction should remain visible whenever corpus evidence supports dictionary candidates: a paired sentence is an observation context, not proof that a particular word matches another.

Idea: Disturb parameter associations while preserving structure. Where: Section 3.2 and Figure 5. Area: controlled evaluation. Mova: частково є (negative-control requirements in the project principles and controls in school assessment). A Mova experiment could keep a sentence structure and its available lexical information while deliberately misassigning selected sense or role associations. That would test whether a reader depends on the intended relationships. Such a control must define the changed association precisely and avoid creating an uninterpretable input accidentally.

Idea: Screen candidates with an inexpensive statistical observation. Where: Sections 3.2 and 3.3. Area: statistics and retrieval. Mova: частково є (`tools/dictindex` statistical proposals and source-bound groupant observations). Mova already uses statistics to propose items for review. Entropy could be investigated as an additional observation over a declared distribution, such as competing analyses. The distribution, comparison rule, and failure behavior would need explicit definitions; the quantum experiment does not establish a suitable entropy statistic for Mova.

Idea: Calibrate expected relationships rather than assuming equality. Where: Section 3.3 and Figure 7. Area: statistics and cross-representation comparison. Mova: нове, provisionally; a matching calibration of this kind is not established in the digest. The corresponding circuits are compared through a recurring entropy offset rather than through identical entropy. A Mova experiment could test whether different representations have a stable, explainable relationship before choosing a distance rule. Why Mova: this could prevent rejecting equivalent observations merely because their representation conventions produce systematically different numerical summaries.

Idea: Test summary statistics on collisions. Where: Section 3.2, in the discussion of deterministic distributions. Area: mathematical validation. Mova: частково є (finite-correspondence limits in `docs/correspondences.md` and declared observation domains in groupants). Mova could require a proposed summary to come with examples it cannot distinguish. That would make its evidential scope easier to review. The existing correspondence framework already warns against interpreting finite agreement as equivalence; entropy collisions provide a concrete test family for that warning.

Idea: Add same-structure, different-entity distractors. Where: Section 3.3 and Figure 7. Area: evaluation and entity sensitivity. Mova: частково є (entity tracking in `world` and assessment controls in the school). The paper notes confusion between sentences that differ in their named participant while retaining similar structure. Mova could test whether candidate comparison preserves the relevant entity identities after abstraction. Existing world tracking supplies the entities, but success on this particular contrast is not established by the digest.

Idea: Compare each source against competing targets. Where: Section 3.3 and Figure 7. Area: retrieval evaluation. Mova: частково є (candidate retrieval and reviewed selectors in `tools/dictindex`). Evaluating only known pairs can conceal collisions. Mova could evaluate a proposed cross-language correspondence against alternative targets drawn from the same declared candidate set. This would reveal whether a statistic identifies the intended counterpart or merely gives it an acceptable score. The paper’s heat map motivates this comparison without supplying a general retrieval guarantee.

Idea: Retain internal relationships in structured encodings. Where: Section 4.1 and Figure 8. Area: data representation. Mova: вже є (UD trees, frames, world state, and source-bound groupants). The paper encodes circuits through nested structural units instead of treating them as undifferentiated numerical sequences. Mova already keeps several kinds of internal structure explicit. A useful application is to require each adapter to document which relationships survive conversion and which become unavailable.

Idea: Audit omitted connections at representation boundaries. Where: Section 4.1, where connections between word partitions are treated separately from word encoding. Area: interface correctness. Mova: частково є (explicit interfaces and observations in `docs/hybrid-system.md`). Mova could inspect each tree-to-frame or frame-to-domain adapter for relations left outside its local encoding. The question is whether those relations are restored, preserved elsewhere, or discarded. The paper does not demonstrate a failure from its encoding choice, but makes this boundary important to examine.

Idea: Distinguish padding from meaningful absence. Where: Sections 4.1 and 4.2. Area: data processing. Mova: нове, provisionally; this particular representation check is not established in the digest. The paper pads variable structures to fixed sizes. Any analogous Mova adapter should declare whether an empty position means unused capacity, missing evidence, or an actual negative observation. Why Mova: its explicit gap reporting depends on preserving the difference between information that is absent and a representation slot that simply has no content.

Idea: Check reconstruction independently of prediction error. Where: Sections 4.1–4.3. Area: evaluation and serialization. Mova: частково є (verified repacking in `pack` and explicit worker result checks). Predicting a numerical representation and reconstructing a valid object are different obligations. Mova could apply its established round-trip discipline to proposed semantic or translation adapters: preserve declared structure, then check interpreted content. Storage round trips already exist, but they do not establish semantic round trips across languages.

Idea: Separate representation error from answer quality. Where: Section 4.3 and Table 4. Area: evaluation design. Mova: вже є (school assessment, frame evaluation, and the distinction between worker receipts and admitted results). The paper reports errors over encoded outputs without a separate natural-language translation score. Mova should continue treating intermediate accuracy as evidence about that intermediate object. A better frame count or a closer numerical encoding does not alone show that the eventual answer became more useful.

Idea: Compare architectural alternatives against the same target representation. Where: Section 4.3 and Table 4. Area: controlled experimentation. Mova: частково є (held-out self-play and regression-gated revisions in `docs/training.md`). The paper compares several sequence architectures on its circuit encoding task. Mova could apply the same experimental shape to competing rule readers or candidate judges while keeping inputs and evaluation targets fixed. Its existing experimental gates support this, although the paper offers no evidence that neural components would benefit Mova’s chosen direction.

Idea: Treat optimizer results as configuration-specific evidence. Where: Section 4.3 and Table 5. Area: experimental interpretation. Mova: частково є (logged parameter experiments and held-out gates in the documented learning loops). The Adam result belongs to the reported architecture and task. The transferable lesson is to record the context of any parameter-selection success. In Mova’s rule-and-statistics setting, a weight-update procedure that wins for a particular reader should not automatically become the preferred procedure everywhere.

Idea: Distinguish apparent convergence from retained capability. Where: Section 4.3 and Figure 10. Area: learning evaluation. Mova: вже є (fresh-process retained-state assessment in `docs/school.md`). A stabilizing validation loss describes the reported optimization trajectory. It does not establish learning that survives a different process, representation, or question set. Mova already has a separate retention boundary; the paper reinforces the value of keeping training curves apart from evidence that a capability has been retained.

Idea: Account for the cost of the full representation pipeline. Where: Sections 3.1 and 4.4. Area: resource measurement. Mova: частково є (`tools/jobs`, `tools/twin`, and explicit execution budgets). The paper’s circuit construction, sampling, encoding, classical training, and reconstruction all contribute to practical cost. Mova can apply the same accounting principle to composed workflows. Its job estimates and measured runs provide related mechanisms, but a compact intermediate object should not be treated as proof of lower overall cost.

Idea: Evaluate the proposed matching layer separately before admission. Where: Section 2 and the conclusion. Area: staged development. Mova: вже є (staging and admission separation in `tools/enrich`, plus bounded operational interfaces). The paper proposes adding entropy-based matching to a recurrent architecture but does not report that combined experiment. Mova already distinguishes prepared proposals from admitted knowledge. An analogous matching rule should remain a proposal until its own tests and its effect on the final task have both been examined.

Idea: Keep simulator findings distinct from hardware findings. Where: Sections 3.2, 3.3, and 4.4. Area: execution evidence. Mova: вже є (CPU reference behavior and measured GPU approximants in `docs/gpu-exec.md`). The relevant transfer concerns evidence boundaries: results from a particular execution path belong to that path. Mova already distinguishes exact CPU behavior from approximating GPU stages. A result obtained under one execution regime should retain that identity when used to support a broader system claim.

### The problem and its context

The paper addresses a representation problem inside multilingual computation. A sentence has words, but it also has an arrangement that determines how those words contribute to meaning. When languages organize corresponding meanings differently, translation cannot simply preserve every position and replace each word. The authors use English and Persian to explore whether grammatical composition can be expressed in a common computational language while allowing the resulting structures to differ.

Their proposal belongs to quantum natural language processing, abbreviated QNLP. Here, linguistic composition is represented through mathematical objects that can be converted into quantum operations. The relevant question is not merely whether a quantum device can store some information associated with a sentence. The construction must explain how the sentence’s grammatical organization determines relationships among the encoded words.

The introduction places this question against progress in [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/). It discusses fluent translation systems and large-scale language learning, including the work presented in [Language Models are Few-Shot Learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/). That discussion motivates interest in alternative computational approaches. It does not supply an experimental baseline for the proposed circuit translation system. The paper’s own evaluation remains much smaller and more controlled than that introductory context.

#### Meaning composed through grammar

The principal mathematical predecessor is Distributional Compositional Categorical semantics, typically shortened to DisCoCat. In the account given by the authors, this framework combines vector representations of meaning with an explicit account of grammatical composition. Individual words contribute representations, while grammar determines how those representations interact.

A pregroup grammar supplies the grammatical structure. Words receive types, and compatible neighboring types can reduce through specified algebraic relationships. A complete declarative sentence should reduce to the designated sentence type. The resulting composition can be drawn as a diagram whose connections describe the flow of information between word representations.

This is important for translation because the same general machinery can describe different grammatical arrangements. It does not require English and Persian words to occupy matching positions. Instead, each language receives a structure appropriate to the sentence being analyzed. The translation problem then becomes partly a question about relations between these structured representations.

The authors connect this account to earlier work on categorical descriptions of quantum processes and on compositional meaning. They also refer to work addressing relative pronouns and to pregroup analyses of Persian. These references provide the theoretical setting for their sentence diagrams. The paper’s experiment uses selected simple constructions, instead of attempting to implement all the grammatical phenomena discussed in those predecessors.

#### From diagrams to executable circuits

A further predecessor is ZX-calculus, which the paper describes as a graphical framework for quantum operations. It provides a route from grammatical diagrams to quantum circuits. The authors also discuss its use in circuit simplification and compilation, making clear that a diagram can support computational manipulation as well as linguistic illustration.

The paper mentions lambeq as an existing high-level Python framework capable of turning sentences into diagrams, tensor networks, and quantum circuits. This matters because the authors are not introducing the entire idea of compiling grammatical composition into quantum computation. Their distinctive emphasis is cross-language correspondence, particularly shared gate angles and entropy comparisons.

The authors’ earlier translation work supplies another direct connection. They describe a previous approach combining QNLP with LSTM processing. The present paper develops that general interface between sentence circuits and classical sequence learning, while adding the investigation of entropy as a possible aid to matching source and target sentences.

#### Why a classical sequence network remains involved

An LSTM is a recurrent neural architecture designed to pass information through a sequence while retaining useful context. In the paper’s translation system, it processes an encoded circuit as a sequence organized around words. Its role is to learn how a source-language representation maps into a target-language representation.

This division of work is fundamental. The quantum-related machinery supplies a structured representation and sampled circuit behavior. The translation mapping is learned by a classical network. The experiment therefore asks whether these components can be connected usefully; it does not demonstrate a wholly quantum translator.

Earlier quantum translation efforts, quantum machine learning surveys, and classical sentence-representation matching are also discussed. The authors use them to motivate a future architecture in which matching information might help guide translation learning. The entropy experiments are presented as groundwork for that possibility, rather than as a completed replacement for existing translation methods.

### The method, step by step

The method has an entropy-analysis branch and a translation-learning branch. They share the same broad representational idea: grammar determines a sentence circuit, and selected cross-language lexical correspondences determine shared circuit parameters. The entropy branch studies circuit output distributions. The translation branch learns a mapping between descriptions of the circuits.

From paired sentences to a predicted target circuit The steps in order.

#### Establish grammatical types

The starting example concerns Sara purchasing a book at a bookshop. Its English realization places the verb before its object, while the Persian realization used by the authors places the verb at the end. The paper presents the Persian using Latin-script transcription as well as discussing the language itself.

The authors begin with basic grammatical types for nouns and declarative sentences. More elaborate word types describe how a word must connect to surrounding material. The type assignment depends on grammatical position and construction; it is not an unchanging numerical label attached to the word wherever it occurs.

The formal setting includes a compact closed category. Its relevant maps describe the creation and removal of paired interfaces:

```
ηˡ: I → A ⊗ Aˡ
```

Here, A is an object, Aˡ is its left-associated partner, I is the unit object, and ⊗ combines objects. The symbol ηˡ names a map drawn as a cap in the graphical notation.

```
ηʳ: I → Aʳ ⊗ A
```

Aʳ is the corresponding right-associated partner of A. The symbol ηʳ names the cap with that orientation. These maps belong to the mathematical machinery underlying the diagrams.

```
ϵˡ: Aˡ ⊗ A → I
```

The symbol ϵˡ names a contraction between a left-associated interface and its matching object. Graphically, the paper represents this contraction with a cup.

```
ϵʳ: A ⊗ Aʳ → I
```

The symbol ϵʳ names the oppositely oriented contraction. Together, these maps make it possible to describe composition through connected interfaces rather than through an informal picture of related words.

The pregroup itself is a partially ordered monoid. In the paper’s notation, P is its collection of elements, ≤ is the order, · is multiplication, and 1 is the unit. Each element p has left and right adjoints satisfying the following relations:

```
pˡ · p ≤ 1 ≤ p · pˡ
```

The symbols p and pˡ denote an element and its left adjoint. The inequalities specify permitted reductions and expansions relative to the unit. They are grammatical algebra, not probabilities.

```
p · pʳ ≤ 1 ≤ pʳ · p
```

Here pʳ is the right adjoint of p. These relationships supply the reductions that remove compatible grammatical interfaces during sentence composition.

For the linguistic construction, n denotes a noun type and s denotes the type of a declarative sentence. An assignment is considered grammatically successful when the combined word types reduce to s. This provides a check on the composition before any circuit is executed.

#### Build language-specific composition diagrams

The English type assignment for the purchasing example is:

```
n (nʳ s nˡ nˡ) (n nˡ) n (n nˡ) (n nˡ) n
```

The sequence follows the English words in order. The initial n corresponds to the subject. The compound type containing s belongs to the verb. The remaining noun and adjoint interfaces connect the object, determiners, and prepositional material. Parentheses group the interfaces assigned to each word.

The paper gives the English reduction as:

```
(n nʳ) s nˡ (nˡ n) (nˡ n) n (nˡ n) (nˡ n) → s (nˡ n) → s
```

The arrows indicate successive grammatical reductions. Matching noun interfaces disappear through the permitted contractions, leaving the sentence type s. The point is that the entire construction reduces appropriately, instead of that the words share an identical type.

The Persian assignment differs:

```
n n (nʳ n) (n nˡ) n (nʳ nʳ nʳ s)
```

These groups follow the Persian transcription in its own order. The verb’s compound type occurs at the end. The arrangement also includes the grammatical material associated with the Persian object marker and preposition.

The corresponding reduction is:

```
n (n nʳ) n n (nˡ n) nʳ nʳ nʳ s → n n (n nʳ) nʳ nʳ s → n (n nʳ) nʳ s → (n nʳ) s → s
```

Again, n is the noun type, its superscripts identify adjoints, and s is the completed sentence type. The two languages reach the same grammatical endpoint through differently organized compositions.

A monoidal functor interprets the grammatical types as vector spaces and the reductions as linear maps. In ordinary terms, it carries the grammatical composition into a mathematical representation where word meanings can interact. Figure 2 depicts the resulting structures with wires and cups.

The example illustrates why the authors regard syntax as computationally relevant. A word’s connections determine the shape of its contribution. A verb that links several participants needs a different interface from an isolated noun. Translation must therefore connect structured objects rather than simply rearrange a flat list of unrelated values.

#### Turn the diagrams into quantum circuits

The authors allocate a qubit to each noun wire and each sentence wire. Adjoints of the noun type use the same underlying noun-wire allocation. The grammatical interfaces therefore determine the number and organization of qubits associated with each word.

For the purchasing example, the English circuit is described as having 13 qubits, while the Persian circuit has 11 qubits. Those totals reflect the selected grammatical representation. They are not claimed to be universal costs for expressing that meaning, nor are they measured language-wide complexity differences.

Noun states are prepared through Euler-style rotation sequences involving Rx and Rz gates. An Rx gate rotates around the x direction, while Rz rotates around the z direction. The angles specify the operations and therefore help determine the state associated with the noun.

The verb construction uses instantaneous quantum polynomial layers, abbreviated IQP. In the example, Hadamard gates are combined with controlled Rz operations connecting the verb’s qubits. The paper uses a single IQP layer for the illustrated construction and notes that additional layers are possible.

The diagram’s cups correspond to Bell effects. Their implementation involves post-selection: execute repeatedly and retain outcomes satisfying the required measurement condition. For the English example, the description keeps shots in which 12 of the 13 qubits have zero outcomes, excluding the sentence qubit from that requirement.

This construction introduces a practical distinction between a diagram and its execution. A grammatical contraction can look simple in the diagram while requiring repeated measurements and selective retention in a circuit implementation. Any eventual efficiency assessment would need to include that execution behavior.

#### Share selected lexical parameters

The authors assign identical rotation parameters to selected corresponding words across the languages. In the purchasing example, the shared correspondences include the person, the buying action, the book, the bookshop, and the relation expressed by the relevant preposition.

Other words may receive random angles. Therefore, the initial cross-language connection is supplied by selected lexical correspondences. The experiment does not first discover all those correspondences from unrelated sentence collections.

This is a deliberately controlled setting. The syntax can change, but part of the lexical parameterization is held common. The entropy experiment then asks what relationship remains visible between the resulting circuit outputs.

For the comparison condition, English rotation angles are redistributed using the circuit’s existing angle values. The gates and the overall architecture remain in place. What changes is the association between particular angles and their original lexical positions.

That intervention aims to disturb cross-language lexical consistency while retaining much of the circuit construction. It is more specific than replacing the English circuit with an unrelated circuit. However, it still changes several parameter assignments together, so it does not isolate the effect of every individual correspondence.

#### Execute circuits and calculate entropy

The circuits are run on the IBMQ-qasm-simulator with 20,000 shots. A shot is a repeated circuit execution followed by measurement. The frequency of a measured outcome is converted into its empirical probability by dividing by the total number of executions.

The paper describes a circuit with n qubits as having the following number of possible measurement states:

```
2ⁿ
```

Here n is the number of qubits. This expression describes the size of the possible outcome space; it does not imply that a finite execution run observes every possible outcome.

The entropy calculation is:

```
H(X) = −Σᵢ∈ᴵ p(xᵢ) log p(xᵢ)
```

X denotes the circuit’s measurement distribution. The outcome indexed by i is xᵢ, its probability is p(xᵢ), and I is the set indexing the outcomes. H(X) is Shannon entropy. The paper writes log without making its base explicit in the displayed definition.

Entropy summarizes how uncertainty is distributed across the measurement outcomes. It does not preserve the identity of those outcomes. As a consequence, distributions can agree in entropy while disagreeing about what actually occurs.

The authors compare entropy values for corresponding sentence pairs in the shared-angle condition and in the angle-swapped condition. They also form a pairwise matrix comparing the English circuits with the Persian circuits. This broader comparison asks whether an intended counterpart is distinguishable from alternative candidates.

The heat-map presentation focuses on how close the absolute entropy difference is to unity. That reference point is an empirical feature of this construction. It should not be interpreted as a general definition of translation similarity.

#### Encode circuits for classical learning

The translation experiment requires a different interface. An LSTM cannot directly consume a circuit diagram, so the authors convert the circuit into a nested numerical representation.

D denotes the collection of paired source and target sentences. QC denotes the corresponding collection of quantum circuits. A source circuit qcs and a target circuit qct form a supervised pair. Their architectures are converted into encodings denoted E.

At the word level, the encoding is written as:

```
Ewₗ = [t⁰wₗ, t¹wₗ, …, tⁿ⁻¹wₗ]
```

The symbol wₗ denotes the word at position l. Ewₗ is its encoding. Each t term represents a timestep within that word’s circuit partition, and n is the number of those timesteps in this expression.

Within a timestep, the representation contains gate encodings:

```
tⁱwₗ = [[g¹ᵢ], [g²ᵢ], …, [gᵏᵢ]]
```

The index i identifies the timestep. The index on each g identifies a gate within that step, and k is the number of gates represented there. The square-bracketed gate entries are numerical encodings rather than the physical gates themselves.

The underlying circuit evolution is expressed as:

```
|ψ⟩ₜ = Uₜ |ψ⟩ₜ₋₁
```

The state entering step t is |ψ⟩ₜ₋₁. Uₜ is the unitary operation for that step, and |ψ⟩ₜ is the resulting state. This equation explains the temporal organization that the encoding attempts to describe.

The encoding procedure first partitions a circuit by words, then schedules operations inside each partition. Gates at a given step are placed in an ordered representation, and individual gates receive their numerical encodings. Variable-sized structures are padded so that the network receives fixed-sized inputs.

The paper’s subject–verb–object illustration uses a sentence in which Sara sees Bob. Its partition is:

```
Pqc = [|q₀⟩, |q₁⟩|q₂⟩|q₃⟩, |q₄⟩]
```

Pqc is the word-based partition of the circuit. The q symbols identify qubits. The central word receives the grouped middle qubits, while the surrounding words receive their own partitions.

For this illustration, the paper describes 7 timesteps. Connections between word partitions are associated with CNOT gates, and those connections are not included in the local word encoding in the same way as the internal gates. That distinction makes reconstruction possible within the authors’ chosen scheme, but also creates an interface whose treatment deserves explicit verification.

#### Learn the source-to-target mapping

The resulting encodings enter a classical encoder–decoder. The encoder reads the source sequence; the decoder produces a representation in the target format. The predicted representation is then converted back into a target-language circuit.

The architecture discussion includes an initial configuration with 32-unit LSTM components. It also describes a configuration with 100 units in each of its LSTM layers and a dense layer containing 24 neurons, corresponding to the encoded word dimension.

RepeatVector passes a repeated context representation from the encoding side to the decoding side. A dense output layer produces predictions, and softmax converts output scores into a probability distribution. The reported training objective is sparse categorical cross-entropy.

The experiments compare SGD, RMSprop, and Adam. These comparisons concern how the classical network is optimized. They do not turn the learning component into a quantum LSTM.

The paper identifies notebooks containing translation data and the sentence circuits, together with a notebook for the entropy-difference matrix. Those resources accompany the architecture description. The reported experiment nevertheless needs to be read at the granularity of its stated inputs and outputs: encoded circuits enter the learner, and encoded target circuits are predicted.

### Experiments and results

The experiments provide evidence at two different levels. The entropy study examines sampled output distributions from sentence circuits. The translation study examines a classical network trained on numerical descriptions of paired circuits. Their results are related by the shared representation, but they should not be treated as interchangeable evaluations.

#### Entropy patterns under shared and rearranged angles

The entropy analysis uses the smaller collection described through 20 sentences and their cross-language correspondences. Each circuit is executed with 20,000 shots. The reported tables compare original English circuits, Persian circuits with shared parameters for corresponding words, and English circuits after angle rearrangement.

The authors find that the shared-angle pairs have a more regular pattern of entropy differences. Table 3, for example, reports a discrepancy of 0.998118389778458 for pair a in the shared-angle condition. For pair q, the reported shared-angle discrepancy is 0.928564254225894. These are individual pair results, not an aggregate translation score.

The angle-swapped condition includes visibly less regular cases. For pair m, Table 3 reports 1.52564369202425, while pair p has a reported discrepancy of 1.568811406177742. Other rearranged cases remain near the recurring relationship seen in the original condition. The intervention therefore changes the overall pattern without providing a perfect separation of the conditions.

Figure 7 compares candidates through a 20 × 20 matrix. The authors identify the best matches by proximity to the expected entropy difference. Many intended correspondences appear along the diagonal. Some competing matches occur away from it, which the authors associate with sentences having closely related syntax.

This is evidence for a representational regularity in the constructed collection. It is not a reported retrieval accuracy, and the paper does not summarize the matrix through a formal matching metric. No confidence interval or repeated-seed summary accompanies the claimed regularity.

#### Translation through encoded circuits

The translation collection contains 160 sentences, with 80 assigned to each language. The paper describes this collection as an augmentation of the earlier sentence material. The pairs retain the shared-angle treatment for corresponding words.

The reported task is prediction of the encoded target circuit. Table 4 compares the top architectures using mean absolute error and mean squared error. Mean absolute error summarizes absolute deviations between predictions and targets; mean squared error gives greater influence to larger deviations by squaring them.

The architecture called Model 1 uses additional encoder depth relative to the basic arrangement described for Model 2. Model 3 includes RepeatVector between its LSTM components and a dense decoder output. The paper identifies Model 3 as the strongest reported configuration.

Encoded English–Persian circuit prediction, mean absolute error The RepeatVector architecture has the lowest reported absolute error.

**The numbers**

| System or setting | MAE |
| --- | --- |
| Model 1 | 0.8156 |
| Model 2 | 0.6428 |
| Model 3, RepeatVector architecture (this paper) | 0.0324 |

The mean squared error comparison also favors the final architecture, although the pattern across the other architectures differs from the absolute-error comparison.

Encoded English–Persian circuit prediction, mean squared error The RepeatVector architecture has the lowest reported squared error.

**The numbers**

| System or setting | MSE |
| --- | --- |
| Model 1 | 2.8414 |
| Model 2 | 0.0021 |
| Model 3, RepeatVector architecture (this paper) | 0.0019 |

These numbers should retain their stated target. They measure agreement with a numerical circuit encoding. The paper does not report how often a predicted circuit reconstructs exactly, how often it represents the intended sentence correctly, or how a reader judges the resulting translation.

The report also does not make the train–validation–test allocation sufficiently explicit to establish performance on a clearly described independent test collection. The term “test dataset” appears in the task description, while subsequent discussion describes training on the generated collection and plotting validation loss. The safest interpretation is therefore to report the numerical results without assigning them a more specific held-out status than the paper establishes.

#### Optimizer comparison and training behavior

Table 5 compares optimizer settings for Model 3 over 1000 epochs. Adam has the lowest reported loss among the listed settings.

Model 3 encoded English–Persian task, optimizer loss comparison Adam gives the lowest loss among the reported optimizer settings.

**The numbers**

| System or setting | loss |
| --- | --- |
| SGD | 0.6423 |
| RMSprop | 0.03078 |
| Adam (this paper) | 0.01574 |

Figure 10 follows validation loss for the Adam setting. The authors describe the curve as approaching convergence after approximately 200 epochs. This supports a statement about the optimization behavior of that reported run. It does not establish robustness across random initialization, larger corpora, or new grammatical constructions.

There is no direct baseline translating ordinary text with an otherwise comparable LSTM. As a result, the experiment does not isolate the added value of circuit encoding. It shows that the chosen classical architecture can learn the reported structured mapping under the experiment’s conditions.

### What the ablations show

The paper offers controlled comparisons of angle assignments, network architectures, and optimizers, but does not present a comprehensive component-by-component ablation of the full translation pipeline.

#### Rearranging angles tests a specific association

The clearest representational control preserves the English circuit architecture while rearranging rotation angles. Because the set of existing angle values is retained, the comparison focuses on their placement rather than on a wholly different parameter inventory.

The resulting entropy pattern becomes less regular relative to the paired Persian circuits. This supports the authors’ conclusion that angle assignments matter to the observed circuit behavior. It also supports the narrower claim that shared lexical parameterization contributes to the cross-language pattern in this construction.

It does not show that the statistic independently recovers meaning. The matching parameters were assigned using known word correspondences. The control therefore tests what happens after that correspondence has been built into the representation.

Nor does it establish a universal rule that correct translations must have entropy differences near unity. That relationship appears in the selected circuits and parameterization. A different grammar mapping, circuit family, measurement convention, or lexical encoding might produce another relationship.

#### The pairwise matrix tests whether alternatives compete

The heat map is more informative than a list of intended pairs because it exposes competing targets. A source sentence can have an apparently favorable comparison with its correct translation while also matching another sentence.

The authors’ discussion of different people performing the same action is particularly useful. It suggests that the entropy summary can respond strongly to a shared grammatical pattern while failing to preserve the identity distinction required for exact translation.

This analysis does not make the entropy observation useless. It clarifies its likely role. A statistic with such collisions may still help rank or screen candidates, but a further comparison must resolve distinctions that the statistic discards.

The paper does not report a separate entity-sensitive method that resolves these cases. Its analysis identifies the problem rather than demonstrating a completed remedy.

#### Architecture comparisons do not isolate every component

The network comparison shows that the reported configurations differ in performance. It gives practical support for choosing the strongest configuration within that experiment.

However, the descriptions involve changes in layer arrangement and other architectural choices. The paper does not provide a tightly controlled comparison that adds or removes RepeatVector while holding every other detail constant. The results therefore should not be read as a measured effect attributable solely to that operation.

Similarly, the architectural evaluation does not compare circuit encodings with direct sentence encodings under matched conditions. It leaves open whether the gain comes from a particularly suitable sequence architecture, a highly regular target representation, or an interaction between them.

#### The optimizer comparison concerns training dynamics

The optimizer results favor Adam for the reported architecture and task. The accompanying curve is consistent with successful loss reduction during training.

This comparison does not answer whether the representation is linguistically adequate. A procedure can optimize a target encoding effectively even if that encoding omits distinctions needed for translation. Optimization quality and representational adequacy remain separate questions.

Most importantly, no experiment removes or adds an entropy-based matching layer inside the translation network. Such a layer is proposed, but its contribution to translation is not measured. The entropy analysis and the LSTM experiment should therefore remain separate pieces of evidence.

### Limitations

#### Limits the authors acknowledge

The authors describe their sentence collection as small and built around relatively simple correspondences. They recognize that translating richer constructions will require more sophisticated treatment. In particular, they identify the problem of mapping multiword constructions across languages as future work.

This matters because shared angles are easiest to interpret when a corresponding lexical unit can be identified directly. More complex translation can redistribute information across phrases or grammatical constructions. The paper does not demonstrate how its parameter-sharing scheme handles those cases.

The authors also give an important mathematical warning about entropy. A distribution concentrated on a particular outcome has no uncertainty, but a distribution concentrated on a different outcome can have the same entropy. The statistic therefore cannot establish that the underlying states or meanings are close.

Their empirical matching analysis exhibits a related limitation. Sentences with very similar syntax can compete even when their named participants differ. The representation or its summary does not always preserve the distinctions required for choosing the intended translation.

The paper discusses quantum noise as another limitation, including decoherence and control errors. These are reasons to be cautious about future device execution. The entropy experiments reported here use the IBMQ-qasm-simulator, so the discussion should not be interpreted as a measured hardware-noise study.

#### Limits apparent from the experimental design

The initial cross-language semantic connection is supplied by shared parameters for selected corresponding words. That is a useful controlled construction, but it changes the interpretation of the task. The experiment does not demonstrate discovery of those correspondences from unaligned language data.

Likewise, the expanded sentence collection comes from the smaller controlled setting. The paper does not describe a broad sample of naturally occurring translation problems with varied domains, construction types, and ambiguities. Its results establish feasibility within its chosen representation rather than coverage of English–Persian translation.

The learned mapping remains classical. The LSTM consumes a circuit description, not an unknown quantum state that it processes directly as a quantum recurrent network. Calling the workflow hybrid is accurate, but the experiment does not establish that quantum processing performs the central learned translation operation.

The reported errors are also indirect measures of translation success. A small deviation in encoding space might correspond to a meaningful change in circuit behavior, or it might concern an inconsequential representation detail. Without explicit reconstruction and semantic evaluation, the connection between numerical error and translation quality remains uncertain.

The paper does not report conventional text-translation metrics or human evaluation. It also lacks a matched baseline using ordinary sentence representations. As a result, the results cannot show that circuit encoding improves translation relative to a classical alternative.

The evaluation split is insufficiently detailed for a confident claim about generalization to an independently specified test set. The number of examples alone does not resolve that issue. The relevant question is which examples, lexical items, and constructions were unavailable during fitting and configuration selection.

The numerical reporting has additional ambiguities. The paper describes sparse categorical cross-entropy while also presenting regression-style error measures on the encoded representations. A fuller explanation of the output coding and evaluation calculation would help relate these quantities. The architectural description also does not provide a complete controlled specification for attributing performance differences to individual components.

Some details in the entropy presentation require caution. The discussion alternates between a generic description of outcome distributions and the earlier account of post-selection. It does not make the relationship between those sampling descriptions fully explicit. The interpretation of entropy depends on which outcomes are retained and how the distribution is normalized.

The long decimal values in the entropy tables should not be confused with demonstrated statistical precision. They come from finite-shot measurements. The paper does not accompany them with repeated-run uncertainty estimates showing how stable those values are under resampling or parameter randomization.

#### No demonstrated end-to-end quantum advantage

The complexity discussion points to compact quantum representation. It gives examples of eight qubits associated with a 256-dimensional vector and 12 qubits associated with a 4096-dimensional vector. These examples describe representational capacity, not measured memory or runtime for the full translator.

The paper also invokes the search complexity associated with Grover’s algorithm:

```
O(√N)
```

N is the number of candidate items, and O describes asymptotic computational scaling. The expression refers to the cited quantum search setting, rather than to a measured complexity bound for the translation pipeline.

The classical comparison is:

```
O(N)
```

Again, N is the candidate-set size. This contrast motivates interest in quantum methods, but it does not establish that the paper’s grammar conversion, circuit preparation, sampling, encoding, classical training, and reconstruction collectively achieve that search advantage.

No end-to-end runtime comparison is reported against a matched classical translator. There is no measured accounting of preparation cost, retained post-selected outcomes, encoding overhead, or classical network training as a complete system.

The discussion also includes an external speedup claim with an unresolved citation marker. It should not be treated as evidence for this experiment. The paper’s defensible achievement is the construction and examination of a small hybrid translation workflow, with quantum computational advantage left open.

### What came after

The later citation identified for this paper is [Quantum Compositional NLP for Arabic](https://md.research.elamur.ai/free/en/papers/mohammed-2026-quantum-compositional-nlp-arabic-grammar/), published in 2026. Its title foregrounds Arabic grammar, morphology, and word sense in relation to circuit topology. That places it near the central representational question here: how linguistic structure and lexical distinctions should shape a quantum circuit.

The available citation information does not describe its method, experiments, or conclusions. It therefore does not establish whether that work reuses shared rotation angles, adopts entropy-based matching, changes the grammatical construction, or implements a translation system. A more specific account of technical inheritance would go beyond the evidence available for that later work.

The original paper itself identifies several possible continuations. These include incorporating matching information into recurrent quantum architectures, evaluating additional datasets, and handling correspondences between multiword constructions. Those are proposed research directions, not reported subsequent achievements.

What remains open is therefore concrete: whether the entropy pattern survives richer linguistic variation, whether a matching layer improves translation under controlled evaluation, and whether circuit-based representations offer an advantage once every stage of the workflow is counted. The paper provides a small experimental starting point for those questions while leaving their broader answers unresolved.

## Cite

Cite as Mina Abbaszade, Mariam Zomorodi, Vahid Salari and Philip Kurian. 2023. Toward Quantum Machine Translation of Syntactically Distinct Languages. arXiv:2307.16576.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2307.16576](https://doi.org/10.48550/arxiv.2307.16576) · [arXiv 2307.16576](https://arxiv.org/abs/2307.16576)

```bibtex
@misc{abbaszade2023toward,
  title = {{Toward Quantum Machine Translation of Syntactically Distinct Languages}},
  author = {Mina Abbaszade, Mariam Zomorodi, Vahid Salari and Philip Kurian},
  year = {2023},
  doi = {10.48550/arxiv.2307.16576},
  eprint = {2307.16576},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2307.16576}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
