Real quantum feature map encoding

Amplitude-encoded quantum feature maps using Chebyshev and Hartley polynomials address the limitations of current quantum machine learning models by enabling efficient and accurate approximation of functions, particularly for real-valued data, and improved model trainability on NISQ hardware.

WO2025002636A1PCT designated stage expired Publication Date: 2025-01-02PASQAL SAS

Patent Information

Application Number
PCT/EP2024/062353
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-29
Filing Date
2024-05-03
Publication Date
2025-01-02

AI Technical Summary

Technical Problem

Current quantum machine learning models face challenges in approximating certain classes of functions, particularly polynomials, due to limitations in available quantum operations and the need for more natural and direct approximation methods, with existing feature maps being phase-encoded and not optimal for real-valued data encoding.

Method used

The development of amplitude-encoded quantum feature maps using real-valued basis functions such as Chebyshev and Hartley polynomials, which allow for analytical differentiation and efficient encoding of data in quantum states, enabling better approximation of functions and improved model trainability.

Benefits of technology

These amplitude-encoded feature maps facilitate more efficient and accurate quantum model training, allowing for analytical differentiation and improved generalization capabilities, particularly for real-valued data, and can be implemented on current NISQ hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024062353_02012025_PF_FP_ABST
    Figure EP2024062353_02012025_PF_FP_ABST
Patent Text Reader

Abstract

Methods and systems are disclosed for manipulating quantum data in a real quantum basis. The method comprises formulating one or more quantum circuits including an amplitude-based feature map comprising gate operations for encoding one or more input features in a Hilbert space of quantum elements of a quantum register. The gate operations are configured to encode the one or more classical input features in amplitudes of a set of orthogonal basis states of the quantum register, wherein the amplitudes are based on one or more basis functions. This also includes a method for executing a transform associated with the feature map on a quantum processor comprising a quantum register. The method comprises preparing the quantum register in a first state representing a computational basis state; formulating a transform circuit configured to map a computational basis state to a feature- map-associated basis state; and applying the transform circuit to the quantum register.
Need to check novelty before this filing date? Find Prior Art

Description

[0001]Real Quantum Feature Map Encoding Technical field The disclosure relates to data encoding in quantum computing systems, and in particular, though not exclusively, to methods and systems for encoding data quantum computing systems, and to a computer program product enabling a computer system to perform such methods. Background Quantum computers or quantum processing units (QPUs) change the way information is processed. For certain problems they offer drastic computational speed up, ranging from quadratic acceleration of searching unstructured data, to exponential improvements for factoring large numbers used in encryption applications. Using qubits and coherent superpositions of binary strings, QPUs utilize quantum interference effects to amplify the correct solution, reached in fewer steps than classical computers ever can. QPU- based computers are well-suited for chemistry applications, as they are naturally suitable for the simulation of certain quantum processes. At the same time, QPU-based computers are not directly suited for all computational problems, and can be seen as specialized machines (akin to GPUs), that need to be tailored to the problem at hand. Designing these machines and their operational schedule is crucial for solving problems faster than any available classical methods. This remains true for tasks and applications in, e.g., machine learning. A class of tasks that has recently received much attention is Quantum Machine Learning (QML). Quantum machine learning is a field at the interface of artificial intelligence and quantum information processing, focussing on manipulation of quantum data. In general, quantum machine learning aims to build quantum models that efficiently solve certain machine-learning problems. A quantum machine learning model can be considered a quasi- probability distribution created by a quantum circuit, optionally followed by measurement post-processing. Typically, the goal is to prepare expressive and trainable quantum models using high-dimensional (exponentially large) Hilbert spaces. However, this is challenging because high expressivity can lead to poor trainability (barren plateaus) and difficulties with generalization. These quantum models are, essentially, complex, highly non-linear functions that map an input to an output. However, the functions that can be modelled efficiently depend on the parameters of the quantum machine learning model. As the set of currently available operations for quantum processing units is limited, current quantum machine learning models are similarly limited; that is, quantum machine learning models can only model functions for which corresponding quantum circuits are known. In particular, there is a need for algorithms that can better (more naturally / directly) approximate certain classes of functions, e.g., polynomials, than current quantum machine learning models. M. Schuld et al., ‘Quantum machine learning in feature Hilbert spaces’, Phys. Rev. Lett.122 (2019) 040504 describes various feature encoding maps in a mathematical way. However, this paper only gives a mathematical description, and does not provide a way to practically implement the described feature maps, i.e., the paper does not provide explicit quantum circuits. More importantly, the discussed feature maps do not combine analytical differentiability with amplitude encoding, and they are not optimal for certain classes of problems. WO 2022 / 101483 A1 discloses two feature maps that are referred to as “Chebyshev feature map” and “Chebyshev tower feature map”, respectively. However, these are phase- encoded feature maps with a non-zero imaginary part, rather than (real) amplitude-encoded feature maps. Furthermore, these known feature maps do not map an input value on a vector (wavefunction) associated with an orthonormal (or even orthogonal) basis. Hence, from the above, it follows that there is a need in the art for a system and method for a new quantum feature map. Summary It is an aim of embodiments in this disclosure to provide a system and method for encoding data on quantum hardware that avoids, or at least reduces the drawbacks of the prior art. In a first aspect, embodiments in this disclosure relate to a method for encoding one or more data points ^ in a Hilbert space associated with a quantum register of a quantum processor, the quantum register comprising ^ qubits. The encoding comprises: receiving or determining the one or more data points ^; and applying a quantum circuit to the quantum register that encodes, for each of the one or more data points ^, a value ^ ^^(^), ^ = 0, … , ^ − 1, in an amplitude of a ^thbasis state of the quantum register, wherein ^ = 2^is a number of available basis states of the quantum register, wherein ^^represents a basis function of degree ^ associated with a real-valued (typically orthonormal) function basis, and wherein ^ is a normalisation factor. This feature map uses amplitude encoding, with equal phase on each wavefunction amplitude, of the one or more data points. Thus, the resulting wavefunction is completely real-valued, or optionally, complete imaginary, but with no relative phase between them. For example, the basis function ^^may be a Chebyshev polynomial ^^. In that case, this encoding may be referred to as a Chebyshev feature map, and the one or more data points are encoded in an orthonormal basis of Chebyshev polynomials. As will be explained in more detail below, this Chebyshev feature map can be differentiated analytically, which extends to quantum circuit differentiation. In another example, the basis function ^^may be a Hartley basis function, in which case the encoding may be referred to as a Hartley feature map, encoding the one or more data points in an orthonormal basis of Hartley basis functions. The Hartley basis functions can also be differentiated analytically, with a similar extension to quantum circuit differentiation. The quantum processor can be part of a hybrid classical / quantum data processing system, with the classical data processing system controlling the quantum data processing system. In general, amplitude-based feature maps offer computational advantages, as they lead to quantum states with real amplitudes, thus avoiding the computational complexity of complex numbers of spectral-based feature maps such as Fourier basis states. In particular, encoding using real basis functions may be more efficient when encoding real-valued data or functions. In a further aspect, embodiments in this disclosure relate to a method for solving a computational problem using a hybrid quantum computer system comprising a classical computer and a quantum processor. The method comprises receiving or determining one or more quantum circuits comprising gate operations on quantum elements, e.g., qubits, of the quantum register. The one or more quantum circuits include an amplitude-based feature map comprising gate operations for encoding one or more input features ^ (for example, one or more data points or function variables, e.g., variables of a differential equation), associated with the computational problem in a Hilbert space of the quantum elements of the quantum register. The gate operations are configured to encode the one or more classical input features ^ in amplitudes of a set of orthogonal basis states of the quantum register. In general, the amplitudes may be based on basis functions ^^(^) of order ^ of a real- valued function basis with ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register. For example, an amplitude of a ^thbasis state of the quantum register may correspond to ^ ^^(^). The method may further comprise executing the gate operations of the quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and for readout of the quantum elements to obtain hardware measurement data; and determining information associated with a solution to the computational problem based on the hardware measurement data. In an embodiment, the amplitudes are based on one or more Chebyshev polynomials of order ^, ^^(^), ^ = 0, … , ^ − 1 wherein ^ is a number of available basis states of the quantum register, typically ^ = 2^. In an embodiment, the feature map is a Hartley feature map, wherein the amplitudes are based on one or more Hartley basis functions of order ^, ^^(^), ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register. In an embodiment, the method comprises receiving or determining a problem description describing the computational problem and receiving or determining one or more data points ^ related to the computational problem. The method further comprises receiving or determining an encoding quantum circuit to encode the one or more data points ^ in a Hilbert space associated with a quantum register of a quantum processor of the hybrid quantum computer system. The quantum register comprises (at least) ^ qubits. The encoding quantum circuit is configured to encode, for each of the one or more data points ^, a feature map value ^ ^^(^), ^ = 0, … , ^ − 1 in an amplitude of a ^thbasis state of the quantum register. The method further comprises executing, by the quantum register, the encoding quantum circuit on the quantum register. The method may further comprise receiving or determining one or more additional quantum circuits, based on the problem description and executing, by the quantum register, the one or more additional quantum circuits on the quantum register. The method further comprises receiving measurement data representative of the state of the quantum register; and determining a solution to the computational problem based on the measurement data. In an embodiment, the feature map value is ^ ^^(^), ^ = 0, … , ^ − 1, wherein ^ = 2^ is a number of available basis states of the quantum register, wherein ^^(^) represents a Chebyshev polynomial of degree ^, and wherein ^ is a normalisation factor. In an embodiment, the feature map value is ^ ℎ^(^), ^ = 0, … , ^ − 1, wherein ^ = 2^ is a number of available basis states of the quantum register, wherein ℎ^(^) represents a Hartley basis function of degree ^, and wherein ^ is a normalisation factor. In a typical embodiment, the quantum register comprises at least two qubits, i.e., ^ > 1 (and ^ > 2). The one or more data points ^ may be rescaled to lie in the interval between minus one and plus one, i.e., ^ ∈ [−1,1] for all ^. The one or more data points may also be referred to as input data. Thus, embodiments in this disclosure allow to create a paradigm for building quantum models in a real-valued basis, e.g., the space of Chebyshev polynomials or Hartley basis functions. This allows to encode data into quantum states with amplitudes corresponding to real-valued basis functions (such as Chebyshev polynomials or Hartley basis functions) with a degree growing exponentially in the system size. This provides a new way of encoding data in quantum computers, which can provide computational benefits over, e.g., bitstring encoding in the computational basis or Fourier encoding (also known as spectral encoding), depending on the problem being solved. Examples of (classes of) problems that benefit from amplitude-based encoding such as Chebyshev or Hartley encoding are discussed below. Related to Fourier encoding is the well-known quantum Fourier transform, which maps the computational basis space into the phase (Fourier) basis space. These two circuits are closely connected on a conceptual level. Similarly, quantum transforms are described herein, i.e., quantum circuits for mapping the computational basis space into the basis space associated with the real quantum feature map (and / or vice versa), in particular a quantum Chebyshev transform associated with the Chebyshev encoding and a quantum Hartley transform associated with the Hartley feature map. This includes an embedding circuit for generating the orthonormal Chebyshev basis and Hartley basis of exponential capacity, represented by a shallow parameterized isometry. The availability of a feature map and an associated transform allows, for example, training of a model on data encoded using that feature map, and subsequent sampling of the trained model using the associated transform. This is described (both in general and specifically for the Fourier feature map / Quantum Fourier Transform) in PCT / EP2023 / 052998, which is incorporated herein by reference in its entirety. Another advantage of the described feature map (for which, as mentioned, an associated transform is also disclosed herein) is that this allows to train quantum machine learning models partially in spectral space and partially in real space. Feature maps using amplitude encoding (such as the Chebyshev and Hartley feature maps) enable models that can be trained in an efficient manner (e.g. using the Harrow- Hassidim-Lloyd (HHL) algorithm). Yet, contrary to most currently available amplitude encoding schemes such as bitstring encoding, these feature maps also allow for analytical differentiation of the quantum model. This increases the number of use cases for the feature maps. As described in more detail below, the described feature map can be used in combination with the (generalised) parameter shift rule. Moreover, since the derivative of abasis function can typically be expressed in terms of lower-order and / or modified basis functions, several derivation schemes can be used, depending on their suitability for the use case at hand. For example, the derivative of a Chebyshev polynomial is a combination of lower-order Chebyshev polynomials, and the derivative of a Hartley basis function can be written as another Hartley basis function with a shifted phase. Thus, both a function (or approximation) and its derivative can be expressed analytically. By contrast, for encoding in the computational basis (and similar amplitude encodings), only finite-difference based methods are available, which require complex circuitry for their practical implementation, and which introduce numerical imprecision errors that do not occur for the analytically determined derivatives described herein. The Chebyshev polynomial can be a Chebyshev polynomial of the first kind or a Chebyshev polynomial of the second kind. In some embodiments, a combination of Chebyshev polynomials of the first and second kind may be used. A Chebyshev polynomial of the first kind of order ^ may be defined as: ^^(cos ^)= cos(^ ^) or ^^(^)= cos(^ arccos ^), ^ ∈ [−1,1] (1) A Chebyshev polynomial of the second kind of order ^ may be defined as: ^^^^(^^ ) ^ ^^(cos ^) ^ ^ = ^^^ ^ , ^ ∈ [−1,1] (2) Depending on the computational problem being solved, Chebyshev polynomial of the first or second kind, or a combination thereof, may be best suited to encode the one or more data points. A Hartley basis function of order ^ may be defined as: ℎ^(^) = cas where cas(^)= cos(^) + sin(^) and ^ = 2^, where ^ is the number of encoding qubits. The corresponding Hartley basis states may be defined as In an embodiment, the one or more data points ^ are selected from a Chebyshev grid of degree ^. A Chebyshev grid of degree ^ may be defined as either (known as the roots grid), or as (known as the extrema grid), wherein ^ is a non-negative integer smaller than ^ for the root grid (i.e., ^ = 0, 1, … , ^ − 1) and wherein ^ is a non-negative integer smaller than or equal to ^ for the extrema grid (i.e., ^ The integer ^ can be a function of a data point ^, e.g., ^(^)= floor^ ^^^^^^ ^^, wherein ^^^^represents a minimum or infimum value of a range with potential values for the one or more data points, and wherein ^^^^represents a maximum or supremum value of the range with potential values for the one or more data points. If the data points correspond to Chebyshev grid points (of either the root grid or the extrema grid), the Chebyshev polynomials form an orthonormal basis, and the normalisation factor ^ equals one; i.e., in that case, the amplitude of the ^thbasis state becomes ^^(^). The use of an orthonormal basis may simplify computations, and hence lower hardware requirements. An orthonormal basis moreover spans a maximally large space (in this case, a maximally large functions space), given a fixed (finite) number of basis states. Additionally, the above described combination with the quantum Chebyshev transform is generally combined with an orthonormal feature map. In an embodiment, the amplitude-based feature map (e.g., Chebyshev or Hartley feature map) defines gate operations on quantum elements for encoding the one or more input features ^ and on a quantum element that is used as an ancilla for the encoding quantum elements. The amplitude-based feature map may include one or more sub-circuits. For example, the amplitude-based feature map may include a first sub-circuit configured to prepare the quantum elements in a superposition of basis states, e.g., computational basis states. The amplitude-based feature map may include a second sub-circuit configured to encode the basis functions (e.g., the Chebyshev polynomials or Hartley basis functions) based on phase gates, wherein at least part of the phase gates are controlled by the ancilla. The phase of the phase gates can be dependent on the one or more input features ^. The amplitude-based feature map may include a third sub-circuit for selecting a sum term based on the state of the ancilla. The sub-circuits may be applied in the order first to third. The third sub-circuit may typically be delayed, i.e., other sub-circuits (e.g., related to a computational problem to be solved) may be inserted before the third sub-circuit. In case the feature map is a Chebyshev feature map, the Chebyshev feature map may include a further sub-circuit for adjusting a norm of the zeroth-order Chebyshev polynomial. The further sub-circuit is typically inserted between the second and third sub- circuits. In case the feature map is a Hartley feature map, the Hartley feature map may include a further sub-circuit for applying one or more phase delays to the ancilla, e.g., one phase delay that is independent of the one or more input features ^ and one phase delay that is dependent on the one or more input features ^. The further sub-circuit is typically inserted between the second and third sub-circuits. For example, the quantum register may comprise ^ + 1 qubits, with the encoding comprising selecting one of the ^ + 1 qubits in the quantum register as an ancillary qubit and selecting the ^ other qubits as encoding qubits. The encoding may further comprise preparing the ^ + 1 qubits in the quantum register in an initial state, preferably the computational zero state|∅^=|0^⊗^^^. In an embodiment using a Chebyshev feature map, the first sub-circuit may create a superposition of all 2^^^= 2^ basis states, the second sub-circuit may encode the Chebyshev polynomials ^^(^) in the ^ encoding qubits, the third sub-circuit may adjust a norm of the zeroth-order Chebyshev polynomial, and the fourth sub-circuit may select a sum term. In particular, the encoding circuit may comprise the first through fourth sub-circuits in the specified order. In an embodiment using a Hartley feature map, the first sub-circuit may create a superposition of all 2^^^= 2^ basis states, the second sub-circuit may encode the Hartley basis functions ℎ^(^)in the ^ encoding qubits, the third sub-circuit may apply a phase shift to the ancilla qubit, and the fourth sub-circuit may select a sum term. In particular, the encoding circuit may comprise the first through fourth sub-circuits in the specified order. The step of creating a superposition of all 2^^^basis states may comprise applying an Hadamard gate to the 1 ancillary qubit and to the ^ encoding qubits. The step of encoding the Chebyshev polynomials ^^(^) in the encoding qubits may comprise applying scaled phase gates (^)to the encoding qubits ^ = 1, … , respectively, and applying controlled scaled phase gates ^^^^^^ (^)to the encoding qubits ^ = 1, … , respectively, wherein the controlled scaled phase gates are controlled by the ancillary qubit. A single-qubit scaled phase gate ^^^^^ (^)may be defined by ^^^^^ (^)= ^^^^ ^^^^^^ ^ ^ ^ ^ ^ = diag ^1, exp ^i ^^^arccos ^^^ (5a) where ^ is the index of the qubit to which the gate is applied, and where ^ = 1 or ^ = −2. The step of adjusting a norm of the zeroth-order Chebyshev polynomial may comprise applying a first not-gate to each of the encoding qubits, a controlled rotation-gate ancillary qubit, the controlled gate being controlled by all encoding qubits, and applying a second not-gate to each of the encoding qubits. The step of selecting a sum term may comprise applying an Hadamard gate to the ancillary qubit, and projecting the ancilla qubit on the |0^-state. When encoding Hartley basis functions, the first and last steps are the same as for the Chebyshev polynomials. However, the step of encoding the Hartley basis functions ℎ^(^) in the encoding qubits may comprise applying scaled phase gates (^)to the encoding qubits ^ = 1, … , respectively, and applying controlled scaled phase gates to the encoding qubits ^ = 1, … , respectively, wherein the controlled scaled phase gates are controlled by the ancillary qubit. A single-qubit scaled phase gate ^^^^^ (^)may be defined by ^ ^ ^ diag ^1, exp ^i ^^^^^ (5b) step of applying a phase shift may comprise applying a first rotation-gate ^^^^ The ^^ and a second rotation-gate ^^(2 ^ ^)to the ancillary qubit. It has been found that by encoding the Chebyshev polynomials and Hartley basis functions in this way, the method can be performed on currently available hardware, which is typically so-called NISQ hardware (noisy intermediate-scale quantum hardware). It is noted that the method can be extended in a straightforward manner to other (orthonormal) basis functions ^^(^)by writing ^^(^)= cos(arccos ^^(^)) and applying a corresponding single- qubit scaled phase gate ^^^^^ (^)defined by ^^^^^ (^)= ^^^(^ arccos ^^(^))(5c) It is noted that, in particular, the step of selecting the sum term may be postponed. This step may be implemented using post-selection. Depending on the used hardware, the projection of the ancilla may collapse the wavefunction for both the ancillary and encoding qubits. In an embodiment, the computational problem relates to solving one or more equations, for example differential equations. In such an embodiment, the quantum circuit may define gate operations of a trainable quantum model of a target function representing a solution to the one or more one or more equations, and the execution of the quantum circuit may include training a quantum model to approximate the target function by extremising a cost or loss function value. In an embodiment, the training includes: translating the gate operations of the quantum circuit into control signals for controlling quantum elements of the quantum register and readout of the quantum elements to obtain hardware measurement data; executing the gate operations of the quantum circuit based on the control signals; determining an estimated target function and, optionally, one or more derivatives of the estimated target function based on the hardware measurement data; and computing a loss or cost function value based on the estimated target function and the one or more derivatives of the estimated target function, adjusting one or more variational parameters and repeating the execution of the gate operations of the quantum circuit, and determining of an estimated target function until the computed loss or cost function value indicates that the estimated target function matches a solution to the one or more equations and, optionally, one or more associated boundary conditions. The derivatives of the estimated target function may be determined with respect to an input variable, and / or with respect to a variational parameter. In an embodiment, the method further comprises receiving or determining a differentiated quantum circuit, the differentiated quantum circuit comprising gate operations for encoding, for each of the one or more input features, a value based on a derivative of the basis function with respect to the one or more input features in the amplitudes the set of basis states of the quantum register. The differentiated quantum circuit may be obtainable by one of: applying the parameter shift rule to the encoding quantum circuit; performing (mid-)circuit measurements on the encoding quantum circuit with symmetrically shifted input features; or determining analytical derivatives for the basis function of order ^, ^ = 0, … , ^ − 1, expressing the analytical derivatives in terms of combinations and / or modifications of the basis functions, and determining a series of quantum circuits configured to encode the combinations and / or modifications of the basis functions as an effective unitary transformation. For example, the differentiated quantum circuit may be obtainable by determining analytical derivatives for the Chebyshev polynomial of order ^, ^ = 0, … , ^ − 1, expressing the analytical derivatives in terms of lower-order Chebyshev polynomials, and determining a series of quantum circuits configured to encode the lower-order Chebyshev polynomials as an effective unitary transformation. Alternatively, the differentiated quantum circuit may be obtainable by determining analytical derivatives for the Hartley basis function of order ^, ^ = 0, … , ^ − 1, expressing the analytical derivatives in terms of phase-shifted Hartley basis functions, and determining a series of quantum circuits configured to encode the phase-shifted Hartley basis functions as an effective unitary transformation. Thus, the differentiated quantum circuit may comprise gate operations for encoding, for each of the one or more input features ^, a value ^ ^^^(^), ^ = 0, … , ^ − 1 in the amplitudes of the set of basis states of the quantum register, wherein ^^ ^(^) represents a derivative of the Chebyshev polynomial of order ^ with respect to the one or more input features. More in particular, the value ^ ^^^ (^), ^ = 0, … , ^ − 1 may be encoded in the amplitude of the ^thbasis state of the quantum register. Alternatively, the differentiated quantum circuit may comprise gate operations for encoding, for each of the one or more input features ^, a value ^ ℎ^^ (^), ^ = 0, … , ^ − 1 in the amplitudes of the set of basis states of the quantum register, wherein ℎ^ ^ (^) represents a derivative of the Hartley basis function of order ^ with respect to the one or more input features. More in particular, the value ^ ℎ^^(^), ^ = 0, … , ^ − 1 may be encoded in the amplitude of the ^thbasis state of the quantum register. Thus, a model based on this encoding can be differentiated analytically at the circuit- level. Access to an analytically determined derivative of the used feature map (e.g., the Chebyshev or Hartley feature map, but the same holds for many other much used function bases) allows solving a wide range of computational problems based on that feature map, including solving differential problems, the use of gradient-based optimisation methods such as may be applied in an extremal learning context, et cetera. In an embodiment, the further quantum circuit comprises a variational quantum circuit. In such an embodiment, the method may further comprise variationally optimising a parameter of the variational quantum circuit by measuring and extremising a cost or loss function value. The variational quantum circuit may represent, e.g., a quantum neural network. In principle, training a quantum neural network (or optimising some other kind of variational quantum circuit), and using the trained (or optimised) circuit, is known in the art. However, the use of a specific, in particular a real-valued, feature map to encode the input data can allow, depending on the particulars of the computational problem, the training of more accurate models. This is especially true for the Chebyshev feature map. In an embodiment, the method further comprises applying a quantum transform associated with the amplitude-based feature map to the quantum register, e.g., a quantum Chebyshev transform for the Chebyshev feature map or a quantum Hartley transform for the Hartley feature map. If the amplitude-based feature map as described above has been used to model a statistical distribution, this allows sampling in the computational basis of the modelled statistical distribution. Thus, this can be used in, e.g., (differential) quantum generative modelling. For example, among various possible applications, the quantum transform (e.g., the quantum Chebyshev transform or quantum Hartley transform) can be applied to generative modelling from stochastic differential equations. Learning physically and financially motivated distributions, the quantum transform may be performed for efficient sampling of these distributions in an extended computational basis; that is, the sampling may use a larger number of qubits than the training, leading to an increased granularity of the samples without increasing the training time. In such an embodiment, the method may further comprise receiving or determining a formulation of a quantum circuit representing a Quantum Chebyshev Transform or a Quantum Hartley Transform. An embodiment relates to a method for sampling a generative model associated with a probability density function, PDF, in one or more dimensions, the probability density function being parameterized by a possibly higher-dimensional variable and, optionally, one or more further parameters, such as time. The method uses a hybrid data processing system comprising a classical computer and a quantum register. The method comprises receiving or determining a trained quantum neural network, QNN, the trained QNN being describable by an amplitude-based (e.g., Chebyshev or Hartley) feature map for encoding the variable and a first parameterized quantum circuit, the trained QNN modelling the probability density function; and executing a sampling process, the sampling process including generating, by the quantum processor, samples based on the modelled probability density function. The generation of samples comprises preparing the quantum register of the quantum processor in an initial state; applying a second parameterized quantum circuit to the quantum register, the second parameterized quantum circuit comprising an inverse (e.g., Hermitian conjugate) of the first parametrized quantum circuit of the trained QNN; applying a quantum transform circuit associated with the amplitude-based feature map (e.g., a quantum Chebyshev or Hartley transform), and measuring the quantum register in a computational basis associated with the amplitude-based feature map, yielding bitstrings as measurement results, each bitstring representing a sample based on the modelled probability density function. In an embodiment, determining the trained QNN comprises receiving a set of information about a distribution function associated with the probability density function, the set of information including measurements of a stochastic process and / or an explicit or implicit functional description of the distribution function; and executing a training process for training the QNN using training data based on the set of information and a loss function, the training process comprising execution of the QNN on the quantum register. The execution of the QNN comprising preparing the quantum register of the quantum processor in the initial state; applying a quantum circuit defining the amplitude-based feature map to the quantum register; applying the first parameterized quantum circuit to the quantum register, the first parameterized quantum circuit being associated with variational parameters; and measuring a cost function value on the quantum register, the cost function value representing the output of the QNN. Some of the embodiments in this disclosure present a practical implementation of a Chebyshev feature map or a Hartley feature map. Some embodiments in this disclosure present a practical implementation of a quantum Chebyshev transform or a quantum Hartley transform. Such practical implementation may comprise a concrete set of hardware pulses / operations known as ‘quantum gates’. This allows these algorithms to be implemented on actual quantum hardware, instead of (mere) simulations. The workflow for implementing these encodings and transforms on a quantum hardware device allow for significant utility and improvement of existing and future quantum algorithms, opening up further the potential for quantum advantage. It is noted that the proposed quantum circuits for the quantum transforms, in particular the Chebyshev and Hartley transforms, need only polylogarithmic numbers of operations. This represents a great potential increase in computational speed compared to current classical implementations. Thus, in an aspect, this disclosure relates to a method for executing a quantum transform associated with the function basis on a quantum register of a hybrid quantum computer system. The method comprises preparing the quantum register in a first state representing a computational basis state, receiving or determining a transform quantum circuit comprising gate operations on quantum elements (e.g., qubits) of the quantum register, the transform quantum circuit comprising gate operations configured to map a computational basis state to a basis state associated with the function basis, and executing the gate operations of the transform quantum circuit. The execution of the gate operations may include translating the gate operations into control signals for controlling the quantum elements of the quantum register and, optionally, for readout of the quantum elements to obtain hardware measurement data. The quantum register may comprise at least ^ qubits. In an embodiment, the function basis is a Chebyshev function basis, the quantum transform is a quantum Chebyshev transform, and the basis state associated with the function basis is a Chebyshev basis state. In such an embodiment, a unitary representation of the transform quantum circuit ^^^^^^may be given by wherein ^ represents the number of basis states, represents a Chebyshev basis state with index ^, and ^^| represents a computational basis state with index ^. Typically, ^ = 2^. In an embodiment, the function basis is a Hartley function basis, the quantum transform is a quantum Hartley transform, and the basis state associated with the function basis is a Hartley basis state. In such an embodiment, a unitary representation of the transform quantum circuit ^^^^^may be given by wherein ^ represents a number of basis states, represents a Hartley basis state with index ^, and ^^| represents a computational basis state with index ^. Mathematical objects known as ‘transforms’ are tools used in a broad range of engineering and science applications. These transforms map a function from its original function space into another function space. There are many classes of problems that are difficult to solve in the original function space, but much easier in the other function space. An example of a well-known transform is the Fourier Transform. This transform maps between real space and phase space (‘reciprocal space’). Quantum computers are special-purpose hardware devices that, when executing specific sets of instructions, may present a fundamental scaling advantage in solving certain types of computational problems. Sequences of operations performed on such devices for specific purposes are known as ‘quantum algorithms’. Many such algorithms are based on subroutines (smaller sequences) which perform specific subtasks of the overall problem. One well-known subroutine, found in algorithms like Shor’s algorithm, HHL and the Quantum Phase Estimation algorithms, is known as the Quantum Fourier Transform. This sequence of operations effectively applies a Discrete Fourier Transform over the qubit register. The purpose of using such transform is to manipulate data and information in a basis that ‘makes sense’ for the purposes of the application. Fourier decomposition makes sense in applications where oscillations and periodic functions need to be approximated. Conversely, some applications find better connections with polynomial expansion. As an example, within the context of differentiable generative modelling (DQGM), Fourier encoding (also known as spectral encoding) allows for analytical differentiation of the model, which in turn allows for efficient variational solving of differential equations. However, there are limitations to the capacity to express and train quantum models based on Fourier encoding. Some target distributions are difficult to represent with (a limited set of) Fourier functions. Instead, one would like to consider alternative encodings to represent such difficult distributions. The feature maps described herein (e.g., the Chebyshev and Hartley feature maps) present such an alternative encoding. The associated quantum transforms (e.g., quantum Chebyshev and Hartley transforms, respectively) allow efficient sampling in a generative modelling context. In an embodiment, the Chebyshev basis is defined on the roots grid. In such an embodiment, the transform quantum circuit may define gate operations on data quantum elements in the first state and on a quantum element that is used as an ancilla for the data quantum elements. The transform quantum circuit may include one or more sub-circuits. The transform quantum circuit may comprise a first sub-circuit for creating a Bell state between the ancilla qubit and the data qubits. The transform quantum circuit may comprise a second sub-circuit for transforming from real space to spectral space. The transform quantum circuit may comprise a third sub-circuit for making the relative phases between all basis states either purely real or purely imaginary. The transform quantum circuit may comprise a fourth sub-circuit for permuting the data qubits to reorder amplitudes of the conditioned states. The transform quantum circuit may comprise a fifth sub-circuit for making the relative phases between all basis states either purely real or purely imaginary. In particular, the transform circuit may comprise the first through fifth sub-circuits in the specified order. For example, the quantum register may comprise at least ^ + 1 qubits and the method may further comprise selecting 1 of the ^ + 1 qubits in the quantum register as an ancillary qubit and selecting the ^ other qubits as data qubits. The first sub-circuit may comprise applying an Hadamard to the ancillary qubit and a controlled-not gate to each of the ^ data qubits. The controlled-not gate is controlled by the ancilla. The sequence of controlled-not gates applied to each of the ^ data qubits is also known as a CNOT ladder. The second sub-circuit may comprise applying a quantum Fourier transform to the ^ + 1 qubits. Several implementations for the second sub-circuit are known in the art. The third sub-circuit may comprise applying a rotation gate ^^ to the ^ data qubits, where ^ = 0, … , ^ − 1 is the index of the ^thqubit. The third sub-circuit may further comprise applying a first unitary operator ^^= to the ancillary qubit. The fourth sub-circuit may reorder the amplitudes of the conditioned states such that|1^^|Φ^→|1^^ + ^ − 1)mod ^^, where ^ = 2^represents the number of states. The fifth sub-circuit may comprise applying an Hadamard gate to the ancillary qubit and a controlled-not gate to each of the ^ data qubits, i.e. a second CNOT ladder controlled by the ancillary qubit. The fifth sub-circuit may further comprise applying a second unitary operator ^^= ^ ^− to the ancillary qubit and applying a zero-controlled rotation- gate ^^to the ancillary qubit, the controlled gate being controlled by all data qubits. A zero-controlled gate corresponds to a sequence of a first not-gate applied to each of the controlling qubits, the controlled gate (controlled by the |1^ state), and a second not-gate applied to each of the controlling qubits. In a different embodiment, the Chebyshev basis is defined on the extrema grid. In such an embodiment, transform quantum circuit defines gate operations on data quantum elements in the first state and on a quantum element that is used as an ancilla for the data quantum elements. The transform quantum circuit may include one or more sub-circuits. The transform quantum circuit may comprise a first sub-circuit for making the relative phases between all basis states either purely real or purely imaginary. The transform quantum circuit may comprise a second sub-circuit for permuting the data qubits The transform quantum circuit may comprise a third sub-circuit for transforming from real space to spectral space The transform quantum circuit may comprise a fourth sub-circuit for permuting the data qubits. The transform quantum circuit may comprise a fifth sub-circuit for making the relative phases between all basis states either purely real or purely imaginary. For example, the quantum register may comprise at least ^ + 1 qubits and the method may further comprise selecting 1 of the ^ + 1 qubits in the quantum register as an ancillary qubit and selecting the ^ other qubits as data qubits. The first sub-circuit may comprise applying a unitary operator ^^^^= to the ancillary qubit, and applying a zero-controlled daggered (i.e., Hermitian conjugate) rsion of the unitary operator ^ ^ ^^^= ^ ^^ ^^ ^ ve ^^^ ^^, the unitary operator being controlled by all data qubits, and applying a first controlled-not gate to each of the ^ data qubits. The third sub-circuit may comprise applying a quantum Fourier transform to the ^ + 1 qubits. The fifth sub-circuit may comprise applying a first controlled-not gate to each of the ^ data qubits and applying a zero-controlled version of the unitary operator ^^^^= ancillary qubit, the unitary operator being controlled by all data and applying the daggered version of the unitary operator ^ ^ ^^^= to the ancillary qubit. In an embodiment, the transform quantum circuit for the quantum Hartley transform defines gate operations on data quantum elements in the first state and on a quantum element that is used as an ancilla for the data quantum elements, and wherein the transform quantum circuit comprises at least one of: a first sub-circuit for transforming from real space to spectral space; a second sub-circuit for reordering amplitudes of intermediate states; a third sub-circuit for adjusting phases of the intermediate states; and a fourth sub-circuit for reordering amplitudes of intermediate states. In particular, the transform circuit may comprise the first through fourth sub-circuits in the specified order. For example, the quantum register may comprise at least ^ + 1 qubits and the method may further comprise selecting 1 of the ^ + 1 qubits in the quantum register as an ancillary qubit and selecting the ^ other qubits as data qubits. An Hadamard gate may be applied to the ancilla qubit. The first sub-circuit may comprise applying a quantum Fourier transform to the ^ encoding qubits. The second and fourth sub-circuits may comprise a combination of a CNOT-ladder conditioned on the ancilla and a permutation circuit to reorder the amplitudes of the conditioned states, respectively a Hermitian adjoint thereof. The third sub-circuit may encode a Hermitian adjoint of square root of a Pauli ^^gate and may be implemented In an aspect, the disclosure relates to a method for executing an inverse Chebyshev transform on a quantum register of a hybrid quantum computer system. The method comprises preparing the quantum register in a first state representing a Chebyshev basis state; receiving or determining an inverse transform quantum circuit comprising gate operations on quantum elements of the quantum register, the inverse transform quantum circuit comprising gate operations configured to map a Chebyshev basis state to a computational basis state, and executing the gate operations of the inverse transform quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and, optionally, for readout of the quantum elements to obtain hardware measurement data. The quantum register may comprise at least ^ qubits. The unitary representation of the inverse transform quantum circuit ^^^^^^^may be given by wherein ^ represents the number of basis states,|^^represents a Chebyshev basis state with index ^, represents a computational basis state with index ^. Typically, ^ = 2^. In an embodiment, the unitary representation of the inverse transform quantum circuit is equivalent to the Hermitian conjugate of the unitary representation of the transform quantum circuit as described above. That is, the defined sub-circuits are executed in reverse order, rotation angles and (relative) phase angles are multiplied by minus 1, and any unitary operator is replaced by its Hermitian conjugate. In principle, the information content of an ^-qubit register (the quantum register) can be described by ^ = 2^classical complex numbers. A ‘quantum circuit’ is a set of instructions sent by a classical computer to a quantum computer to execute certain ‘gate operations’, which in practice involve a sequence of operations on the quantum system such as microwave or optical pulses. As these gate operations can be described by a unitary matrix acting on the state vector of the quantum register, these gate operations are sometimes referred to as unitary operators or, in short, ‘unitaries’. In general, compressing 2^-dimensional data into an ^-qubit register is beneficial due to exponential memory savings. However, several problems arise. First, creating an exponentially compressed state from a vector of constants is a serious problem, that requires sophisticated techniques like quantum random access memory (QRAM) and may require exponentially many gate operations for preparing a general state, resulting in an exponential scaling of the algorithmic runtime. Current quantum devices are prone to noise and are not suited for large depth quantum circuits. However, the Hilbert space of these devices increases exponentially with the number of qubits, providing advantage over classical methods for certain problems. Quantum processors with about ~100 qubits may offer computational power inaccessible to classical computers. This corresponds to Noisy Intermediate Scale Quantum (NISQ) processors, that are special purpose devices that need to be co-designed with a problem in mind. In a further aspect, embodiments in this disclosure relate to a method for solving a computational problem using a hybrid quantum computer system, wherein the method comprises receiving or determining a problem description describing the computational problem. The method may further comprise receiving or determining one or more first quantum circuits, based on the problem description, whose application results in the at least ^ qubits in the quantum register obtaining a first state represented by a computational basis state, receiving or determining a transform quantum circuit configured to map a computational basis state to a Chebyshev basis state, and executing, by the quantum register, the transform quantum circuit to the quantum register; or, receiving or determining one or more second quantum circuits, based on the problem description, whose application results in the at least ^ qubits in the quantum register obtaining a second state represented by a Chebyshev basis state, receiving or determining an inverse transform quantum circuit configured to map a Chebyshev basis state to a computational basis state, and executing, by the quantum register, the inverse transform quantum circuit to the quantum register. The method may further comprise receiving or determining one or more additional quantum circuits, based on the problem description, and executing, by the quantum register, the one or more additional quantum circuits on the quantum register. The method further comprises receiving measurement data representative of the state of the quantum register; and determining a solution to the computational problem based on the measurement data. In an embodiment, applying one or more quantum circuits to the quantum register comprises translating each of the one or more quantum circuits into a sequence of signals (e.g., pulses, typically electric or electromagnetic pulses such as voltage pulses, optical pulses, or microwave pulses) and using the sequence of signals to operate the qubits in the quantum register of the quantum processor. In an embodiment, receiving hardware measurement data comprises applying a read- out signal to qubits of the quantum processor and, in response to the read-out signal, measuring quantum hardware measurement data. In general, the embodiments described herein can be implemented as sequences of operations that can be executed on, e.g., a neutral atom quantum computer, either in digital mode of operation, in analog mode, or in digital-analog mode. In particular, a hybrid quantum computer as described herein may include one or more of: a gate-based qubit device, a digital / analog quantum device, a neutral-atom-based quantum device, an optical qubit device and / or a gaussian boson sampling device. In an aspect, the disclosure relates to a hybrid quantum computer system comprising a classical computer system and a quantum register. The quantum register may have at least ^ qubits, with generally ^ > 1. In an embodiment, the hybrid quantum computer system is configured for receiving or determining, by the classical computer system, one or more quantum circuits comprising gate operations on quantum elements of the quantum register; executing, by the classical computer system, the gate operations of the quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and for readout of the quantum elements to obtain hardware measurement data; and determining, by the classical computer system, information associated with a solution to the computational problem based on the hardware measurement data. The one or more quantum circuits may include an amplitude-based feature map comprising gate operations for encoding one or more input features ^, for example one or more data points or function variables, associated with the computational problem in a Hilbert space of the quantum elements of the quantum register, the gate operations being configured to encode the one or more classical input features ^ in amplitudes of a set of orthogonal basis states of the quantum register, wherein the amplitudes are based on a set of basis functions of a real-valued function basis; and, optionally, a further quantum circuit, for example a variational quantum circuit, comprising gate operations determined by the computational problem. In an embodiment, the amplitude-based feature map is a Chebyshev feature map, and the amplitudes are based on one or more Chebyshev polynomials of order ^, ^^(^), ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register. In an embodiment, the amplitude-based feature map is a Hartley feature map, and the amplitudes are based on one or more Hartley basis functions of order ^, ℎ^(^), ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register. In an embodiment, the hybrid quantum computer system is configured for: preparing the quantum register in a first state representing a computational basis state and receiving or determining a transform quantum circuit comprising gate operations on quantum elements of the quantum register, the transform quantum circuit comprising gate operations configured to map a computational basis state to a basis state associated with a real-valued function basis; and / or preparing the quantum register in a second state representing a basis state associated with a real-valued function basis and receiving or determining an inverse transform quantum circuit comprising gate operations on quantum elements of the quantum register, the inverse transform quantum circuit comprising gate operations configured to map a basis state associated with a real-valued function basis to a computational basis state. The hybrid quantum computer system is further configured for executing the gate operations of the transform quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and, optionally, for readout of the quantum elements to obtain hardware measurement data. The real-valued function basis can be, e.g., a Chebyshev basis or a Hartley basis, and hence the respective basis states may be referred to Chebyshev basis states ot Hartley basis states. In general, the hybrid quantum computer system may be configured to execute any of the method steps described above. One aspect of this disclosure relates to a classical computer system or hybrid quantum computer system comprising a computer readable storage medium having computer readable program code embodied therewith, and a processor, preferably a microprocessor, coupled to the computer readable storage medium, wherein responsive to executing the computer readable program code, the processor is configured to perform any of the methods described herein. One aspect of this disclosure relates to a computer program or suite of computer programs comprising at least one software code portion or a computer program product storing at least one software code portion, the software code portion, when run on a classical computer system or hybrid quantum computer system, being configured for executing any of the methods described herein. One aspect of this disclosure relates to a non-transitory computer-readable storage medium storing at least one software code portion, the software code portion, when executed or processed by a computer, configures the computer or hybrid computing system to perform any of the methods described herein. As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system”. Functions described in this disclosure may be implemented as an algorithm executed by a microprocessor of a computer. Furthermore, aspects of the present embodiments may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied, e.g., stored, thereon. Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non- exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fibre, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fibre, cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present embodiments may be written in any combination of one or more programming languages, including a functional or an object oriented programming language such as Java, Scala, C++, Python or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user’s computer, partly on the user’s computer, as a stand-alone software package, partly on the user’s computer and partly on a remote computer, or entirely on the remote computer, server or virtualized server. In the latter scenario, the remote computer may be connected to the user’s computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). Aspects of the present embodiments are described below with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the embodiments. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor, in particular a microprocessor or central processing unit (CPU), or graphics processing unit (GPU), of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer, other programmable data processing apparatus, or other devices create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function / act specified in the flowchart and / or block diagram block or blocks. The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present embodiments. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. The embodiments will be further illustrated with reference to the attached drawings, which schematically will show embodiments according to the invention. It will be understood that the invention is not in any way restricted to these specific embodiments. Identical reference signs refer to identical, or at least similar elements. Brief description of the drawings Fig.1A and 1B illustrate a scheme of training a quantum model for approximating a certain target function, and Fig.1C and 1D are graphs comparing Fourier and Chebyshev approximations of a function; Fig.2A shows a visualization for a mapping of bitstrings in different spaces and Fig. 2B shows the squared overlap between two Chebyshev states; Fig.3 is a flowchart of a method according to an embodiment; Fig.4A–D schematically show quantum circuits for an amplitude Chebyshev feature map, a Fourier feature map, a Chebyshev-grid-based spectral feature map, and a Hartley feature map, respectively; Fig.5A and 5B schematically show quantum circuits for a quantum Chebyshev transform and an inverse quantum Chebyshev transform according to two embodiments, respectively, and Fig.5C schematically shows a quantum circuits for a quantum Hartley transform according to an embodiment; Fig.6A and 6B schematically show quantum circuits for an amplitude Chebyshev feature map and a quantum Chebyshev transform according to two embodiments, respectively; Fig.7A and 7B schematically show quantum circuits for a quantum Fourier transform and an inverse quantum Fourier transform, respectively; Fig.8A–C schematically show differentiated feature maps according to embodiments; Fig.9A and 9B schematically show, respectively, DQGM training and sampling process according to embodiments; Fig.10A and 10B show numerical results of a Chebyshev feature map used for DQGM according to an embodiment, Fig.10C–F show numerical results of a Hartley feature map used for DQGM according to an embodiment, and Fig.10G–L show numerical results of a method of using a Hartley transform according to embodiments; Fig.11A–C show numerical results of a comparison between a Chebyshev feature map according to an embodiment and a Fourier feature map, and Fig.11D–G show numerical results of a comparison between a Hartley feature map according to an embodiment and a Fourier feature map; Fig.12A–E schematically depict hardware-level schematics illustrating the application of logical operations to qubits using a quantum circuit; Fig.13A and 13B depict systems describing a Digital-Analog implementation of a quantum algorithm and a quantum feature map, respectively; Fig.13C illustrates pulses corresponding to the quantum feature map; Fig.14A and 14B present quantum circuits based on a Digital-Analog implementation of quantum circuits; Fig.15A and 15B present quantum circuits based on a Digital-Analog implementation of quantum circuits; Fig.16 presents a workflow for generalized circuit differentiation for use in an embodiment; Fig.17A and 17B are block diagrams illustrating, respectively, an exemplary hybrid data processing system and an exemplary classical data processing system that may be used for executing methods and software products described in this disclosure; and Fig.18 presents a quantum circuit for an exemplary hardware-efficient real-amplitude Ansatz according to an embodiment. Detailed description Quantum computing is moving from theory to practice. Currently, researchers are actively seeking quantum advantage, and various algorithms motivate this goal. Among these algorithms are Shor’s order-finding, linear system solvers (HHL), Monte-Carlo pricing, and ground state preparation for chemistry and materials. All aforementioned protocols rely on subroutines that involve the quantum Fourier transform (QFT) and quantum phase estimation. In these protocols, the quantum Fourier transform is crucial for the selection of an appropriate basis in which quantum information is processed. From an intuitive perspective, these protocols can be envisioned as operating in the phase (reciprocal) space and subsequently transformed into the computational (real) space to enable efficient readout. An analogous situation arises in condensed matter theory, where describing lattice systems in a suitable k-space basis can yield significant computational advantages and enable scalable modelling, circumventing the need for a large computational mesh. Similar considerations apply when constructing quantum models and algorithms. Quantum machine learning (QML) is a nascent field at the interface of artificial intelligence and quantum information processing. It focuses on manipulating quantum data, either embedded from classical datasets or generated in quantum experiments. Inspired by the success of classical machine learning in tasks like image recognition and language processing, quantum machine learning aims to build quantum models that efficiently solve these problems. In simple terms, each quantum machine learning model is a quasi- probability distribution created by a quantum circuit, optionally followed by measurement post-processing. The goal is to prepare expressive and trainable quantum models using high-dimensional Hilbert spaces. However, this is challenging because high expressivity can lead to poor trainability (barren plateaus) and difficulties with generalization. Robust approaches to handle this are currently under development. They include embedding symmetries, limiting entanglement, crafting cost functions, and including differential constraints for physics-informed learning. The crucial point for building a high-performing quantum model is choosing an appropriate basis, coming from a selected quantum feature map. Unlike quantum computing protocols that aim to achieve speed-up in terms of runtime and gate-count scaling, quantum machine learning goes beyond operational advantages, and offers conceptually new benefits. While quantum-enabled processing bears its own fundamental importance, particular advantages of quantum machine learning can come from improved learning and sampling. The learning advantage originates from generalization on fewer data points. This has been achieved, for instance, in convolutional networks applied to magnetic phase recognition and entanglement detection. The sampling advantage comes from the inherently different procedure of generating a sample from quantum distributions as compared to classical sampling. While classical sampling requires integrating and inverting probability distributions (with complexity increasing for correlated stochastic variables), quantum devices can be sampled directly via projective measurements in the computational basis. This underpins the successful demonstration of quantum supremacy based on random circuits, recently demonstrated experimentally with 70-qubit random circuits. While to-date, a sampling advantage has not (yet) been demonstrated for relevant problems, this approach holds promise for generative modelling tasks. The crucial point for efficient quantum generative modelling is an ability to transform a quasi-probability distribution for a learning-favourable basis into the computational basis with fast and easy sampling. A first step in quantum machine learning is typically to encode classical input data ^ to quantum states via a quantum feature map acting on a zero product state|∅^such that each input argument ^ can be directly mapped to a distinct quantum state living in a Hilbert space, ^ ↦|^(^)^= ^^^(^)|∅^. A popular feature map that associates an input datum with a quantum state in ^-qubit phase space is the Fourier feature map, which is a so-called spectral feature map, i.e., the datum is encoded in a phase of the quantum state. An implementation of he Fourier feature map is discussed in more detail below with reference to Fig.4B. The set of the output states evaluated at integer points forms a complete orthonormal Fourier basis (here, ^ = 2^and ^ is the number of encoding qubits). These Fourier basis states can be mapped to the set of computational basis states through an inverse quantum Fourier transform, Unlike many other quantum embedding approaches such as amplitude and basis embeddings, the feature map ^^^(^) is differentiable and thus offers a way to solve differential equations. An example of a real (or amplitude-based) quantum feature map is a Chebyshev feature map which generates quantum states with amplitudes proportional to Chebyshev polynomials of the first kind of degree ^, ^^(^). Different from the complex-valued Fourier feature encoding, the states prepared by the Chebyshev feature map are orthonormal with real-valued amplitudes on non-equidistant Chebyshev nodes. Another example of a real quantum feature map is an orthonormal Hartley feature map, which enables quantum model building on the Hartley basis. The Hartley transform maps a real input to a real output. Moreover, the Hartley transform is its own inverse. Therefore, the discrete Hartley transform (DHT) offers computational advantages over the discrete Fourier transform. As the vast majority of natural applications is concerned with the processing of real-valued datasets, it is beneficial to use a similarly real-valued feature map. The Hermitian-symmetric Quantum Fourier Transform leads to a redundancy in the spectral expansion of a real-valued signal, which is avoided by the Quantum Hartley Transform. In addition, one complex multiplication requires the application of four real multiplications and three additions / subtractions, while one real multiplication just needs two multiplications and one addition / subtraction. Consequently, the use of the Fourier-related algorithms capable of naturally performing real-valued unitary transformations between the real and reciprocal spaces is highly desirable, since it saves time by omitting the computation of imaginary parts, requires only half the memory storage and executes fewer operations that may lead to fewer rounding and truncation errors. This is especially true for the current and near-future noisy intermediate-scale quantum (NISQ) devices. Such real quantum feature maps, implemented as quantum circuits parameterized by a continuous variable ^, prepare quantum states with amplitudes proportional to a so-called kernel function (e.g., the Chebyshev or Hartley kernel function), which facilitates quantum model building in a real-valued space with an exponentially large basis set, whilst allowing for model differentiation. The developed quantum protocols can be used for learning functions (e.g., probability distributions, or solutions to differential equations). Quantum feature maps for which an associated quantum transform is known have a sampling advantage which can be exploited by mapping the feature map basis to the computational basis via the associated quantum transform circuit (e.g., the Quantum Chebyshev Transform, QChT, and the Quantum Hartley Transform, QHT). Real quantum feature maps, such as the Chebyshev and Hartley feature maps are designed to facilitate the learning process, make the model train faster for real data while allowing sampling in the computational basis. The computational basis states refers to the set of orthonormal states such that overlaps equate to the Kronecker delta function, = ^^^. In the case of the initial input states being|∅^=|0^⊗^,^^^^ can be readily generated by applying a Pauli ^^gate to the ^thqubit if ^thclassical bit is 1, often referred to as the basis encoding. The Hartley feature map involves generating a state|ℎ(^)^with an amplitude proportional to an equally weighted sum of cosine and sine functions, i.e., the Hartley kernel cas(^) ≡ cos(^)+ sin(^), given by: |ℎ(^)^=^ ^^^ √^∑^^^ cas For integer variable ^_^ ∈ ℕ^^^={0, 1, 2, ... , ^ − 1}, the cas(·) function satisfies the following orthogonality condition: ^ ^^^cas^ ^ ^ ^^^c^ ^ ^ ^^^∑^^^^ ^as^^ ^ = ^^^(9) As a consequence, the states in eq. (8) are orthonormal on integer grids. It should be noted that the Hartley basis states also fulfil the orthonormal conditions for half-integer index values The present disclosure describes distinct tools that enable quantum model building based on the Chebyshev basis. Chebyshev polynomials enable optimal function approximation with respect to L∞-norm (i.e., sup|^(^)− ^^^^ , where ^(^) is the fitt ^∈[^^,^( )|ed ] function and ^^^(^) is the Chebyshev approximation). In a sense, a Chebyshev approximation minimizes the maximum error, so that the result is never ‘very wrong’. The Chebyshev basis often leads to practical advantages over the Fourier basis, which is suitable for harmonic models and periodic functions, but performs poorly for polynomial decomposition. The present disclosure describes an orthonormal Chebyshev map as a quantum circuit (formally, an isometry) parameterized by a (generally continuous) variable ^, which creates quantum basis states with amplitudes corresponding to Chebyshev polynomials of ^. In some embodiments, ^ is a point on a so-called Chebyshev grid. This facilitates quantum model building in the Chebyshev space with polynomials of exponentially large degree, and enables (analytic) model differentiation. Additionally, a quantum Chebyshev transform (QChT) circuit is described that maps information encoded in the Chebyshev space to the computational basis, enabling sampling advantage. When studying problems that can be described with mathematical equations, it can be very useful to describe a function in a function space, which may be considered an infinite-dimensional vector space. Several bases may be chosen to describe a function in such a function space, and for some problems, a certain basis may be more suitable than a different basis. A mathematical transforms can transform between different bases. A well-known example is the Fourier transform (both in its discrete and continuous forms), which is particularly useful for periodic functions and finds many uses in, e.g., signal processing. The discrete Fourier transform is based on a set of basis functions ^^(^) = e^ ^ ^, ^ an inner product ^ ⋅ ^ = ^^ ^(^) ^∗(^) d^ , where ^∗(^) denotes the complex conjugate of ^(^), and a norm‖^‖= (Other authors may use different, mathematically equivalent conventions for the choice of basis functions, inner product, and norm). It can be shown that this defines a complete orthonormal basis. A quantum version of the Fourier transform has been implemented as the so-called Quantum Fourier Transform (QFT), as described in more detail below with reference to Fig. 6. Klappenecker et al., ‘Discrete Cosine Transforms on Quantum Computers’, IEEE R8- EURASIP Symposium on Image and Signal Processing and Analysis (Pula, Croatia; 2001) pages 464–468, describe quantum circuits for the discrete cosine transform (DCT) and discrete sine transform (DST), which are closely related to the discrete Fourier transform. The derivation of these quantum circuits is specific to the DCT and DST, and cannot be generalised to different basis functions in a straightforward manner. A different complete set of orthonormal basis functions on the domain [−1,1] is provided by Chebyshev polynomials ^^(^)= cos(^ arccos with inner product ^ ⋅ ^ = d^ and norm‖^‖= ^^ ⋅ ^. These polynomials are sometimes referred to as Chebyshev polynomials of the first kind. They are alternatively defined as ^^(cos However, there is currently no known implementation of a Chebyshev transform for a data point encoded in a quantum register, i.e., a Quantum Chebyshev Transform (QCT). Fig.1A and 1B illustrate a known scheme of training a quantum model for approximating a certain target function, e.g. a solution to differential equation. As shown in the figure, the quantum model may be represented by a quantum circuit including a feature map ^^^(^)104 for encoding one or more classical input features into the Hilbert space of a quantum register 102 and a variational Ansatz (^), 106, parameterized by parameters ^, may be variationally optimized. The quantum circuits may include sequences (layers) of quantum gates which may be executed on the quantum register. Here, the only dependence on the input value is in the feature map; the variational Ansatz is independent of the input value ^. The training of the quantum model may be based on an optimization scheme, wherein after initialisation of the variational parameters, the gate operations of the quantum circuit may be executed, and the state of the quantum register may be measured using a cost function. Based on the measured state a loss value may be computed based on a loss function (block 108). If the loss value does not meet one or more optimization conditions, the variational parameters may be updated by an optimizer 110. Thereafter, the quantum circuit may be executed using the updated variational parameters and the state of the quantum registered may be measured and a new loss value may be computed. These steps may be repeated until the one or more optimization conditions are met. The state of the optimized quantum circuit may represent an optimized approximation of a desired target function. The logic gates of the quantum circuits used in the quantum machine learning scheme are parameterized by a set of trainable parameters ^ which are subsequently trained by a classical optimizer to maximize or minimize a loss function. These parametrized quantum circuits can be used as quantum machine learning models, applied to applications such as learning or generating an unknown distribution from a set of input features or solving differential equations. The embodiments described herein apply to such quantum models in general, including specific architecture choices that are realised as quantum neural networks and quantum kernels. The quantum circuits used for the quantum models include different types of circuits. A quantum feature map circuit 104, i.e., a unitary operation ^^^(^), is used to encode one ore more input values ^ into the Hilbert space of the quantum register. These inputs could be raw data, for example pixels in a classification problem, or the variables of the problem, for example the Cartesian coordinates of learning a 3-D distribution ^(^, ^, ^). A variational Ansatz, represented by a unitary operation ^^^(^), comprises trainable parameters ^ to be optimized in a variational scheme. A cost operation ^^is applied to the final quantum state, producing a set of classical outputs representing the prediction of the quantum model. Fig.1B depicts an example of a simple (known) quantum feature map wherein an input value ^ is encoded based on a single rotation gate operation ^^. This quantum feature map may be defined by the tensor product of ^^rotations: ^^^^ ^ ^^ / ^. Here, the input ^ is rescaled by a factor of 1 / 2 for simplicity, such that the feature map can be implemented in a quantum circuit by a set of parallel gates ^^(^)acting across each qubit as shown in the figure. However, the goodness of the approximation of the desired target function depends (among other things) on the feature map that is used to encode the input. This is shown in Fig.1C and 1D, which are graphs comparing Fourier and Chebyshev approximations of a function. In particular, Fig.1C displays a 6th-degree polynomial function 122 (solid line), the 4th-degree Chebyshev approximation 124 (dashed line), and the 4th-degree (real) Fourier approximation 126 (dotted line), over the interval −1 ≤ ^ ≤ 1. The polynomial is defined as ^(^)= −^^+ 2 ^^− ^^+ 3 ^^+ ^^− 3. The Chebyshev approximation is given by ^^^(^)= −3.1875 ^^(^)+ 3.5 ^^(^)− 0.46875 ^^(^)+ 1.375 ^^(^). The Fourier approximation is given by ^^(^)= −3.0095 + 1.0105 sin(^)+ 0.1624 cos(^)− 1.1729 sin(2^). Fig.1D shows the difference between the target polynomial and the Chebyshev approximation 134 (dashed line) and Fourier approximation 136 (dotted line), respectively. In this example, the Fourier approximation has a very poor performance especially close to the boundaries. This is because the Fourier approximation uses only periodic basis functions, and is therefore ill-equipped to approximate non-periodic functions (especially when only a limited number of terms is used). In this example, the maximum difference (L∞-norm) is 0.427 for the Chebyshev approximation, and -5.828 for the Fourier approximation. In general, a quantum model is defined as a circuit-based function that depends on an embedded (explicit) or implicit variable ^ (possibly multidimensional), and parameters ^ for an adaptive quantum circuit ^^^. Depending on how the variable is treated, the quantum model may be categorized as an explicit or implicit model. Explicit models are used in, e.g., classification, regression, and scientific machine learning. Implicit models, with the prominent example of the quantum circuit Born machine (QCBM), are routinely used in generative modelling. Below, both types of quantum models are defined. Additionally, a way to unify the two concepts within the quantum Chebyshev modelling framework is described. Explicit quantum models rely on a quantum feature map (embedding) as described above, i.e., a quantum circuit (^) parametrized by ^. Here, ^ denotes a vector of continuous or discrete variables. In the following, for the sake of simplicity, a single variable case ^ is discussed, but the generalisation towards multivariate implementations is straightforward. Quantum feature maps often take the form of re-uploaded single-qubit rotations. This variable-dependent part of the circuit supplies features to the model, which are then adjusted by the adaptive circuit parts ^^^. In general, the explicit quantum model reads: where ^^^is an initial state, typically chosen as a density operator corresponding to the zero computational basis state, ^^^≔ |∅^^∅|, where |∅^ =|0^⊗^for ^ qubits. This is transformed by ^^^,^as an interleaved combination of feature maps and adaptive circuits. The scalar-valued model is then obtained by measuring an observable ^^, a predefined cost operator for the circuit read-out. The optimal choice of cost operators in QML remains an open question ; typically a simple Z-basis measurement for selected qubits is chosen, or a projector on a certain computational state. It is noted that quantum models can involve mid-circuit measurements and trace-out operations, such that adaptive completely positive trace- preserving (CPTP) maps ℰ^,^(^^^)are effectively implemented. Implicit quantum models rely on treating a variable ^ as a measurement result, corresponding to the projection (collapse) on a (computational) basis state |^^. In this case, the model is encoded as a probability distribution ^^(^) = ^^^^^^|^^^^|}, following Born’s rule. The embedding disappears, and the overlap with state ^^^transformed by ^^^solely defines the probability. The distinct part of this model is that each measurement result from the circuit leads to drawing a sample from parameterized probability distribution, ^ ∼ ^^(^). This lays the ground for generative modelling tasks with QCBM-type generators. However, the main difficulty is in learning the ground-truth distribution ^^^^^^such that it is matched by ^^∗(^) at some parameters ^∗. Additionally, the overlap models can be exploited implicitly using ^^(^) = ^^|^^^|∅^, which uses a SWAP test for the real and imaginary parts of the overlap, unlike the absolute value squared case for the probability. In general, there is a connection between explicit and implicit models. Specifically, for models built on circuits that factorize into a sequential feature map and adjustable layers,^^^,^ = ^^^^^(^), and a projector-type cost operator ^^= |∅^^∅| = : ^^^, an explicitly generated ^-measurement can be used. This requires that the feature map is such that the basis state is embedded as |∅^for ^ ∈ ℤ^^^. Then, the implicit and explicit models match as: The model above can be sampled (left hand side) or accessed as a scalar valued function at specified variable ^, after averaging. Importantly, the explicit form of ^^(^) can be differentiated with respect to ^. This enables including differential constraints (used in, e.g., physics-informed machine learning) and studying sensitivities (also known as Greeks in finances). Understanding how to build models in feature (latent) spaces and mapping them to sampleable distributions is key to successful generative modelling. Differentiation is discussed in more detail below with reference to Fig.8. The present disclosure provides models based on feature maps that can enable sampling in the computational basis. The computational basis corresponds to the set of orthonormal states (with ^ = 2^when using ^ qubits) such that overlaps of the basis states equate to the Kronecker delta function, ^^^|^^^^ = ^^,^^ . These states |^^^ can be generated by applying Pauli ^^operators to the computational zero; this is sometimes referred as a digital feature map. However, building models in this computational basis space is difficult, as it assumes adjusting amplitudes (probabilities) for the entire domain. A different approach can be used if the model is built based on another orthonormal set of states, and an appropriate mapping between the two bases is developed. This has been shown for the Fourier feature map and Fourier transform in PCT / EP2023 / 052998, which is hereby incorporated by reference in its entirety; in the present disclosure, it is shown how this can be achieved using real (amplitude-based) feature maps and associated transforms, e.g., via the (orthonormal) Chebyshev feature map and the associated quantum Chebyshev transform, or via the Hartley feature map and the associated quantum Hartley transform. Specifically, a quantum circuit is disclosed that prepares a quantum state|^(^)^with amplitudes given by Chebyshev polynomials ^^(^)= cos(^ arccos(^)) of the first kind and degree ^. The target state in the Chebyshev basis is of the form where ^^(^) are the Chebyshev polynomials of the first kind of degree ^. The computational zero state has a distinct amplitude and is given by ^^(^) ≡ 1. Given the properties of the polynomials ^^(^), the states in eq. (13) are orthonormal at the Chebyshev nodes also known as the root grid points; the same is true for the points on the extrema grid. ^ Namely, the set of Chebyshev states ^ ^^^^ ^^ ^ ^ ^ ^^^^^^ are such that ^^^^^^ ^ ^^^ = ^^,^^. The orthonormality of this set of states follows from the orthogonality conditions of the Chebyshev polynomials, The Chebyshev nodes ^^^ ^ ∈(−1, 1)form a non-equidistant grid, unlike the standard computational basis and Fourier basis associated with equidistant “ruler”-type and “clock”- type grids, as shown in Fig.2A. Fig.2A shows a visualization for a mapping of bitstrings in different spaces; in particular the computational basis 202 (centre), which is labelled by integers ^ ∈ [0, ^ − 1], with ^ = 2^= 16, and the so-called (real) Chebyshev space 204 with non-equidistant nodes, given by ^^^ ^ ^ = + ^^ / ^ ^^ (top). For comparison, the Fourier space 206 with an equidistant grid of phases (sectors on a circular open-ended loop with 2^ ^ / ^ arcs) is also shown (bottom). It is noted that some earlier publications used the term “Chebyshev feature map” for a different kind of feature map. This earlier use refers to a phase-encoded feature map, rather than an amplitude-encoded one. This earlier phase-encoded Chebyshev-like feature map can be defined by: ^ ^^^ ^^^ ^exp ^i arccos ^^^ = ^ cos ^ arccos arccos ^^^ (16) ^ ^^^ ^ ^ ^^^ The associated “Chebyshev phase space”, as well as the “Chebyshev phase space” associated with the 208 is also shown. Like the Fourier space, this space is defined on the complex plane. By way of contrast, the ‘real’ Chebyshev space 204 may also be referred to as the Chebyshev amplitude space. Unless explicitly stated otherwise, the term “Chebyshev feature map” in this disclosure refers to the amplitude-encoded Chebyshev feature map. Fig.2B shows the squared overlap between two Chebyshev states|^^(^^)|^(^)^|^, for ^′ = ^^^ ^ and ^ = 2^= 16, showing that the basis is orthonormal at the nodes (indicated with open circles): the overlap equals zero at all nodes with ^ ≠ 7, and equals 1 for ^ = 0. Notably, the Chebyshev overlaps are real, unlike complex overlaps between Fourier states or the earlier phase-encoded Chebyshev-like feature maps, but lead to similar mid-point behaviour. The squared overlap can be derived analytically for one of the variables ^^set to one of the Chebyshev nodes, such that which can be derived from the Christofel-Darboux formula for Chebyshev polynomials. It is noted that it is not necessary for all applications to use only points of a Chebyshev grid. If different ^-values are used, the resulting feature map is not orthogonal, but may still be useful for function modelling. Fig.3 is a flow chart describing a method according to an embodiment. The method is typically executed by a hybrid quantum computer comprising a classical processor communicatively coupled to a classical memory, and a quantum processor comprising a quantum registry. The quantum register comprises at least ^ qubits, with typically ^ > 1. This provides ^ = 2^basis states in the amplitude and / or phase of which information may be encoded, generally speaking. Typical currently available systems have a few dozen to a few hundred qubits. In some cases, only a subset of the available qubits is used to encode a data points. An example of a hybrid quantum computer is described in more detail below with reference to Fig.17A. Generally, the classical processor is configured to control the quantum processor. The steps as described below are typically performed by the classical processor, but comprise operating the quantum processor. A first step 302 comprises determining or receiving a problem description describing a computational problem. The computational problem can be, for example, a differential equation problem, a regression problem such as a data regression problem (e.g., combinatorial optimisation), a generative modelling problem, et cetera. A step 304 comprises determining or receiving one or more data points related to the computational problem. The data points can be, e.g., collocation points, input points associated with output points, et cetera. The data points ^ may have been rescaled to lie within an interval over which the basis functions define an orthonormal basis, e.g., the interval ^ ∈ [−1,1]. In some embodiments, the data points are chosen to correspond with ts on the Chebyshev grid, i.e., ^ ∈ ^^^ ^^^ / ^ poin^, ^ = 0, … , ^ − 1^ where ^^ ^ = cos ^ ^, or ^ ∈ ^^ ^ ^^ ^ ^ , ^ = 0, … , ^^ where ^^^^ ^ = cos ^ ^. In other embodiments, the data points may be chosen to lie on an equidistant grid, e.g., ^ ∈ {^ ^ + ^, ^ = 0, … , ^ − 1}, where ^ and ^ may be selected based on the problem parameters and / or the se of basis functions; typical examples ^ ^ ^ for ^ include ^ = 1, ^ = ^^^, and ^ = ^^^, and some typical values for ^ include ^ = 0, ^ = ^, ^ = 1, and ^ = −1. A step 306 comprises receiving or determining a quantum circuit to encode the one or more data points in a Hilbert space associated with the quantum register of the quantum processor, the quantum circuit being configured to encode each of the one or more data points, such that the amplitude of the basis state with label ^, ^ = 0, 1, … , ^ of the quantum register equals a normalisation factor times a value of a basis function ^^(^) of degree ^. The basis function is a real-valued function associated with some suitable orthonormal function basis. For example, the basis function ^^can be a Chebyshev polynomial of degree ^. In that case, each data point ^ is encoded with the value ^ ^^(^), ^ = 0, … , ^ − 1 in the amplitude of the ^thbasis state of the quantum register, wherein ^^represents a ^th Chebyshev polynomial, and wherein ^ is a normalisation factor. The Chebyshev polynomial can be a Chebyshev polynomial of the first kind or a Chebyshev polynomial of the second kind (commonly denoted as ^^(^)). If a data point corresponds to a points on a Chebyshev grid, the normalisation factor ^ = 1. In this case, the Chebyshev functions form an orthonormal basis, as discussed above with reference to Fig.2B. In another example, the basis function ^^can be a Hartley basis function of degree ^. In that case, each data point ^ is encoded with the value ^ ℎ^(^), ^ = 0, … , ^ − 1 in the amplitude of the ^thbasis state of the quantum register, wherein ℎ^represents a ^thHartley basis function, and wherein ^ is a normalisation factor. A step 308 comprises applying the formulated quantum circuit. This step typically comprises the classical processor configuring the quantum processor to execute the quantum circuit. Execution of the quantum circuit by the quantum processor transforms the qubits in the quantum register; in this case in accordance with the rules described above. As used herein, a quantum circuit defines a sequence of one or more logical ‘quantum gates’ for which a hardware implementation is known. Such a hardware implementation typically comprises one or more pulses with a well-defined frequency, amplitude, and duration. Examples of hardware-level schematics of quantum circuits are provided below in, e.g., Figs.12A–E. The formulated quantum circuit may comprise an initialisation part. Alternatively an initialisation circuit may be applied prior to application of the encoding quantum circuit. A step 310 comprises receiving or determining one or more additional quantum circuits. These additional quantum circuits depend on the problem being solved. They may include, e.g., a variational circuit with optimisable parameters. Some examples of additional circuits for various classes of problems are described with reference to Figs.1A and 9A–B. Depending on the computational problem being solved, some of the one or more additional circuits may be applied prior to application of the encoding quantum circuit. A step 312 comprises applying the one or more additional quantum circuits to the quantum register. A step 314 comprises receiving measurement data representative of the state of the quantum register. The measurement data may be hardware measurement data representing measurements of an output state of the quantum register. This step may comprise the classical processor configuring the quantum processor to perform a measurement on at least part of the ^ qubits in the quantum register. A step 316 comprises determining a solution to the computational problem, based on the measurement data and, typically, the problem description. The construction of the circuit shown in Fig.4A, which encodes a data point ^ with a Chebyshev feature map, is based on the observation that the Chebyshev polynomials are defined as ^^(^)= cos(^ arccos(^))and are therefore of the form of cosine; in particular, The cosine can be recovered from c ^^ ^ ^^ ^^ os(^)= e + e , which can be implemented with the use of an ancillary qubit. Thus, the Chebyshev polynomials can be prepared using a combination of exponents for some scaled variable ^, where each amplitude is embedded via a phase feature map, for example as described in WO 2023 / 148404 A1, which is hereby incorporated by reference in its entirety. The positive and negative phase can be combined using a so-called Linear Combination of Unitaries (LCU) approach, as described in Childs et al., ‘Quantum algorithm for systems of linear equations with exponentially improved dependence on precision’, SIAM Journal on Computing 46 (2017) pages 1920–1950. In this approach, maps are conditioned on the state of the (top) ancilla qubit, and effectively interfered, choosing the ancilla collapsed to 0 outcome. In a first step 402, a layer of Hadamard gates is applied to all qubits (including the ancilla) to prepare a superposition of all basis states. In a step 404, a single-qubit scaled phase shift gate ^^^^^ (^)is applied to the encoding qubits, which is defined as^^^^^(^) = ^^^(^ arccos ^) = diag arccos where ^ is the qubit number. This is followed by a layer 406 of controlled single-qubit scaled phase feature maps that are conditioned on the ancilla. Conceptually, the first layer corresponds to exp(i ^)and the second layer corresponds to exp(−i 2^). However, since exp(−i ^) = exp(i ^) exp(−i 2^), this results in equal-weight combinations of exponents exp(i ^) + exp(−i ^). Thus, the amplitudes for the basis functions are scaled, based on the variable ^ such that ^^(^) are recovered. Finally, the weight of the constant (^^(^)) term is adjusted. The depicted example uses a round of Grover’s iterate circuit 408, rotating the state around |∅^ for a fixed angle −^ / 2. As the measurement operation 412 on the ancilla (including the preceding Hadamard gate) commutes with rotation, the measurement can be postponed to the end of the circuit. This allows post-selection of the desired state also on systems where only all qubits can be read out simultaneously. This way, the resulting quantum Chebyshev feature map creates a Chebyshev state via an ^-parametrized isometry. The layers 402–408 may together be referred to as the Chebyshev feature map 410, as in practice the measurement on the ancilla may often be postponed, with one or more other circuits in between (see, e.g., Fig.8A and 9A). The Chebyshev feature map may be represented by a unitary operator ^^^(^). This results in a state such that at the set of the ^ = 2^Chebyshev nodes an orthonormal basis is formed. Therefore, there exists a bijection and corresponding transformation between this basis and any different orthonormal basis. Fig.5A shows the Chebyshev transform which performs the transformation between the Chebyshev and computational bases. Fig.4B schematically shows a quantum circuits for a Fourier feature map (Fourier encoding or spectral encoding), for the sake of comparison. This circuit does not use an ancilla. The circuit comprises a layer of Hadamard gates 422 to create a superposition of all basis states, followed by a layer 424 of (unscaled) single-qubit phase feature maps ^^^(^) = diag Fig.4C schematically shows a quantum circuits for a phase-encoded Chebyshev-like feature map, for the sake of comparison. This circuit does not use an ancilla. The circuit comprises a layer of Hadamard gates 432 to create a superposition of all basis states, followed by a layer 434 of (scaled) single-qubit phase feature maps ^^^^^ (^)= ^^ ^^(arccos ^)= diag ^1, exp ^i arccos ^^^ 2^ (20) For the sake of clarity, it is noted that the feature maps referred to as Chebyshev encoding feature maps in previous disclosures by the present inventors are fundamentally different from the Chebyshev feature map described herein. For example, the previously described feature maps have, in general, a non-zero imaginary part, and are not orthonormal. This prevents their conversion to amplitude encoding (which is standard in quantum information processing), and building distributions for generative modelling in particular. By contrast, the currently disclosed Chebyshev feature map is orthonormal and real (i.e., the imaginary part is zero), and may therefore be considered an amplitude encoding. Fig.4D schematically shows a quantum circuit for a Hartley feature map, as a further example of an amplitude-based feature map. The construction of the circuit shown in Fig. 4D, which encodes a data point ^ with a Hartley feature map, is based on the observation ^ ^ ^ that the Hartley basis functions are defined as ℎ^(^)= cas ^ ^ + sin As the cas function can thus be written as a (scaled and delayed) cosine, a similar method can be used as explained above for the Chebysev feature ()^ map, wherein the cosine is recovered from cos ^ = ^ ^e^ ^+ e^^ ^^ using an ancillary qubit. Thus, the Hartley basis functions can be prepared using a combination of exponents for some scaled variable ^, where each amplitude is embedded via a phase feature map. The positive and negative phase can be combined using the LCU approach as described in Childs et al. In this approach, maps are conditioned on the state of the (top) ancilla qubit, and effectively interfered, choosing the ancilla collapsed to 0 outcome. This defines an implementation of Hartley feature map ^^^(^) circuit which prepares normalized Hartley states denoted as any continuous ^ ∈ [0, ^ − 1]. In a first step 442, a layer of Hadamard gates is applied to all qubits (including the ancilla) to prepare a superposition of all basis states. In a step 444, a single-qubit scaled phase shift gate ^^^^^(^) is applied to the encoding qubits, which is defined as ^^^2 ^ ^ ^^ (^)= ^^^^^ ^ = diag (21) ^ where ^ is the qubit number. This is followed by a layer 446 of controlled single-qubit scaled phase feature maps ^^^^^^ (^)that are conditioned on the ancilla. As explained above, this effectively results in a cosine function. A phase delay of ^ / 2 is applied to the ancilla 448 to produce the ^ / 4 phase delay. An optional gate 450 applies an additional rotation over 2 ^ ^ around the Z-axis. It has been found that this improves trainability of quantum models using this feature map. Examination of the orthogonal proprieties of different states of continuous variables by analysis of the squared overlap between mutual Hartley states, shows unity along the diagonal 45 degree line, meaning that the diagonal states are orthonormal as usual. However, the off-diagonal states, i.e., states along 135 degree line, may exhibit unexpected behaviour as they can be substantially non-zero, contributing at least 50% of the maximum value. This abnormal behaviour appears to be caused by the abrupt change in amplitude of two adjacent states which may negatively affect the trainability of the model. By appending an ^-dependent ^^gate to the ancilla register, a smooth transition between any continuous states is ensured, while retaining the real-valued amplitudes of ^ℎ^(^)^ with off-diagonal contribution that are substantially zero, e.g., less than 5%. After introducing this ^-dependent ^^gate, the Hartley basis states become: ^^^ 1 2 ^ ^ |ℎ(^)^ = ^ cas ^^ − ^^ ^^ |^^ (22) √^^^^ ^ Based on eq. (22), a matrix with ^ columns can be constructed, where each column is represented by^ℎ^^^^^. This square matrix defined as ^^^ ∶={|ℎ(^^)^,|ℎ(^^)^, ... ,|ℎ(^^^^)^}satisfies the matrix polynomial equation = ^^, operating real-valued ^^^four times gives back the identity matrix and in a sense being analogous to ^^^ ^^^= ^^where the complex- valued ^^^^^is the quantum Fourier transform. As the measurement operation 452 on the ancilla (including the preceding Hadamard gate) commutes with rotation, the measurement can be postponed to the end of the circuit. This allows post-selection of the desired state also on systems where only all qubits can be read out simultaneously. This way, the resulting quantum Hartley feature map creates a Hartley state via an ^- parametrized isometry. The layers 442–448 (or 442–450) may together be referred to as the Hartley feature map 454, as in practice the measurement on the ancilla may often be postponed, with one or more other circuits in between (see, e.g., Fig.8A and 9A). The Hartley feature map may be represented by a unitary operator (^). This results in a state such that at the set of the ^ = 2^Hartley nodes an orthonormal basis is formed. Therefore, there exists a bijection and corresponding transformation between this basis and any different orthonormal basis. Fig.5C shows the Hartley transform which performs the transformation between the Hartley and computational bases. Fig.5A schematically shows an example of a Quantum Chebyshev transform circuit according to an embodiment. This circuit maps computational basis states into Chebyshev states Similar to the Chebyshev amplitude encoding, this circuit uses an ancillary qubit. In the depicted example, an Hadamard gate is applied to the ancilla, followed by a CNOT-ladder controlled by the ancilla. The transform involves a quantum Fourier transform (QFT) circuit (described below with reference to Fig.7A) applied to ^ + 1 qubits (^ encoding qubits plus one ancilla), followed by phase-adjusting and permutation circuits. Here, single-qubit rotations of the form are used with the single-qubit phase shift gate ^(^) = diag{1, exp(i ^)}. The unitary operators ^^and ^^applied to the ancilla can be combined into a single-qubit gate ^^= ^^^^. The quantum Chebyshev transform shown in Fig.5A can be understood as a specific version of the (discrete) cosine transform. Considering the normalized output states in Fig. ^ ^^ ^ 4A evaluated at specific ^ = ^ arccos^^^^= ^ + ^ with the integer ^ ∈ [0, ^ − 1], on the condition of ancilla bit measured in|0^state; in this case, each of them corresponds to the (^ + 1)thcolumn of the type-II discrete cosine transform matrix, DCTIIN, and they form a set of orthonormal basis states. Therefore, the above-mentioned Chebyshev feature map circuit takes at least ^ times to construct a full DCTIIN matrix. Fig.6A shows an alternative approach similar to quantum Fourier transform (QFT) to obtain the quantum Chebyshev transform (QChT) equivalent to DCTIIN. The circuit converts a complex-valued matrix into a purely real matrix through a series of unitary gates. The circuit 500 starts with a Hadamard gate 502 on the ancilla (being considered the most significant bit), followed by a sequence of controlled-NOT gates 504 applied on the other ^ qubits to create a (^ + 1)-qubit entangled state. This is followed by a (^ + 1) QFT circuit 506 applied to both the ancillary and encoding qubits. After the QFT, controlled-Rzgates 508 are introduced to adjust the relative phase of the encoding qubits, and a unitary operator ^ = is applied to the The resulting state (behind the ^^gate) has purely real amplitude of|0^^|^^ and a purely imaginary amplitude of|1^^|^^ for any ^-qubit intermediate state |^^. A permutation circuit 510 is used to reorder amplitudes of the conditioned states, i.e.,|1^^|Φ^→|1^^|(Φ + ^ − 1)mod ^^, followed by a layer 512 of ^-controlled-NOT gates to ensure that the amplitude of |0^^|^^ (|1^^|^^) returns to purely real (imaginary). This is followed by a layer 514 comprising a unitary operator ^^= ^ ^ − ^^ applied to the ancilla, and then multi-controlled ^^gates. Finally, on the condition of the input and output ancilla bits being respectively initialized with and measured in the |0^ state (not shown), the quantum Chebyshev transform is obtained. A representative example of the Chebyshev transform matrix for ^ = 2 is given by (25) where only the top-left corner of a three-qubit unitary is shown, and similar structure block with sine-valued coefficients appears in the right-bottom corner. For a general ^-qubit quantum Chebyshev transformation, the unitary transformation can be expressed as where|^(^)^is given by Equation 11 and ^^^ ^ are the Chebyshev nodes. To the circuit illustrated in Fig.5A, a permutation circuit identical to block 510 can be appended, in order to obtain the type II discrete sine transform. In this case, the input and output ancilla bits are initialized with and measured in|1^, respectively. The quantum Chebyshev transform circuit 500 can be run in reverse direction to perform the inverse quantum Chebyshev transform, which equivalently maps Chebyshev tes ^|^(^^ ^^^ basis sta ^)^^ to computational ba { } ^^^ ^ ^^^ sis states |^^^^^. This is shown explicitly in Fig.5B. Fig.5C schematically shows a quantum circuit for a quantum Hartley transform according to an embodiment. It is noted that since the quantum Hartley transform is its own inverse (i.e., ^ the same circuit may be used for inverse quantum Hartley transform. This circuit maps computational basis states Hartley states This circuit (also) uses an ancillary qubit. In the example, an Hadamard gate 542 is applied to the ancilla. The transform involves a quantum Fourier transform (QFT) circuit 546 (described below with reference to Fig.7A) applied to the ^ encoding qubits, followed by a CNOT-ladder 548 controlled by the ancilla, a permutation circuit 550, another permutation circuit 554 and another CNOT-ladder 556. The quantum Hartley transform shown in Fig.5C can be understood as a specific version of the (discrete) Hartley transform (applied to real frequencies). The quantum Hartley transform ^^^^^is strongly correlated to the quantum Fourier transform ^^^^^and thus an extended QFT circuit can be used to build a quantum Hartley transform circuit. The circuit starts with a Hadamard gate 542 on the ancilla register (being considered the most significant bit). A QFT circuit 546 is applied to the ^ encoding qubits, which maps the input state ^^^^ from the computational basis to the Fourier basis. The combination of a CNOT ladder (sequence of controlled-NOT gates controlled by the ancilla) 548 and a permutation circuit 550 is used to reorder the amplitudes of the conditioned states and is equivalent to a controlled ^^^ ^^^. A Hermitian adjoint of square root of a Pauli ^^gate 552 is introduced to adjust the relative phases and the intermediate states at this stage are in the forms of|0^^^^^^^^^^^ and|0^^^^ ^ ^^^ ^^^^^^^^^. This gate, represented , is equivalent to ^^^ ^ ^ ^ ^^^ ^ − ^^ ^^^− ^^. The circuit is concluded with the adjoint (conjugate transpose) version of the permutation circuit 554 and the CNOT ladder 556, followed by an Hadamard gate 558 to ensure that^0^ℎ^^^^^^ is left alone for any input states^0^^^^, and the amplitude of ispurely real. Finally, on the condition of the input and output ancilla bits being respectively initialized with and measured in the |0^ state (not shown), the quantum Hartley transform is obtained; this is also known in the art as a “clean run”. It is worth mentioning that ^^^^^is an involutory function, i.e., ^^^ ^^^ = ^^^^ ^^^ = ^^, in contrast to the quantum Fourier transform For a general ^-qubit quantum Hartley transformation, the unitary transformation can be expressed as (also referred to as an alternated Hartley basis state) and ^^are the Hartley nodes, typically defined as ^^= ^. Thus, the matrix for the quantum Hartley transform differs from the matrix ^^^defined under eq. (22) in the factor(−1)^; that is, the matrix ^^^can be obtained from the matrix ^^^^^by multiplying the even columns (corresponding to the odd indices ^ = 1, 3, … , ^ − 1) with −1. For example, 0.5 −0.5 0.5 −0.5 0.5 0.5 0.5 0.5 ^^^(2) = ^0.5 −0.5 −0.5 0.5 ^ and ^ 0.5 0.5 −0.5 −0 .5 0.5 0.5 0.5^(2) = ^ .5 ^ 0^^^0.5 −0.5 0.5 −0.5 0.5 0.5 −0.5 −0.5 0.5 −0.5 −0.5 0.5 Fig.6A schematically shows a Chebyshev feature map circuit according to an embodiment and Fig.6B schematically shows a quantum Chebyshev transform circuit according to an embodiment. In these examples, the Chebyshev feature map and quantum 5 Chebyshev transform are applied on the extrema grid, rather than the roots grid, of the Chebyshev polynomials of the first kind of degree ^, ^^(^). This results in different circuits. byshev extreme points are defined as ^^^ ^ The Che ^ ^ ≔ cos ^ ^ , ^ ∈[0, ^]. The extrema grid ^^^^ ^ ∈ [−1,1] forms a non-equidistant grid over [−1,1], which minimizes the problem of Runge’s phenomenon associated with a uniform grid. Specifically, a quantum circuit is 10 described that prepares quantum states |^(^)^ with specific amplitudes given by ^^(^). Thus, the target state is of the form: 15 where ^^^represents the Kronecker-delta function. The amplitude at the endpoints, ^ = 0, ^, is different from that on the interval ^ ≠ 0, ^, and for the computational zero and ^ states. Considering the orthogonality properties of ^^(^), it follows that 20 The states in eq. (29) are orthonormal at the Chebyshev extreme points, that is, =^. In contrast to the ^ Chebyshev nodes, there are ^+1 25 extreme points, and thus an additional encoding qubit is required to construct ^ + 1 quantum states; in other words, n+1 qubits are needed to encode the extrema points of Chebyshev polynomial up to degree 2^. The Chebyshev feature map on the extrema grid, shown in Fig.6A, has essentially the same exp(±i arccos(^))phase map configuration 602–606 as that on the roots grid 30 described above with reference to Fig.4A, layers 402–406; however, in this case, there is one additional qubit. The choice of most and least-significant bit (which is in principle an arbitrary choice) has been reversed relative to Fig.4A. This is followed by a layer 608 of(^ / 2 − 1)multi-controlled ^-dependent scaled ^^gates, which are used to zero out the amplitude of the corresponding ‘unused’ qubit (i.e., the qubit that was needed to include the additional boundary point, but which is not needed for the encoding in Chebyshev space). The scaled single-qubit rotation gates are defined as: where ^ is the qubit index. Finally, constant controlled-rotation gates 610 are applied for adjustment of the weight of the ^^(^)and ^^(^)terms, corresponding respectively to|∅^and|01∅^states, are included. Again, a measurement (preceded by an Hadamard gate) is performed at the end (not shown) to allow post-selection of the sum term with the ancilla measured in 0. Fig.6B schematically shows a quantum Chebyshev transform circuit evaluated at the Chebyshev extreme points. The quantum Chebyshev transform on the Chebyshev extrema grid maps computational basis states{|^^}^ ^ ^ ^^^into Chebyshev states ^^^^^ ^^ ^ ^^^^^^ . This can be considered similar to the type I discrete cosine transform matrix, DCT^ ^ , which forms a set of orthonormal basis states: As shown in Fig.6B, the quantum Chebyshev transform on the Chebyshev extrema grid involves a QFT circuit 628 applied to ^ + 1 qubits (^-qubit system plus one ancilla), similar to the quantum Chebyshev transform on the roots grid shown in Fig.5A. In this case, however, the QFT circuit is sandwiched between constant phase shift / rotation layers 622,634 and permutation layers 626,630. Here, a standard phase shift gate is used, defined as ^(^)= diag{1, exp(^^)} and ^^is a single-qubit rotation about the X axis of the Bloch sphere. When the input states are of the form|0^^|^^and|1^^|∅^, the circuit returns a set of associated with the input {|^^} ^ ^^^. This corresponds to a matrix with 2^ rows, of which the last ^ − 1 rows contain zero values and can be disregarded. A representative example of the Chebyshev transform matrix for n = 2 is given by: Compared withM^^^^(2)for the case of Chebyshev nodes, M^^^^^(2)reveals one extra row and column in the matrix, which accounts for an additional Chebyshev extreme point. For general ^-qubit quantum Chebyshev transform, the unitary transformation can be expressed as ^ ^^^^^^^= ^^^^^^^^^^^^^| (34) ^^^ where|^(^)^is given by Equation 23 and ^^E^xt^ are the Chebyshev extreme points. The quantum Chebyshev transform circuit can be run in reverse direction to perform the inverse quantum Chebyshev transform, which equivalently maps Chebyshev basis states back to computational basis states {|^^} ^ ^^^. Fig.7A schematically shows an example of a quantum Fourier transform circuit, as may be used in layer 506 of the quantum Chebyshev transform shown in Fig.5A and layer 628 of the quantum Chebyshev transform shown in Fig.6B. Similarly, Fig.7B schematically shows an example of an inverse quantum Fourier transform circuit, as may be used in layer 526 of the quantum Chebyshev transform shown in Fig.5B. As mentioned before, one of the advantages of the Chebyshev feature map is that it can be analytically differentiated. This can be utilized in solving differential equations, and learning sensitivities of distributions. The model differentiation can be approached in various ways. These are schematically illustrated in Fig.8A–C. Fig.8A shows a reference quantum machine learning model (a quantum neural network, QNN-type model). The circuit 800 comprises a Chebyshev feature map ^^^(^) 802 (corresponding to block 410 in Fig.4A), a variational circuit parametrized by a parameter ^ and a cost function Re(|∅^^∅|) 806, corresponding to projection on the zero state. A measurement 808 on the ancilla (corresponding to block 410) is included to select the appropriate sum term, as explained above with reference to Fig.4A. One option to differentiate the circuit with respect to the input value ^ is to use the parameter shift rule, which is well-known in the art, illustrated in Fig.8C. This approach is, for example, valid in the training stage when the cost function corresponds to, for example, a projection on the zero state (including ancilla qubit). Application of the parameter shift rule comprises executing the circuit twice for each gate that is dependent on the variable with respect to which the circuit is being differentiated (in this case, the ^-dependent gates corresponding to e^ ^and e^^ ^ ^, shown in blocks 404 and 406 in Fig.4A), once with the ^- dependent rotation angle shifted by +^ / 2 and once with the ^-dependent rotation angle shifted by −^ / 2, and summing the results. As there are two ^-dependent gates applied to each qubit, the total number of parameter shifts (and hence terms in the final sum) is 4^, with ^ the number of encoding qubits. In the notation used in the figure, ^^(^^)^(^) means that the rotation gate angle of gate ^ is shifted with ^ / 2, and analogously ^^refers to a gate angle shift with −^ / 2). So, for example, the gate is shifted to ^ diag ^1, exp ^i ^^^^arccos (and analogously for −^ / 2), one gate at a time (in the current example, essentially, once for each pair(^, ^)∈ {0, … , ^ − 1} × {1, −2}). This results in 4 ^ modified circuits, which are summed to obtain the derivative circuit. For the encoding on the extrema grid as shown in Fig.6A, there are an additional 2^− 2 for the ^-dependent rotations on the ancilla (block 608 in Fig.6A). In cases where mid-circuit measurements are possible, an alternative differentiation method may be applied. In this case, the controlled phase rotations can be decomposed using CNOT conjugation, and two shifts per individually reuploaded parameter ^ can be applied. This is repeated twice for different bases of the measurement outcomes. Thus, in total, the Chebyshev feature map can be differentiated with 4^ parameter shifts. The above approaches are described in more detail in Kyriienko et al., ‘Generalized quantum circuit differentiation rules’, Phys. Rev. A 104 (052417) —which is hereby incorporated by reference—, in particular in sections II.B and II.C. Another option, illustrated in Fig.8B, is to differentiate the feature map formally, extracting an effective generator ^^^^^, and taking derivatives as a linear combination of unitaries. For this, the (not necessarily normalised) state |^(^)^ from eq. (13) is considered, where all the amplitudes are scaled Chebyshev polynomials. The normalised version of this is prepared by the Chebyshev feature map. When taking the derivative with respect to ^ of a model containing |^(^)^, the resulting model will contain |^′(^)^ terms. This can be considered a state with each amplitude as scaled Chebyshev polynomial derivatives. The Chebyshev polynomials and their derivatives are related by: ^^^(^) = ^ ^^^^(^) (37) where ^^(^) denotes a Chebyshev polynomial of the second kind of order ^. This can then be further expanded to: This means the derivative of a Chebyshev polynomial is a linear combination of lower order Chebyshev polynomials. Therefore, an effective operator ^^^^^can be extracted such that: |^^(^)^= ^^^^^|^(^)^. (41)The operator ^^^^^is non-unitary, but can be implemented using known techniques to implement non-unitary operators, such as a linear combination of unitaries or embedding in a higher-order space. For the DQGM model described below with reference to Fig.11, the following approach was used. The probability density function ^^(^)is given by: ^^(^)=|^^(^)|^^^|^= ^(^)^^(^) |^^̃(^)|^^^|^(42) Here |^̃(^)^ is |^(^)^ normalised and ^(^) is the norm of |^(^)^. Then the derivative (using the product rule) is: As an example, the application of the Chebyshev feature map and quantum Chebyshev transform to generative modelling is shown. Generative modelling can be used to, for example, approximate the distribution of underlying asset prices with the Black- Scholes pricing model. Fig.9A and 9B schematically show, respectively, DQGM training and sampling process according to embodiments. Fig.9A shows a training stage 904 for training quantum neural network and Fig.9B shows a sampling stage 910, wherein a quantum circuit is used for generating samples. In the training stage, a latent space quantum model representation is used, where a real quantum feature map such as a Chebyshev feature map ^^^(^) or a Hartley feature map 902 is directly followed by variational circuit ^^^^,^906 and a cost function ^^^^ 918 for measuring the output of the latent space model ^^^(^)^^^^,^. This latent space quantum model representation may be referred to as a quantum neural network (QNN). Thus, the QNN defines a variational quantum circuit that is trained to represent a function or value, in this particular case a probability density function. The training of the QNN includes initialization of the qubits 900 in an initial state, the application of a quantum feature map unitary 902 to map a real parameter ^ into the Hilbert space (which may be regarded as the “input ^ to the QNN”), the application of a variational quantum circuit 906 (an Ansatz) parameterized by ‘variational parameters’ ^, as well as fixed additional parameters ^ governing the shape of probability distribution that is modelled and a measurement of a cost function value〈^^〉on the qubits of the quantum computer, wherein the cost function value represents the probability density function value evaluated at ^,^^,^(^)=918. In this example, the QNN cost function is assumed to be a ^^state or a local cost operator, and can be measured by Hamiltonian averaging, QPE, state-overlap or other operator estimation techniques. Fig.9B shows the sampling stage 910. At the sampling stage, the trained variational circuit 916 is daggered (resulting in an operator ^^^ ^^^^^,^) and the model from the latent space is mapped to a bit space using the transform associated with the real quantum feature map used on block 902, in this example quantum Chebyshev transform ^^^^^^or quantum Hartley transform ^^^^^912, respectively, while the real quantum feature map (again, the Chebyshev feature map or Hartley feature map) and inverse basis transformation are treated as projective measurement and are subsumed in a sampling process 914. The DQGM training and sampling as described in more detail in PCT / EP2023 / 052998, in particular with reference to Fig.7A. Fig.10A and 10B show numerical results of a Chebyshev feature map used for DQGM according to an embodiment. In this example, an asset is considered whose price follows a geometric Brownian motion under the risk-neutral measure. At time ^, the price ^^is governed by the stochastic differential equation d^^= ^ ^^d^ + ^ ^^d^^with constant drift ^, constant volatility ^ and stochastic process ^^. Applying the Black-Scholes model gives the solution ln ^ + ^ ^^, implying that the underlying asset price is itself lognormally distributed with probability density function (44) To train the model, the differentiable quantum generative models (DQGM) framework is utilised. This begins with training the lognormal distribution in the latent space with the Chebyshev feature map ^^^(^) shown in Fig.9A and then sampling from the distribution in the computational basis using the Chebyshev transform circuit ^^^^^^shown in Fig.9B. The results in Fig.10A and 10B show the outcome of training two lognormal distributions using ^ = 5 qubits with a variational hardware-efficient Ansatz ^^^of depth ^ = 50. A mean squared error loss is employed with a learning rate of 0.005, simulated over 5000 epochs using Julia’s Yao package. The training grid consists of non-negative Chebyshev nodes ^^^ ^ ∀ ^ ∈ [0, ^ / 2], and the evaluation was performed at mid-points between the Chebyshev nodes. It is noted that at the scale used, there is no visible distinction between target and fit. The normalized histogram in Fig.10B shows the resulting sampled distributions, where 106shots are used. The success of representing a distribution (the goodness of fit) is defined by the expressivity of the model used to learn it. When skewed lognormal distributions from increasing drift are considered, ripples appear in the training distribution where the model is unable to train effectively in-between the training points. When narrowed lognormal distributions from decreasing volatility are considered, the precision of the training model diminishes as it becomes more difficult to identify the peak of the distribution. Fig.10C and 10D show numerical results of a Hartley feature map used for DQGM according to an embodiment. These examples apply the quantum Hartley transform to generative modelling of two relevant distributions of much-used stochastic models, Ornstein- Uhlenbeck (OU) and geometric Brownian motion (GBM) processes. The former may be used, for instance, to model interest rates and currency exchange rates, while the latter may be used to model the log return of stock prices in the Black–Scholes model. The stochastic process ^^at time ^ satisfies a stochastic differential equation (SDE) d^^= ^(^ − ^^)d^ + ^ d^^for the OU process and d^^= ^ ^^d^ + ^ ^^d^^for the GBM process, where the constant parameters (^, ^ and ^) represent mean (drift), volatility and reversion speed, respectively, and ^^denotes the Wiener process. Using the Fokker-Planck equation to treat ^^as a deterministic variable ^, the time evolution of the underlying probability density function ^(^, ^) is obtained for a given initial distribution of ^(^, 0) = ^(^ − ^^)where ^ is the Dirac-^ function. The results show that follows normal and log-normal distributions, respectively, as Setting ^(^, ^ → 1) = ^^^^^^^(^) as a target distribution (ground truth), the Hartley feature map is followed by an Ansatz parameterized by a vector of variational parameters ^ that can be adjusted in a quantum-classical optimization loop to learn these two distributions via the differentiable quantum generative model framework (DQGM). To maintain the real amplitudes of the state vector, the variational Ansatz ^^^comprises adjustable ^^rotation and fixed CNOT / CZ gates. An exemplary ^^^used in this study is illustrated in Fig.18 and discussed in more detail below with reference thereto. Variationally training both the normal and lognormal distributions in the latent space is done through feeding the initial product states|0^∅^, where |∅^ =|0^⊗^, to the Hartley feature map ^^^(^) and variational Ansatz circuit ^^⊗ ^^^, and then reading out the quantum model as an expectation value of an observable ^^=|0^∅^ ^0^∅|, as illustrated in Fig.9A. In order to improve the trainability, the quantum model is usually formulated as ^^(^)= +^ with variationally trainable scaling and (optional) bias parameters (^ and ^). The quantum model is trained to search for optimized ^^^^to fit the target probability distribution by minimizing a mean squared error (MSE) loss function ^^^^ where M is a grid of training points consisting of the integers and half-integers ^^^ / ^^^^^ . The loss minimization is performed using an Adam optimizer for gradient-based training of variational parameters ^. Fig.10C and 10D show the trained normal and lognormal distributions using ^ = 5 qubits with ^^^of depth ^ = 4 and 5, respectively. Trained models (red hollow-circle curves) tightly follow the target functions (black solid curves). Because qubits are entangled and rotated differently from the initial state to the target state in each learnable block, the number of the blocks ^ can significantly impact the learning accuracy of both models. Next, since ^(^)= the probability distribution of the trained model can be sampled in the computational basis by applying the adjoint versions of the trained Ansatz and quantum Hartley transform circuits to the zero product input state,|^^= ^^^^^^⊗ ^^^ ^^^^^ and then measuring this output state in the bitstring basis, as shown in Fig.9B. The histograms in Fig.10E and 10F show the resulting sampled probability distributions, and both of them are in good agreement with the corresponding target distributions (solid curves in Fig.10C and 10D). Fig.10G–L show results of a method of using a Hartley transform according to embodiments. In particular, these figures show the application of the Hartley basis in tackling two exemplary second-order differential equations (DEs) with variable coefficients. The first DE is of the form for some real-valued parameters ^, ^ and the boundary conditions ^(^) = 1 / √2^^^and d^(^) / d^|^^^= 0. This differential equation has a known analytic solution: The second differential equation reads: (50) with the boundary The analytic solution of this differential equation is: Solving these differential equations requires evaluations of the first and second derivatives of the quantum model, which is in these examples given by with respect to ^, which relies on a differentiable Hartley feature map ^^^(^) circuit. Gradient calculations are implemented with either automatic differentiation techniques (back propagation) or with application of the parameter shift rule. For the latter case, controlled^^^^ ^ (^) gates need to be decomposed using CNOT conjugations and the differentiation of requires 4^ + 2 shifts in total. The solution can be obtained by variationally minimizing an overall MSE loss function. In this example, the total loss function is an equal-weighted sum of contributions matching the differential equation and satisfying the boundary conditions. The loss is minimized with gradient-based Adam optimizer with a small learning rate of 0.01 and typically converges to a level of 10^^in a few thousands epochs. The Python programming language (Penny-Lane from Xanadu and Qadence from Pasqal) is used together with machine learning packages (Numpy and PyTorch) for the full statevector simulation. The shown example uses Hartley encoding over ^ = 4 qubits and the HERA of depth 3 and 4 to solve eqs. (48) and (50), respectively. The results are presented in Fig.10G–L. The hollow-circle curves represent functions and their first and second derivatives, respectively, ^^^^^(^), d^^^^^(^) / d^ and d^^^^^^(^) / d^^evaluated at optimal angles ^^^^retrieved after the optimization procedure. Overall, the trained models are consistent with the analytic solutions (black solid curves). As a further example, Fig.11A shows the training of a linear distribution with probability density function ℙ(^)= ^, using ^ = 2 qubits and an Ansatz of depth 6, with hyperparameters defined as before. The figure includes a comparison between training with the quantum Chebyshev model versus training with the quantum Fourier model on the same underlying distribution. The derivatives of the respective generative models are shown in Fig. 11B. Here it is seen that the Chebyshev derivative is more stable than the Fourier derivative (especially close to the boundaries), which is an important consideration for solving differential equations. The plot in Fig.11C shows the sampled distribution of the linear quantum Chebyshev model using an extended register consisting of ^ = 8 qubits. The widths of the bars of underlying histogram for this plot have been adjusted to reflect the non-uniform Chebyshev node grid. The proposed framework for building quantum models based on Chebyshev models can be used in various ways. First, as shown above, due to orthonormality and mapping to computational basis the prepared models are readily sampled and extended over larger registers. Second, the preparation of the implicit model can be seen as loading of an amplitude encoded state, which is required for solving systems of linear (and differential) equations. Third, the toolkit can be used for solving differential equations, both in the latent space and in the computational space, making the bridge between the two. Specifically, the Chebyshev basis is highly preferred for classical spectral methods, and is de facto a standard in approximation theory. Additionally, the mapping allows simple incorporation of boundary conditions with explicit encoding — a problem that has been noted when dealing exclusively with amplitude encoding (i.e., implicit models). Fourth, quantum Chebyshev models can be readily employed in explicit QML models concerning classification, regression, and anomaly detection, both in the variational and kernel-based settings (and targeting cases where high model expressivity is required). Other extensions to the described framework correspond to multi-dimensional (multi- variate) modelling. For this parallel reuploading can be employed, where embeds dependence on the vector of variables .^ = (^^, … , ^^). The maps can follow the tensorial structure, and models can be either via shared preparation unitary ^^^acting on ^ ^ qubits, or exploit copula-type models when dealing with multivariate probability distributions. It is noted that the Chebyshev feature map and / or quantum Chebyshev transform can also be used outside of a quantum machine learning context. For example, the Hamiltonian dynamics exp(−i ^ ℋ^) can also be seen as an embedding of the time variable t, with features defined by the spectrum of the Hamiltonian ℋ^. In this case, an explicit quantum model with spectral features in the Fourier space is obtained. This is usually processed via a QFT for reading out relevant energies. However, alternative quantum walk operators in the modified form of exp ^i arccos^^ ℋ^^^ have been shown to lead to significant computational improvements. From the quantum machine learning side, this quantum walk operators implicitly embed Chebyshev-type features. Transforming them into bit-basis states is another use of the quantum Chebyshev transform. Fig.11D–G show numerical results of a comparison between a Hartley feature map according to an embodiment and a Fourier feature map. To highlight an advantage of a real feature map (as opposed to a spectral feature map), the Hartley model is compared to the Fourier model for representing an exponential distribution with probability density function ^(^) = ^e^^^as a ground truth. This ^(^) describes lengths of interarrival times in homogeneous Poisson processes. As being an only memoryless continuous probability distribution, it has been used to model various phenomena over intervals of approximately constant rate in, e.g., queueing, reliability theory, and credit risk modelling. In this example, ^-qubit Fourier encodings are followed by different configurations of hardware-efficient Ansatz (HEA) to learn this exponential distribution on a training grid of ^ = 2^integer points the results are compared with Hartley models. The ancilla register is not required for Fourier models. Due to the complex nature of the Fourier models, the parameterized gate element in the HEA is composed of two single-qubit rotation gates, either ^^^^or ^^^^, where each gate is parameterized by a given angle, and the entangling layers are the same as the HERA. Therefore, there are 2^(^ + 1) trainable parameters for a HEA of depth ^. This HEA prepares quantum states with complex amplitude to enhance the expressivity of the Fourier model. As shown in Fig.11D–G, both Fourier and Hartley models follow ^^^^^^^(^) closely for varying number of qubits ^ with the Ansatz depth ^ = 1. However, the number of variational parameters in the complex Fourier model is double that in the real Hartley model. Results indicate that for an ^-qubit quantum system (^ ≥ 2), the Hartley model can be used to approximate an infinite polynomial power series with a reduced number of variational gates compared to the Fourier model. This is important when considering NISQ implementations and applications, as the circuit depth of these systems can be limited. Fig.12A is a hardware-level schematic of the actions effectuating the logical operations shown in circuit diagrams such as Figs.4–9. Unitary operators, e.g. those to encode the quantum kernel feature map and derivatives thereof, can be decomposed into a sequence of logical gate operations. These logical gate operations are transformations in a quantum Hilbert space over the qubits encoding an input parameter. In order to transform the internal states of these qubits, a classical control stack is used to send pulse information to a pulse controller that affects one or more qubits. The controller may send a sequence of such pulses in time and for each qubit independently. An initialization pulse is used to initialize the qubits into the|0^state 1202. Then, for example a series of single-qubit pulses is sent to the qubit array in 1204, which may apply a single-layer feature map. Additionally, two-qubit pulse sequences can be used to effectively entangle multiple qubits with a feature map 1206. The duration, type, strength and shape of these pulses determine the effectuated quantum logical operations.1208 indicates a ‘break’ in the depicted timeline, which means the sequence of gates may be repeated in a similar fashion in the direction of the time axis 1212. At the end of the pulse sequences, one or more of the qubits are measured 1210. Fig.12B is a hardware-level schematic of the actions effectuating the logical operations shown in circuit diagrams such as Figs.4–9, specified for a photonic / optical quantum processor. Unitary operators, e.g. those used to encode the quantum kernel feature map and derivatives thereof, can be decomposed into a sequence of optical gate operations. These optical gate operations are transformations in the quantum Hilbert space over the optical modes. In order to transform the internal states of these modes, a classical control stack is used to send pulse information to a pulse controller that affects one or more modes. The controller may formulate the programmable unitary transformations in a parametrised way. Initially the modes 1214 are all in the vacuum state 1216, which are then squeezed to produce single-mode squeezed vacuum states 1218. The duration, type, strength and shape of controlled-optical gate transformations determine the effectuated quantum logical operations 1220. At the end of the optical paths, one or more modes are measured with photon-number resolving, Fock basis measurement 1222, tomography or threshold detectors. Fig.12C is a hardware-level schematic of the actions effectuating the logical operations shown in circuit diagrams such as Figs.4–9, specified for a Gaussian boson sampling device. Unitary operators, e.g. those used to encode the quantum kernel feature map and derivatives thereof, can be decomposed into a sequence of optical gate operations. These optical gate operations are transformations in the quantum Hilbert space over the optical modes. In order to transform the internal states of these modes, a classical control stack is used to send information to optical switches and delay lines. The controller may formulate the programmable unitary transformations in a parametrised way. Initially the modes 1226 are all in a weak coherent state, which is mostly a vacuum state with a chance of one or two photons and negligibly so for higher counts. Subsequently, the photons travel through optical waveguides 1228 through delay lines 1230 and two-mode couplers 1232 which can be tuned with a classical control stack, and which determines the effectuated quantum logical operations. At the end of the optical paths, one or more modes are measured with photon- number resolving 1234, or threshold detectors. Fig.12D is a hardware-level schematic of the actions effectuating the logical operations shown in circuit diagrams such as Figs.4–9, which may be executed on a neutral-atom-based quantum computer. On this type of hardware, unitary operators, e.g. those used to encode the quantum feature map and derivatives thereof, can be decomposed in two different kinds of operations: digital or analog. Both of these operations are transformations in the quantum Hilbert space over atomic states. Schematic (a) of Fig.12D depicts a digital quantum circuit 1238, wherein local laser pulses may be used to individually address neutral atoms to effectuate transitions between atomic states which effectively implement sets of standardized or ‘digital’ rotations on computational states. These digital gates may include any single-qubit rotations, and a controlled-Pauli-Z operation with arbitrary number of control qubits. Additionally, such digital gate operations may also include 2-qubit operations. Schematic (b) of Fig.12D depicts an analog mode 1246 of operation, wherein a global laser light pulse may be applied to groups of, or all, atoms at the same time, with certain properties like detuning, Rabi frequencies and Rydberg interactions to cause multi- qubit entanglement thereby effectively driving the evolution of a Hamiltonian 1244 of the atomic array in an analog way. The combined quantum wavefunction evolves according to Schrödinger’s equation, and particular, unitary operators ^^= ^, where ℋ^denotes the Hamiltonian and ^ the time, can be designed by pulse-shaping the parametrised coefficients of the Hamiltonian in time. This way, a parametric analog unitary block can be applied, which entangles the atoms and can act as a variational ansatz, or a feature map, or other entanglement operation. The digital and analog modes can be combined or alternated, to yield a combination of the effects of each. Schematic (c) of Fig.12D depicts an example of such digital-analog quantum circuit, including blocks 12461-3 of digital qubit operations (single or multi-qubit) and analog blocks 12481-3. It can been proven that any computation can be decomposed into a finite set of digital gates, including always at least one multi-qubit digital gate (universality of digital gate sets). This includes being able to simulate general analog Hamiltonian evolutions, by using Trotterization or other simulation methods. However, the cost of Trotterization is expensive, and decomposing multi-qubit Hamiltonian evolution into digital gates is costly in terms of number of operations needed. Digital-analog circuits define circuits which are decomposed into both explicitly-digital and explicitly-analog operations. While under the hood, both are implemented as evolutions over controlled system Hamiltonians, the digital ones form a small set of pre-compiled operations, typically but not exclusively on single-qubits, while analog ones are used to evolve the system over its natural Hamiltonian, for example in order to achieve complex entangling dynamics. It can be shown that complex multi-qubit analog operations can be reproduced / simulated only with a relatively large number of digital gates, thus posing an advantage for devices that achieve good control of both digital and analog operations, such as neutral atom quantum computer. Entanglement can spread more quickly in terms of wall- clock runtime of a single analog block compared to a sequence of digital gates, especially when considering also the finite connectivity of purely digital devices. Further, digital-analog quantum circuits for a neutral quantum processor that are based on Rydberg type of Hamiltonians can be differentiated analytically so that they can be used in variational and / or quantum machine learning schemes, including the differential quantum circuit (DQC) schemes as described in this application. In order to transform the internal states of these modes, a classical control stack is used to send information to optical components and lasers. The controller may formulate the programmable unitary transformations in a parametrised way. At the end of the unitary transformations, the states of one or more atoms may be read out by applying measurement laser pulses, and then observing the brightness using a camera to spot which atomic qubit is turned ‘on’ or ‘off’, 1 or 0. This bit information across the array is then processed further according to the embodiments. Fig.12E is a hardware-level schematic of the actions effectuating the logical operations shown in Figs.4–9, specified for a photonic / optical quantum processor. The quantum model can be decomposed into a sequence of optical gate operations. These optical gate operations are transformations in the quantum Hilbert space of the photons. In order to transform the internal states of these photons, a classical control stack is used to send information to a universal multiport interferometer. The controller may formulate the programmable unitary transformations in a parameterized way. Initially the photons 1255 are in Fock states, weak coherent states or coherent states. The duration, type, strength and shape of controlled-optical gate transformations determine the effectuated quantum logical operations 1256. At the end of the optical paths, the modes are measured with photon-number resolving, Fock basis measurement 1257, tomography or threshold detectors. The hardware implementation shown in Fig.12A–12E may also be used to implement the quantum circuits shown in Fig.13–16, as applicable. Fig.13A depicts a system describing a Digital-Analog implementation of a quantum algorithm. In particular, Fig.13A represents a Digital-Analog implementation where the qubit interactions can be switched on and off and there exists single-qubit addressability for the application of single-qubit gates, a process described in 1300. In order to transform the internal states of these qubits, a classical control stack may be used to send information to a controller that affects one or more qubits. The controller may send multiple information carriers (e.g., pulses) in time and for each qubit independently. An initialization protocol is used to initialize the qubits, in this example into the|0^state 1302. The current example shows only four qubits, but the same principles may be extended in a straightforward manner to systems with more (or less) than four qubits. Then, a quantum feature map is applied 1304 to encode quantum information, e.g., an input variable, into a Hilbert space associated with the quantum processor. Following application of the feature map, a variational Ansatz is applied, implemented as a variational quantum circuit 1306. In the current example, the variational Ansatz comprises three single-qubit gates ^^– ^^– ^^with different rotational angles ^^. These single-qubit gates are typically sets of standardized or ‘digital’ rotations on computational states applied to different qubits with different rotation angles / parameters. These digital gates include any single-qubit rotations according to the ^^argument of the rotation. A single rotation / single-qubit gate is not sufficient to perform arbitrary rotation regardless of the parameter / angle since it can only rotate over a single axis. In order to accomplish a general rotation block, three gates in series with different rotation angles / parameters can be used, in this example represented by a block of single-qubit gates 1306. Then, the entanglement in this Digital-Analog approach is generated by a wavefunction evolution 1308, described by the block e^^ ℋ ^. During this evolution, the qubits are interacting amongst themselves, letting the system evolve for a specified amount of time. This process produces the necessary entanglement in the system. The combined quantum wavefunction evolves according to Schrödinger’s equation, and particular unitary operators ^^= e^^ ℋ ^in which ℋ is the Hamiltonian of the system (for example, for neutral atoms the Hamiltonian that governs the system with ^ being the state occupancy of the Rydberg atoms), and ^ is the evolution time. In this way, a parametric analog unitary block can be applied, which entangles the atoms and can act as a variational Ansatz. After the evolution of the wavefunction 1308, another set of single-qubit gates may be applied, similar to the process described in the block of gates ^^– ^^– ^^1306. Then, the wavefunction may be evolved once more, and finally a measurement in the computational basis occurs as described in 1310. Optionally, additional steps may be included, represented by the ellipses, e.g., before, after, or in between the blocks shown. For example, a different initial state than |0^ may be prepared prior to application of the feature map. Furthermore, the blocks can be executed in a different order, for instance, in some embodiments, block 1308 might precede block 1306. One or more of the blocks 1304–1308, or variations thereof, may be repeated one or more times prior to the measurement 1310. Fig.13B represents a typical quantum feature map 1312 that starts by preparing the quantum register to the |0^ quantum state 1302 and then applying single-qubit rotations in all of the qubits with (typically) different rotation angles 1304. In this example, single qubit rotations 1304 (here chosen as ^^(^^(^)) act on each qubit individually and are parametrized by a variable ^. For a non-linear feature map encoding such as the Chebyshev feature map, the variable ^ may be used as an angle of rotation. The application 1304 of one rotation operation to each qubit in a register may be referred to as a single layer of rotation operations. This type of encoding of classical information into quantum states is known as angle encoding, which means that a data vector is represented by the angles of a quantum state. Angle encoding can be found in many Quantum Machine Learning algorithms, with the main advantage being that it only requires ^ = log ^^ qubits to encode a dataset of ^ inputs with ^ features each. Thus, considering an algorithm that is polynomial in ^, it has a logarithmic runtime dependency on the data size. Fig.13C illustrates different pulses (potentially differing in pulse duration and / or amplitude / height) that can be sent to the quantum circuit (different qubits) to encode the classical information. The angle of the rotation that is described by the ^^(^) dictates the duration and geometry of the pulse. Fig.14A presents a quantum circuit based on a Digital-Analog implementation 1400 that has no single-qubit addressability and uses a wavefunction evolution that can be turned on and off for the entanglement generation. Fig.14A differs from Fig.13A in that it shows a technique known as data re-uploading that alters the quantum feature map 1404 and 1410. Loading classical data into a quantum system is a non-trivial task, and uploading large amounts of data makes it an even more critical issue. However, when the case of big-data is not considered, techniques like data re-uploading can be utilized. As the name suggests, this entails uploading the classical data multiple times, and encode them via rotational angle / parameter encoding into single-qubit rotations throughout the quantum circuit. Such a data re-uploading technique may start by setting the quantum register to an initial state, e.g., the all-zero state 1402, followed by angle encoding that is based on a feature map 1404, in this case a tower feature map. Following that, as already explained above with reference to 1306, three single-qubit gates in series are used to perform a general rotation block that acts as the Ansatz 1406. In this example the encoding is done through the variable of the ^^– ^^– ^^rotations; however, any type of combined rotations of the type (^^, ^^, ^^) could be applied here. Since there is no single-qubit addressability in this example, each ^^and ^^gate is applied at all qubits simultaneously with the same rotation angle ^^. Subsequently, the wavefunction is allowed to evolve for a specified amount of time 1408. Then the classical data are re-uploaded through angle encoding into single-qubit rotations 1410. However, each time the (same) data are uploaded, the information is encoded using different angles than in the previous data uploading steps. For example, the amount of rotation may be doubled in each data (re-)uploading step 1404,1410 (i.e., the rotational angle of the might be increasing as 1–2–4, etc.). Once again, the rotations ^^– ^^– ^^are applied to all qubits simultaneously with the same rotation angle for each single qubit gate, but different than 1406. The classical information can be repeatedly encoded into the quantum feature map through the data re- uploading technique, while changing the angle of the single qubit rotational angle (1404, 1410, etc.) every time after the wavefunction evolution. The resulting quantum feature map can become more expressive as a tower feature map by doing this process of serial data re- uploading with different levels of rotational angles every time the re-uploading is done. Fig.14B illustrates a different (and at current technology levels more realistic) form of a Digital-Analog implementation. In this implementation, the system has single-qubit addressability, but the wavefunction evolution cannot be turned off, thus staying always on. This system requires less control over the qubit interactions (since they are always on) and only requires single-qubit addressability. The single-qubit gates are applied while the wavefunction evolution (qubit interaction) is also happening. In the shown example, the quantum circuit 1418 starts by encoding information in the |0^ quantum state 1402, followed by a quantum feature map 1404 (analogous to 1304). Then, a variational Ansatz is applied, comprising both wavefunction evolution e^^ ℋ ^1408 and simultaneous application of a block of single-qubit gates 1416 (similar to block 1306). After multiple repetitions of block 1416, each time with different rotational angles at the single-qubit gates, the circuit ends with a measurement in the computational basis 1414. Fig.15A illustrates a quantum circuit 1500 that implements a Digital-Analog implementation with single-qubit addressability, wherein the wavefunction evolution (e.g., atom interactions) can be turned on and off. This quantum circuit is equivalent to the quantum circuit in Fig.14A, with the time of the wavefunction evolution 1508 being ^ = ^ (in dimensionless coordinates), while all other operations are the same as the ones described in 1400. The system is initialised 1502, and then the same technique of data re-uploading with a tower feature map 1504, 1510 and the same Ansatz comprising single-qubit gates 1506,1512 followed by wavefunction evolution 1508 are used (all similar to 1400). The reason that such a specific time period for the wavefunction evolution 1508 is selected, is due to the fact that such evolution results in the application of Controlled-Z (CZ) gates between pairs of qubits. The benefit of describing the wavefunction evolution as a set of CZ gates lies in the fact that this Digital-Analog implementation of a quantum circuit resembles the structure of the equivalent Digital quantum circuit, which instead of the operation 1508 performs a set of CNOT gates between pairs of qubits included in the quantum circuit. This allows more straightforward comparisons to be drawn between the Digital and Analog implementation of such feature maps, and to evaluate their relative performance. Fig.15B illustrates a quantum circuit that implements a Digital-Analog implementation with single-qubit addressability 1518, similar to 1500, but with the entanglement generated via CZ gates between the qubits, resembling the atom interaction / entanglement generation. Fig.16 presents a workflow for generalized circuit differentiation. In Quantum Machine Learning (QML) algorithms, various quantum feature maps and Parametric Quantum Circuits (PQCs) are typically utilised to express the circuit required to solve a particular problem. These quantum circuits contain tuneable parameters that use a classical optimizer to find the optimal values of the parameters that exist for that formulation. The differentiation required for most parameter optimization methods can be achieved in various ways, with the most common one being the Parameter Shift Rule (PSR). An example of such kind of differentiation for quantum feature maps is presented in Fig.8. One way to calculate analytic derivatives of quantum circuits is by measuring overlaps between quantum states. Analytic derivatives can be used for differentiating unitaries like the one presented in 1604, e.g., ^^= e^^ ^ ^^ / ^generated by arbitrary Hermitian generator ^^. However, in order to have a less resource-intensive method for differentiation, the parameter shift rule (PSR) was proposed. The PSR algorithm can provide analytic gradient estimations through measurement of the expectation values, with gate parameters being shifted to different values. The PSR algorithm is much used to perform differentiation for QML algorithms; however, it is only valid for a specific type of generators, viz., generators that are involutory or idempotent. This is because the full analytic derivative only requires 2 measurements of expectation values (2 unique eigenvalues). Although this simplifies the differentiation protocol, it also restricts it to only work for a certain type of generators. Therefore, as an improvements and generalizations of the PSR algorithm, in 1600 a scheme for a Generalized Parametric Shift Rule (GPSR) algorithm is shown. Such approach allows for differentiating generic quantum circuits with unitaries generated by operators with a rich spectrum (i.e., not limited to idempotent generators). The GPSR algorithm is based on spectral decomposition, and showcases the role of the eigenvalue differences (spectral gaps) during differentiation for the generator spectrum. Such approach works for multiple non-degenerate gaps, in contrast to the PSR that is only valid for involutory and idempotent operators with a single unique spectral gap. A workflow for generalized circuit differentiation can be described as follows: create a quantum circuit that encodes the function ^ similar to 1600 including single- and multi-qubit gates 1602. Pick a unitary operator such as ^^(^) = exp^−i ^ ^^ / 2^ 1604 that is parametrized by some tuneable parameter ^, and study the spectrum of its generator ^. Then, using unique and positive spectral gaps, a system of equations that includes the spectral information can be created, alongside the calculated parameter shifts, and the measured function expectation values as shifted parameters. The solution of such system can provide the analytical derivative for any general generator G and thus perform GPSR. GPSR is described in more detail in Kyriienko et al., ‘Generalized quantum circuit differentiation rules’, Phys. Rev. A 104 (052417), which is hereby incorporated by reference. Fig.18 is a quantum circuit for an exemplary hardware-efficient real-amplitude Ansatz according to an embodiment. In the depicted example, the ^-qubit hardware-efficient real- amplitude Ansatz (HERA) 1800 comprises an initial layer of ^^gates 1804 on each qubit, followed by depth-d blocks 18061–d, each of which is composed of different highly entangled arrangements of CNOT gates connecting successive qubits and a layer of ^^gates on each qubit. If the depth is equal to or larger than the number of qubits (^ ≥ ^), blocks of CNOT gate arrangements may be repeated. In the depicted embodiment, two examples of such blocks are shown enclosed by a dashed box. The CNOT-gates may cycle through the qubits; for example, in ^, the CNOT gates may connect qubits ^ and ^ + 1 + (^ mod ^ − 1) (mod ^); but of course, other combinations or patterns are also possible. The total(^ + 1)^ parametric ^^gates may be randomly initialized. This Ansatz prepares quantum states with real-only amplitude while maximizing the expressivity of the model. The angles ^ = … , ^(^^^)^^ can be adjusted during training, for example using variational optimisation. Fig.17A depicts a system for determining a solution for an computational problem using a hybrid quantum computer system according to an embodiment. The system 1702 may include a quantum computer system 1704 comprising one or more quantum processors 1708, e.g. a gate-based qubit quantum processor, and a controller system 1710 comprising input output (I / O) devices which form an interface between the quantum processor and the outside world, e.g., the one or more classical processors of a classical computer 1706. For example, the controller system may include a system for generating control signals for controlling the quantum processing elements. The control signals may include for example a sequence of pulses, e.g. microwave pulses, voltage pulses and / or optical pulses, which are used to manipulate qubits. Further, the controller may include output device, e.g. readout circuits, for readout of the qubits and the control signals for readout of the quantum processing elements, e.g. a readout pulse for reading a qubit. In some embodiments, at least a part such readout circuit may be located or integrated with the chip that includes the qubits. The system may further comprise a (purely classical information) input 1712 and an (purely classical information) output 1714. The data processor systems may be configured to solve an optimization problem using the quantum computer. Input data may include information about the optimisation problem one wishes to solve. This information may include training data such as input-output pairs, a differential equation, boundary conditions, initial values, regularization values, etc. The input data may be used by the system to construct quantum circuits, in particular quantum feature maps and / or parametrized quantum circuits, and to classically calculate values, e.g. sequences of pulses, which may be used to initialize and control qubit operations according to the quantum circuit. To that end, the classical computer may include a quantum circuit generator 1707. The input data may be used by the system to classically calculate values, e.g. parameter settings, which may be used to initialize the quantum circuit that is implemented on the quantum processor. Similarly, output data may include loss function values, sampling results, correlator operator expectation values, optimisation convergence results, optimized quantum circuit parameters and hyperparameters, and other classical data. Each of the one or more quantum processors may comprise a set of controllable quantum processing elements, e.g. a set of controllable two-level systems referred to as qubits. The two levels are|0^and|1^and the wave function of a ^-qubit quantum processor may be regarded as a complex-valued superposition of 2^of these (distinct) basis states. The embodiments in this application however are not limited to qubits but may include any multi-level quantum processing elements, e.g. qutrits, that is suitable for performing quantum computation. Examples of such quantum processors include noisy intermediate-scale quantum (NISQ) computing devices and fault tolerant quantum computing (FTQC) devices. The quantum processor may be configured to execute a quantum algorithm in accordance with the gate operations of a quantum circuit. The quantum processor may be implemented as a gate-based qubit quantum device, which allows initialization of the qubits into an initial state, interactions between the qubits by sequentially applying quantum gates between different qubits and subsequent measurement of the qubits’ states. To that end, the input devices may be configured to configure the quantum processor in an initial state and to control gates that realize interactions between the qubits. Similarly, the output devices may include readout circuitry for readout of the qubits which may be used to determine a measure of the energy associated with the expectation value of the Hamiltonian of the system taken over the prepared state. Furthermore, the one or more quantum processors may comprise a set of continuous variable systems, such as optical or photonic quantum computers. Furthermore, the quantum processor may comprise a Gaussian Boson Sampling device as described above with reference to Fig.12C or any of the other hardware described above with reference to Fig. 12A–E. In some embodiments, the first data processor system may be implemented as a software program for simulating a quantum computer system 1704 comprising a quantum processor system 1708. Hence, in that case, the software program may be a classical software program that runs a classical computer 1706 so that quantum algorithms can be developed, executed and tested on a classical computer without requiring access to a hardware implementation of the quantum processor system. Fig.17B is a block diagram illustrating an exemplary classical data processing system described in this disclosure, for example classical computer 1706. Classical data processing system 1720 may include at least one processor 1722 coupled to memory elements 1724 through a system bus 1726. As such, the data processing system may store program code within memory elements 1724. Further, processor 1722 may execute the program code accessed from memory elements 1724 via system bus 1726. In one aspect, data processing system may be implemented as a computer that is suitable for storing and / or executing program code. It should be appreciated, however, that data processing system 1720 may be implemented in the form of any system including a processor and memory that is capable of performing the functions described within this specification. Memory elements 1724 may include one or more physical memory devices such as, for example, local memory 1728 and one or more bulk storage devices 1730. Local memory may refer to random access memory or other non-persistent memory device(s) generally used during actual execution of the program code. A bulk storage device may be implemented as a hard drive or other persistent data storage device. The classical data processing system 1720 may also include one or more cache memories (not shown) that provide temporary storage of at least some program code in order to reduce the number of times program code must be retrieved from bulk storage device 1730 during execution. Input / output (I / O) devices depicted as key device 1732 and output device 1734 optionally can be coupled to the data processing system. Examples of key device may include, but are not limited to, for example, a keyboard, a pointing device such as a mouse, or the like. Examples of output device may include, but are not limited to, for example, a monitor or display, speakers, or the like. Key device and / or output device may be coupled to data processing system either directly or through intervening I / O controllers. A network adapter 1736 may also be coupled to data processing system to enable it to become coupled to other systems, computer systems, remote network devices, and / or remote storage devices through intervening private or public networks. The network adapter may comprise a data receiver for receiving data that is transmitted by said systems, devices and / or networks to said data and a data transmitter for transmitting data to said systems, devices and / or networks. Operation modems, cable operation modems, and Ethernet cards are examples of different types of network adapter that may be used with classical data processing system 1720. As pictured in FIG.17B, memory elements 1724 may store an application 1738. It should be appreciated that classical data processing system 1720 may further execute an operating system (not shown) that can facilitate execution of the application. Application, being implemented in the form of executable program code, can be executed by classical data processing system 1720, e.g., by processor 1722. Responsive to executing application, data processing system may be configured to perform one or more operations to be described herein in further detail. In one aspect, for example, classical data processing system 1720 may represent a client data processing system. In that case, application 1738 may represent a client application that, when executed, configures classical data processing system 1720 to perform the various functions described herein with reference to a “client”. Examples of a client can include, but are not limited to, a personal computer, a portable computer, a mobile phone, or the like. In another aspect, data processing system may represent a server. For example, data processing system may represent an (HTTP) server in which case application 1738, when executed, may configure data processing system to perform (HTTP) server operations. In another aspect, data processing system may represent a module, unit or function as referred to in this specification. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and / or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present embodiments has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims

CLAIMS 1. A method for solving a computational problem using a hybrid quantum computer system comprising a classical computer and a quantum register, the method comprising: receiving or determining one or more quantum circuits comprising gate operations on quantum elements of the quantum register, one or more quantum circuits including: - an amplitude-based feature map comprising gate operations for encoding one or more input features, for example one or more data points or function variables, associated with the computational problem in a Hilbert space of the quantum elements of the quantum register, the gate operations being configured to encode the one or more input features in amplitudes of a set of orthogonal basis states of the quantum register, wherein the amplitudes are based on a set of basis functions of a real- valued function basis; - a further quantum circuit, for example a variational quantum circuit, comprising gate operations determined by the computational problem; executing the gate operations of the quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and for readout of the quantum elements to obtain hardware measurement data; and determining information associated with a solution to the computational problem based on the hardware measurement data.

2. The method as claimed in claim 1, wherein the feature map is a Chebyshev feature map, and wherein the amplitudes are based on one or more Chebyshev polynomials of order ^, ^^(^), ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register.

3. The method as claimed in claim 2, wherein the one or more input features ^ are selected from a Chebyshev grid of degree ^.

4. The method as claimed in claim 2 or 3, wherein the Chebyshev polynomial is a Chebyshev polynomial of the first kind or a Chebyshev polynomial of the second kind.

5. The method as claimed in claim 1, wherein the feature map is a Hartley feature map, and wherein the amplitudes are based on one or more Hartley basis functions of order ^, ℎ^(^), ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register.

6. The method as claimed in any on of the preceding claims, wherein the amplitude-based feature map defines gate operations on quantum elements for encoding the one or more input features and on a quantum element that is used as an ancilla for the encoding quantum elements, wherein the amplitude-based feature map includes: a first sub-circuit configured to prepare the quantum elements in a superposition of basis states; a second sub-circuit configured to encode the basis functions based on phase gates, wherein at least part of the phase gates are controlled by the ancilla; and / or a third sub-circuit for selecting a sum term based on the state of the ancilla.

7. The method as claimed in any on of the preceding claims, wherein the computational problem relates to solving one or more equations, for example differential equations, and wherein the quantum circuit defines gate operations of a trainable quantum model of a target function representing a solution to the one or more one or more equations; and, wherein the execution of the quantum circuit includes training a quantum model to approximate the target function by extremising a cost or loss function value.

8. The method as claimed in claim 7, wherein the training includes: translating the gate operations of the quantum circuit into control signals for controlling quantum elements of the quantum register and readout of the quantum elements to obtain hardware measurement data; executing the gate operations of the quantum circuit based on the control signals; determining an estimated target function and, optionally, one or more derivatives of the estimated target function, based on the hardware measurement data; computing a loss or cost function value based on the estimated target function and the one or more derivatives of the estimated target function, adjusting one or more variational parameters and repeating the execution of the gate operations of the quantum circuit, and determining the estimated target function until the computed loss or cost function value indicates that the estimated target function matches a solution to the one or more equations and, optionally, one or more associated boundary conditions.

9. The method as claimed in any one of the preceding claims, the method further comprising: receiving or determining a differentiated quantum circuit, the differentiated quantum circuit comprising gate operations for encoding, for each of the one or more input features, a value based on a derivative of the basis function with respect to the one or more input features in the amplitudes the set of basis states of the quantum register, wherein the differentiated quantum circuit is obtainable by one of: - applying the parameter shift rule to the encoding quantum circuit; - performing circuit and / or mid-circuit measurements on the encoding quantum circuit with symmetrically shifted data points; or - determining analytical derivatives for the basis function of order ^, ^ = 0, … , ^ − 1, expressing the analytical derivatives in terms of combinations and / or modifications of the basis functions, and determining a series of quantum circuits configured to encode the combinations and / or modifications of the basis functions as an effective unitary transformation.

10. The method as claimed in any one of the preceding claims, wherein the further quantum circuit comprises a variational quantum circuit, the method further comprising: variationally optimising a parameter of the variational quantum circuit by measuring and extremising a cost or loss function value.

11. The method as claimed in any one of the preceding claims, the method further comprising: receiving or determining a transform quantum circuit comprising gate operations configured to map a computational basis state to a basis state associated with the real-valued feature map; and executing the gate operations of the transform quantum circuit.

12. A method for executing a quantum transform associated with a function basis on a quantum register of a hybrid quantum computer system, the method comprising: preparing the quantum register in a first state representing a computational basis state; receiving or determining a transform quantum circuit comprising gate operations on quantum elements of the quantum register, the transform quantum circuit comprising gate operations configured to map a computational basis state to a basis state associated with the function basis,; andexecuting the gate operations of the transform quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and, optionally, for readout of the quantum elements to obtain hardware measurement data.

13. The method as claimed in claim 12, wherein the function basis is a Chebyshev function basis, wherein the quantum transform is a quantum Chebyshev transform, and wherein the basis state associated with the function basis is a Chebyshev basis state, preferably a unitary representation of the transform quantum circuit ^^^^^^being given bywherein ^ represents a number of basis states,represents a Chebyshev basis state with index ^, and ^^| represents a computational basis state with index ^.

14. The method as claimed in claim 12, wherein the Chebyshev basis is defined on the roots grid, wherein the transform quantum circuit defines gate operations on data quantum elements in the first state and on a quantum element that is used as an ancilla for the data quantum elements, and wherein the transform quantum circuit comprises at least one of: a first sub-circuit for creating a Bell state between the ancilla qubit and the data qubits; a second sub-circuit for transforming from real space to spectral space; a third sub-circuit for making the relative phases between all basis states either purely real or purely imaginary; a fourth sub-circuit for permuting the data qubits to reorder amplitudes of the conditioned states; and a fifth sub-circuit for making the relative phases between all basis states either purely real or purely imaginary.

15. The method as claimed in claim 12, wherein the Chebyshev basis is defined on the extrema grid, wherein the transform quantum circuit defines gate operations on data quantum elements in the first state and on a quantum element that is used as an ancilla for the data quantum elements, and wherein the transform quantum circuit comprises at least one of:a first sub-circuit for making the relative phases between all basis states either purely real or purely imaginary; a second sub-circuit for permuting the data qubits; a third sub-circuit for transforming from real space to spectral space; and a fourth sub-circuit for permuting the data qubits.

16. The method as claimed in claim 12, wherein the function basis is a Hartley function basis, wherein the quantum transform is a quantum Hartley transform, and wherein the basis state associated with the function basis is a Hartley basis state, preferably a unitary representation of the transform quantum circuit ^^^^^being given bywherein ^ represents a number of basis states,represents a Hartley basis state with index ^, and ^^| represents a computational basis state with index ^.

17. The method as claimed in claim 16, wherein the transform quantum circuit defines gate operations on data quantum elements in the first state and on a quantum element that is used as an ancilla for the data quantum elements, and wherein the transform quantum circuit comprises at least one of: a first sub-circuit for transforming from real space to spectral space; a second sub-circuit for reordering amplitudes of intermediate states; a third sub-circuit for adjusting phases of the intermediate states; and a fourth sub-circuit for reordering amplitudes of intermediate states.

18. A method for executing an inverse Chebyshev transform on quantum register of a hybrid quantum computer system, the method comprising: preparing the quantum register in a first state representing a Chebyshev basis state; receiving or determining an inverse transform quantum circuit comprising gate operations on quantum elements of the quantum register, the inverse transform quantum circuit comprising gate operations configured to map a Chebyshev basis state to a computational basis state, preferably a unitary representation of the inverse transform quantum circuit ^^^^^^^being given by ^^^^^^^ =∑ ^^^ ^^^|^^ ^^^^^^ ^ ^^ wherein ^ represents the number of basis states, |^^ represents a Chebyshev basis state with index ^,represents a computational basis state with index ^; andexecuting the gate operations of the inverse transform quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and, optionally, for readout of the quantum elements to obtain hardware measurement data.

19. The method as claimed in claim 18, wherein the unitary representation of the inverse transform quantum circuit is equivalent to the Hermitian conjugate of the unitary representation of the transform quantum circuit according to any one of claims 13–15.

20. The method as claimed in any one of the preceding claims, wherein applying a quantum circuit to the quantum register comprises translating the quantum circuit into a sequence of signals and using the sequence of signals to operate the qubits in the quantum register of the quantum processor; and / or, wherein receiving hardware measurement data comprises applying a read-out signal to qubits of the quantum processor and, in response to the read-out signal, measuring quantum hardware measurement data.

21. The method as claimed in any of the preceding claims, wherein the hybrid quantum computer includes a gate-based qubit device, a digital / analog quantum device, a neutral-atom-based quantum device, an optical qubit device and / or a gaussian boson sampling device.

22. A hybrid quantum computer system comprising a classical computer system and a quantum register, the hybrid quantum computer system being configured for: receiving or determining, by the classical computer system, one or more quantum circuits comprising gate operations on quantum elements of the quantum register, one or more quantum circuits including: - an amplitude-based feature map comprising gate operations for encoding one or more input features, for example one or more data points or function variables, associated with the computational problem in a Hilbert space of the quantum elements of the quantum register, the gate operations being configured to encode the one or more classical input features in amplitudes of a set of orthogonal basis states of the quantum register, wherein the amplitudes are based on a set of basis functions of an real-valued function basis; - a further quantum circuit, for example a variational quantum circuit, comprising gate operations determined by the computational problem;executing, by the classical computer system, the gate operations of the quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and for readout of the quantum elements to obtain hardware measurement data; and determining, by the classical computer system, information associated with a solution to the computational problem based on the hardware measurement data.

23. The hybrid quantum computer system as claimed in claim 22, wherein the amplitude-based feature map is a Chebyshev feature map, and wherein the amplitudes are based on one or more Chebyshev polynomials of order ^, ^^(^), ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register.

24. The hybrid quantum computer system as claimed in claim 22, wherein the amplitude-based feature map is a Hartley feature map, and wherein the amplitudes are based on one or more Hartley basis functions of order ^, ℎ^(^), ^ = 0, … , ^ − 1, wherein ^ is a number of available basis states of the quantum register.

25. A hybrid quantum computer system comprising a classical computer system and a quantum register, the hybrid quantum computer system being configured for: preparing the quantum register in a first state representing a computational basis state and receiving or determining a transform quantum circuit comprising gate operations on quantum elements of the quantum register, the transform quantum circuit comprising gate operations configured to map a computational basis state to a basis state associated with a real-valued function basis; or preparing the quantum register in a second state representing a basis state associated with a real-valued function basis and receiving or determining an inverse transform quantum circuit comprising gate operations on quantum elements of the quantum register, the inverse transform quantum circuit comprising gate operations configured to map a basis state associated with the real-valued function basis to a computational basis state; and executing the gate operations of the transform quantum circuit, the execution of the gate operations including translating the gate operations into control signals for controlling the quantum elements of the quantum register and, optionally, for readout of the quantum elements to obtain hardware measurement data.

26. A hybrid quantum computer system as claimed in claim 25, wherein the real-valued function basis is a Chebyshev basis or a Hartley basis.

27. A computer program or suite of computer programs comprising at least one software code, the software code portion configuring, when run on a hybrid quantum computer system, the hybrid quantum computer system to execute the method steps as claimed in any one of claims 1–21.

28. A non-transient storage medium storing the computer program or suite of computer programs as claimed in claim 27.

Citation Information

Patent Citations

  • Solving a set of (NON)linear differential equations using a hybrid data processing system comprising a classical computer system and a quantum computer system

    WO2022101483A1

  • Differentiable generative modelling using a hybrid computer including a quantum processor

    WO2023148404A1

Cited By

  • Quantum state amplitude coding method, device, equipment and medium

    CN119783842A

  • Dynamic scheduling and power consumption balancing method for IC chip multi-station parallel test

    CN122239628A

  • Cleaning device for small parts

    EP3253422B1

  • System and method for solving a differential problem using a quantum computer

    EP4826603A1

  • Methods and systems for enhancing detection of fraudulent authentication data

    US12413402B1