Next Article in Journal
Convolutional Autoencoders for Data Compression and Anomaly Detection in Small Satellite Technologies
Previous Article in Journal
Ensemble Large Language Models: A Survey
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Approach to State-to-State Transformation in Quantum Computing

1
Department of Electrical and Computer Engineering, The University of Texas at San Antonio, San Antonio, TX 78249, USA
2
Department of Computer Science, School of Engineering, City University of New York (CUNY), New York, NY 10031, USA
*
Author to whom correspondence should be addressed.
Information 2025, 16(8), 689; https://doi.org/10.3390/info16080689
Submission received: 27 June 2025 / Revised: 9 August 2025 / Accepted: 12 August 2025 / Published: 13 August 2025

Abstract

This article presents a new approach to the problem of transforming one quantum state into another. It is shown that an r -qubit superposition | x can be obtained from another r -qubit superposition | y , by using only ( 2 r 1 ) rotations, each presented by one controlled rotation gate. The quantum superpositions with real amplitudes are considered. The traditional two-stage approach U y 1 U x : | x | 0 r | y requires twice as many rotations. Here, both transformations to the conventual basis state, U x :   | x   | 0 r and U y :   | y   | 0 r , use ( 2 r 1 ) rotations each on two binary planes, and many of these rotations require additional sets of CNOTs to be represented as 1- or 2-qubit-controlled gates. The proposed method is based on the concept of the discrete signal-induced heap transform (DsiHT) which is unitary and generated by a vector and a set of angular equations with given parameters. The quantum analog of this transform is described. The main characteristic of the DsiHT is the path of processing the data. It is shown that there exist such fast paths that allow for effective computing of the DsiHT, which leads to the simple quantum circuits for state preparation and transformation. Examples of such paths are given and quantum circuits for preparation and transformation of 2-, 3-, and 4-qubits are described in detail. CNOT gates are not used, but only controlled gates of elementary rotations around the y -axis. It is shown that the transformation and, in particular, only rotation gates with control qubits are required for initialization of 2-, 3-, and 4-qubits. The quantum circuits are simple and have a recursive form, which makes them easy to implement for arbitrary r -qubit superposition, with r 2 . This approach significantly reduces the complexity of quantum state transformations, paving the way for more efficient quantum algorithms and practical implementations on near-term quantum devices.

1. Introduction

Quantum state transformation—changing a quantum state through quantum operations or gates—is fundamental to many quantum algorithms. It enables the manipulation and evolution of quantum information, facilitating complex computations. Mastery of state transformations is crucial for multi-qubit systems, which utilize specific gates to create entangled states and perform calculations. It is also vital for quantum error correction to ensure the coherence and fidelity of quantum information. Effective and low-noise state preparation procedures are essential for scalable distribution loading, which underpins a wide range of algorithms that provide a quantum advantage. Therefore, an important step in quantum computation in many applications is the multi-qubit superposition transformation. This is the problem of transformation of one quantum state into another one. Many papers have been published related to this problem [1,2,3,4,5,6,7,8]. In an analysis of these works, it is important to note the following. The view has been formed that operations on three or more qubits are complex for quantum computers. Therefore, when creating quantum circuits, much attention is paid to one- and two-qubit operations, or gates. As a result, each multi-qubit gate, as a unitary transformation, is represented by a chain of single-qubit and dual-qubit gates together with a chain of CNOTs, which may include the long-range CNOTs. The schemes of many simple (for a classical computer) operations have become extraordinarily complex and are full of such switches of operations from one qubit to another. Therefore, much attention is paid to reducing the number of such gates in quantum circuits [9,10,11]. As is known, the number of elementary rotation gates is around the number 2 ( 2 r 1 ) and CNOTs around the number 2 ( 2 r r 1 ) [12,13,14].
The solution to the problem of multi-qubit state-to-state transformation | x | y traditionally lies in the idea of preparing the desired state from the computational basis state, | 0 r . Here, r 1 is the dimension of the superposition, or the number of qubits it contains. We note the simple method with Givens rotations, x , y ± x 2 + y 2 , 0 . They rotate points inside the unit circle into the interval [ 1,1 ] on the X -axis. In matrix theory, such rotations are used in each step of the QR decomposition of a square matrix, when transforming the first column z of the submatrix into the vector of form ( ± z , 0 ,   0 , , 0 ) . We consider only real vectors with norm 1, as for quantum superpositions with real amplitudes. Since it is possible to perform transformations of two vectors x and y into the unit vector e 1 = ( ± 1,0 ,   0 , , 0 ) of same dimension,
U x : x e 1             and             U y : y e 1 ,
the transformation x y can be fulfilled by the unitary transform T = U y 1 U x . Both transforms U x and U y are unitary, and U y is the inverse of U y . Moreover, each of them requires ( 2 r 1 ) rotations with almost the same number of CNOTs, when implementing calculations with 1- and 2-qubit gates [8]. If CNOTs do not operate on the adjacent, or nearest-neighbor, bit planes (BPs), they can be implemented by a cascade of CNOTs operating on the nearest-neighbor bit planes. The permutations with Gray code can be used for this purpose [14,15]. The number of all CNOTs is estimated as ( 10 / 3 ) 2 r [7].
In this work, we analyze the method of rotations and describe the best and fastest, in our opinion, approach of elementary rotations for transforming the state. The quantum states, or superpositions of qubits, are considered with real amplitudes. The state-to-state transformation can be performed in one step, which is equivalent to implementing only one transformation which is similar to U x instead of two transforms U x and U y in Equation (1). This is the main goal of this work, not counting and reducing the number of CNOT gates; a lot of work has already been conducted in this direction [9,10,11]. We introduce and describe the new concept of the quantum signal-induced heap transform (QsiHT), which is the analog of the discrete signal-induced heap transform (DsiHT) [16,17]. With this transform, we show
  • How to implement r -qubit state-to-state transformation with real amplitudes, by using only ( 2 r 1 ) elementary rotations, each with only one angle. This number is half as much as the best-known estimation of 2 ( 2 r 1 ) rotations.
  • Visual numerical examples of preparing states x y for two, three, and four qubits.
  • How to initiate any multi-qubit superposition of qubits (without operation of tensor product).
  • The importance of the path in the r -qubit QsiHT and existence of the fast paths for effective computing of the QsiHT. For large multi-qubit superpositions, there are various fast paths (with their number increasing with the number of qubits), and we are confident that among them, it is possible to choose the most convenient path for implementing state transformations in the topology (architecture) of quantum systems.
  • How to build the simple quantum circuits for the r -qubit QsiHT.
The rest of this paper is organized as follows: In Section 2, simple qubit operations and local and controlled gates are described. The concept of the weak two-wheel carriage DsiHT is presented in Section 3. The strong two-wheel carriage DsiHT is described and an example with the 2-qubit QsiHT is given in Section 4. The DsiHT-based method of qubit initiation is presented in Section 5, and an example with a 3-qubit superposition is described in detail. In Section 6, we discuss the importance of the path in computation of the DsiHT. The quantum circuits for initiation of 2-, 3-, and 4-qubit states by the QsiHT with fast paths are described. The general concept of the DsiHT is presented in Section 7. Examples of 2- and 3-qubit preparation with three and seven rotations, respectively, are described in detail. Finally, Section 8 concludes the paper with a summary of the contributions.

2. One- and Two-Qubit Operation

In this section, we briefly describe the concept of local gates on single qubits in the quantum superposition [18,19]. The 1- and 2-qubit operators are described by 2   ×   2 and 4   ×   4 unitary real or complex matrices, respectively. Let us find out what it means to apply a gate to one qubit in a two-qubit superposition. Consider the computational basis of states. In the general case, a 2-qubit superposition | z = z 0 | 00 + z 1 | 0 1 + z 2 | 10 + z 3 | 11 may be the Kronecker product of two 1-qubit states | x = x 0 | 0 + x 1 | 1 and | y = y 0 | 0 + y 1 | 1 , or maybe not. In the first case, the 2-qubit | z = | x | y is non-entangled, and in the second case, the 2-qubit | z is entangled. Let U 2 , V 2 , and U 4 denote some unitary operations, that is, 2   ×   2, 2   ×   2, and 4   ×   4 matrices, respectively. If the operation on the non-entangled 2-qubit, that is, 2-qubit superposition, is described by
U 4 | z = U 2 x , V 2 y = U 2 | x V 2 y = ( U 2 V 2 ) | x | y ,
then it is the qubit-wise operation, or the operation on two qubits | x and | y of | z . This operation includes the operations on single qubits, too,
U 4 | z = U 2 | x , | y = U 2 | x | y       and       U 4 | z = x , V 2 y = x V 2 y .
As an example, consider the unitary matrix U 2 = a , b ; c , d , with the real coefficients and a 2 + b 2 + c 2 + d 2 = 1 . The first operation is described in the matrix form as
U 4 | z = U 2 | x | y = U 2 I 2 | x | y = a   b     a   b c   d     c   d x 0 y 0 x 0 y 1 x 1 y 0 x 1 y 1 .
The circuit element of this gate U 4 = U 2 I 2 is shown in Figure 1 in part (a). It is the local gate on the first qubit. Here, I 2 is the 2   ×   2 identity matrix. In the diagram, this gate (operator) is connected to the first abstract quantum wire (quantum bit). The circuit element is shown in part (b) as the operation on the second qubit. This operation can be written as I 2 U 2 . Note that in general, the input, or the 2-qubit superposition | z , of the circuit does not necessarily have to be entangled. Any 2-qubit superposition is assumed as an input.
The one-qubit gate controlled by one qubit (or bit) is described by the operation of the Kronecker sum of matrices. The circuit elements in Figure 1c,d are described in the matrix form as follows:
C 1 U 2 = I 2 U 2 = 1         1         a b     c d       a n d       C 0 U 2 = U 2 I 2 = a b     c d         1         1
Note that if a 2-qubit superposition | z is non-entangled, then C 0,1 ( U 2 ) | z may be entangled. These operations are performed on the first or last two amplitudes of | z = | x | y , but not on the qubit | x or | y . The matrices of the local gates U 2 I 2 and I 2 U 2 are more complex than the matrices of the controlled gates C 0 ( U 2 ) and C 1 ( U 2 ) . For instance,
I 2 U 2 = a b     c d         a b     c d = C 1 U 2 C 2 U 2 .  
The local and controlled multi-qubit gates are described by similar matrices by using the operations of the Kronecker sum and product. In the next sections, we consider such gates when describing the quantum circuits for multi-qubit state preparation and transformation.

3. Definition of the DsiHT

In this section, we describe the concept of the DsiHT with Givens rotations. We note the following feature of many unitary transformations used in engineering and science. The quantum Fourier transform (QFT) is well-known in quantum computation [20,21,22]. This transform is used in the solution of such problems as Shor’s algorithm for integer factorization, the quantum phase estimation algorithm, systems of linear equations, and others [23,24,25,26]. The QFT is the quantum analog of the 2 r -point discrete Fourier transform, where integer r > 1 . The basis functions of the transform are 2 r complex exponential functions on the unit circle. Many other discrete unitary transformations also use sets of defined-in-advance basis functions. We mention, for example, the cosine, Hadamard, Hartley, cosine, and slant transforms [27,28,29]. The N -point discrete signal-induced heap transform (DsiHT) generates the basis by a given signal of length N . This signal is called the generator of the transform [30,31]. The DsiHT with its simple and fast algorithm (for any order N of transformation) is successfully used in many applications in grayscale and color image processing. In addition, the DsiHT can be used for QR decomposition of square matrices [32]. Together with the generator, the transform uses a parameter which defines the order of processing the input signals. This parameter, or path, is especially important and allows us to obtain different QR decompositions, with diagonal matrices R for unitary matrices.
The key of the DsiHT is the generator together with the path. The number of generators can be more than one, but in this work, we focus on the transforms using one pre-selected generator. The selection of the generator depends on the application. For example, in image enhancement, the generators can be defined by the mean or median values along the rows or columns of an image result in particularly good-quality images. The generator-signal is denoted by x = ( x 0 , x 1 , x 2 , ,   x N 1 ) . The length of the signal is considered to be a power of 2, N = 2 r ,   r > 1 . The basic building blocks that make up the transform are 2   ×   2 transforms, which can be linear or nonlinear [30]. In this work, we consider 2   ×   2 rotation matrices, or Givens rotations. The transform is calculated by using ( N 1 ) Givens rotations by angles ϑ k . In this case, the signal-generator is presented in its angular representation
x A x = ϑ 1 , ϑ 2 , ϑ 3 , , ϑ N 1
plus the norm, | | x | | . The signal is considered real. The DsiHT is a unitary transformation, H , and when applied to the generator, it results in the vector ( | | x | | , 0,0 ,   ,   0   ) . For a generator with the unit norm or after normalization, this N -dimensional vector ( 1,0 , 0 ,   ,   0 ) presents the computational basis state | 00 0 = | 0 r . Thus, the following takes place: H x = | 0 r .
To define the DsiHT, ( N 1 ) rotations are performed on the generator, and at each stage of the transformation, one of the two rotation outputs is reset to zero. For instance, the generator data can be processed in order (it is the path) x 0 and x 1 , then the updated x 0 with x 2 , the next updated x 0 with x 3 , and so on. The illustration of the calculation with the eight-point generator is given in Figure 2. Here, N = 8 and 2   ×   2 transforms T k ,   k = 1 : 7 , are rotations by angles ϑ 1 , ϑ 2 , ϑ 3 ,   ,   ϑ 7 . The DsiHT with this regular path is called the DsiHT with a weak wheel–carriage [16,31]. The last value is the updated-seven-times value of x 0 with a splash of energy of the generator, as if we were collecting energy, E x = x , in one heap.
The DsiHT can be considered as a two-level unitary transformation. First, the angles ϑ k are calculated from the generator x . Then, at each stage k of calculation, the transform T k is applied to the input signal z = ( z 0 , z 1 , z 2 ,   , z N 1 ) in the same way (path) as for the generator. For the DsiHT with the weak carriage–wheel, this two-level transform is illustrated in Figure 3, for the N = 4 case. The results of calculations are
x x 0 3 , 0,0 , 0 = x , 0,0 , 0 ,           z z 0 3 , z 1 , z 2 , z 3 .  
Thus, we described the concept of the DsiHT by using the traditional path, or the order of processing the component of the signal. The block diagrams of this transformation, shown in Figure 1 and Figure 2, are easy to describe in the general case of N . However, there are other paths, perhaps not so simple, but also effective, and we will consider several such methods in the following sections.

4. The DsiHT with the Strong 2-Wheel Carriage

We will consider the concept of the strong DsiHT, or the DsiHT with a strong two-wheel carriage (for more detail, see [16,17]). The path of this DsiHT differs from the path used in the above DsiHT with the weak wheel–carriage. As an example, the block diagram of the eight-point strong DsiHT on its generator is shown in Figure 4. The case of real signals is considered. In this example, in the first step, the angle of the rotation is calculated from the conditions
T 1 x 6 x 7 = x 0 ( 1 ) 0           a n d           | x 0 ( 1 ) | = x 6 2 + x 7 2 .
This transform is the Givens rotation, calculated by
T 1 = T φ 1 = cos ϑ 1 sin ϑ 1 sin ϑ 1 cos ϑ 1 ,
with the angle ϑ 1 = arctan x 7 / x 6 . If x 6 = 0 , the angle ϑ 1 = π / 2 , or π / 2 . Thus, the angle of rotation is defined from the angular equation  x 6 sin ϑ 1 + x 7 cos ϑ 1 = 0 . Then, the first output, x 0 ( 1 ) , of the transform is calculated in Equation (9). In the next step, the second angle of rotation, T 2 = T ϑ 2 , is calculated from the conditions
T 2 x 5 x 0 ( 1 ) = x 0 ( 2 ) 0           a n d           | x 0 ( 2 ) | = x 5 2 + x 0 1 2 .
Thus, ϑ 2 = arctan x 5 / x 0 ( 1 )   . Continuing similar calculations, the last angle ϑ 7 = arctan x 0 ( 6 ) / x 0 of rotation T 7 = T φ 7 is calculated, and then the last value x 0 ( 7 ) ,
T 7 x 0 x 0 ( 6 ) = x 0 ( 7 ) 0 .
The value x 0 ( 7 ) contains information on the energy of the generator.
The input eight-point signal z = z 0 , z 1 , z 2 , ,   z 7 is processed by the same seven rotations in the same order (path). This two-level strong carriage–wheel DsiHT with processing of the input signal z with the generator x is shown in Figure 5.
In the general case, the N -point DsiHT uses ( N 1 ) basic transformations T ϑ k ,   k = 1 : ( N 1 ) , regardless of the path of the transform. The transform of the signal-generator equals
H : x = x 0 , x 1 , x 2 , , x N 1 y 0 , 0,0 , , 0 ,
where y 0 is equal to plus/minus energy E x = x of the signal. We consider y 0 = x 0 2 + x 1 2 + + x N 1 2 ; if it is negative, the last angle in rotation can be changed by ϑ N 1 = ϑ N 1 + π . Thus, the transformation, as well as the signal-generator, is uniquely determined by the data of E [ x ] and the angles of rotations. In other words, the transformation is decoded into the vector x , ϑ 1 , ϑ 2 ,   , ϑ N 1 . For the signal-generator with norm 1, the angular representation holds, with x A x = ϑ 1 , ϑ 2 ,   , ϑ N 1 .
The output is the transform of the input:
H z = z 0 , z 1 , z 2 , , z N 2 , z N 1 ,           z 0 = z 0 N 1 .
Note that the above algorithm can be split into two parts. In the first part, angles ϑ k of all rotations can be calculated from the signal-generator. This is about the angular representation of the generator, A x . In the second part, the DsiHT of the input signal z is calculated, H z .
We now describe the DsiHT in the matrix form. For i = 1 : N 1 , we denote by R ϑ ; ( i , i + 1 ) the block diagonal matrix with ones in the diagonal and the matrix of rotation R ϑ in the cell i , i + 1   ×   ( i , i + 1 ) , that is,
R ϑ ; ( i , i + 1 ) = I i R ϑ I N i 2           a n d           R ϑ ; ( 0,1 ) = R ϑ I N 2 .
The matrix R ϑ ; ( i , i + 1 ) describes the rotation on neighbor bit planes i and ( i + 1 ) . For instance, in the N = 4 case, consider the rotations
R ϑ ; ( 0,1 ) = cos ϑ sin ϑ 0 0 sin ϑ cos ϑ 0 0 0 0 1 0 0 0 0 1 = R ϑ 0 0 I 2 = R ϑ I 2           a n d           R R ϑ ; ( 1,2 ) = 1 R ϑ 1 .
The bit planes 0 and 1, or 00 and 01, are adjacent planes; that is, the plane numbers differ by only one bit. The bit planes 1 and 2, or 01 and 10, are not adjacent planes.
In the matrix form, the DsiHT, H N , is written as the multiplication of ( N 1 ) block diagonal matrices with rotations on adjacent planes,
H N = R ϑ N 1 ; ( 0,1 ) R ϑ N 2 ; ( 1,2 ) R ϑ N 3 ; ( 2,3 ) R ϑ 2 ; N 3 , N 2 R ϑ 1 ; N 2 , N 1 .
In the N = 4 case, the four-point strong DsiHT with three rotations is written as
H 4 = R ϑ 3 ; ( 0,1 ) R ϑ 2 ; ( 1,2 ) R ϑ 1 ; ( 2,3 ) = R ϑ 3 I 2 1 R ϑ 2 1 I 2 R ϑ 1 .
Now, we consider an example with the four-point DsiHT generated by a signal x .
Example 1. 
Let  x  be the vector-signal  x = ( 1,2 , 2,1 )  with energy  E x = 10 , and let the input signal be  z = ( 1,2 , 4,2 )  with energy  E z = 5 . The DsiHT with the generator  x  has the following matrix:
H 4 = 0.3162 0.6325 0.6325 0.3162 0.9487 0.2108 0.2108 0.1054 0 0.7454 0.5963 0.2981 0 0 0.4472 0.8944 = D 1 2 2 1 9 2 2 1 0 5 4 2 0 0 1 2 .
Here, the diagonal matrix  D =   { 0.3162, 0.1054, 0.1491, 0.4472 } The angles for this transformation are  ϑ 1 , ϑ 2 , ϑ 3 = { 26.5651 ° ,   48.1897 ° ,   71.5651 ° } . One can note that the normalized vector-generator  ( 1,2 , 2,1 ) / 10  lies in the first row of this matrix. The transformation is described by the following decomposition by three rotations:
                                                                                                                                                                          H 4 = R ϑ 3 ; ( 0,1 ) R ϑ 2 ; ( 1,2 ) R ϑ 1 ; ( 2,3 ) = cos ϑ 3 sin ϑ 3 0 0 sin ϑ 3       cos ϑ 3 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 cos ϑ 2 sin ϑ 2 0 0 sin ϑ 2 cos ϑ 2 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 cos ϑ 1 sin ϑ 1 0 0 sin ϑ 1 cos ϑ 1 . ϑ 3 = 71.56 ° ,             ϑ 2 = 48.19 ° ,             ϑ 1 = 26.56 °  
Consider the permutations  P = ( 0,3 , 2,1 )  and  P = ( 0,1 , 2,3 )  with the matrices
P = 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0           a n d           P = 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 ,
respectively. These two permutations describe the cyclic shifts of a four-point vector. The following holds for the rotation on the first and second bit planes:  R ϑ 2 ; ( 1,2 ) = P R ϑ 2 ; ( 2,3 ) P , that is,
R ϑ 2 ; ( 1,2 ) = 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 cos ϑ 2 sin ϑ 2 0 0 sin ϑ 2 cos ϑ 2 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 .
Therefore, the matrix of the four-point DsiHT is described by three controlled gates as
H 4 = R ϑ 3 I 2 P I 2 R ϑ 2 P ( I 2 R ϑ 1 ) .
The transform of the generators is  H 4 x = 1,0 , 0,0 , and for the input signal,  H 4 z = ( 4.7434,0.5270,1.4907,0 ) . The normalized vectors,  x = x / 10  and  z = z / 5 , can be considered as the 2-qubit superpositions  | x = ( | 00 + 2 | 0 1 + 2 | 10 + | 11 ) / 10  and  | z = ( | 00 + 2 | 0 1 + 4 | 10 + 2 | 11 ) / 5 .  The 2-qubit QsiHTs of these superpositions are  H 4 | x = | 00  and  H 4 | z = ( 4.7434 | 00 + 0.5270 | 0 1 + 1.4907 | 10 + 0 | 11 ) / 5 .
The quantum scheme of the 2-qubit quantum QsiHT is given in Figure 6. The flowchart sorts denote the permutations.
IBM’s Qiskit framework is an open-source library in Python for quantum computing developed by IBM [33,34]. It provides tools for building quantum circuits, simulating their behavior, and running them on actual quantum hardware through IBM’s backend. IBM’s Qiskit framework was used to construct and simulate the 2-qubit QsiHT quantum circuit designed to prepare the normalized quantum state corresponding to the vector x = ( 1,2 , 2,1 ) . The circuit was built using the decomposition of rotation angles through the QsiHT to encode the target amplitudes, and its inverse was applied to map the target state onto a computational basis. The simulation involved extracting both the ideal-state vector amplitudes and the corresponding measurement probabilities. These were compared against shot-based measurements from simulated runs to assess the accuracy of the circuit. The mean square root errors (MSREs) between the expected and observed results were computed to quantify the performance of the state preparation. The results of simulation of this circuit in Qiskit are shown in Table 1 and Table 2.
In general, all the quantum circuit simulations in this paper were performed using IBM’s Qiskit framework (version 1.3.2) within a Python 3.10 environment. Simulations are conducted using Qiskit’s AerSimulator (version 0.16.0) backend. This backend provides a high-performance and noise-free simulation for quantum circuits. For each quantum circuit, all qubits are measured using Qiskit’s measure_all() method. Theoretical amplitudes and corresponding probabilities are computed using the Qiskit’s Statevector class, which returns the theoretical quantum state resulting from the circuit under near-ideal unitary execution. To evaluate sampling error, each circuit is executed with different shot counts. This allows for the systematic examination of the convergence for the sampled probabilities toward their theoretical values. These sampled results are collected using Qiskit’s AerSimulator default Sampler interface for a noise-free simulation, and the mean relative squared error (MRSE) between the empirical and theoretical distributions is computed as a quantitative measure of simulation accuracy.
Following the same methodology, a simulation with synthetic quantum channel noise is evaluated for each circuit as well. Qiskit’s GenericBackendV2 with its default parameters is used since this simulator backend introduces depolarizing, thermal relaxation, and readout errors. Amplitudes under this noisy simulator are obtained via the Statevector class output of the GenericBackendV2 simulation results after noise insertion, and the corresponding sampled probabilities are collected in the same manner as the noise-free simulations. The addition of this simulation approach allows for direct comparison between ideal unitary execution and the bias introduced by the synthetic quantum channel noise. These simulation results with channel noise are included after each noise-free simulation (see Table 2).
Thus, the same task, H 4 :   | x | 00 , can be solved by using different paths of the DsiHT. Each path defines the structure of the matrix and, therefore, the quantum circuit of the transformation. The number of rotations is the same, but the angles of the rotations are changed. The same is true for other orders N = 2 r of the DsiHT, when r > 2 .

5. Qubit Initiation by the DsiHT

In this section, we consider the inverse DsiHT and describe a simple quantum scheme for initiation of a multi-qubit superposition. Then, in Section 6, we show how important it is to choose such a path to make this scheme more efficient.
Let x be the 2 r -D unit vector x = ( x 0 , x 1 ,   , x 2 r 1 ) , which represents the r -qubit superposition
| x = x 0 | 0 + x 1 | 1 + + x 2 r 1 | 2 r 1 ,           x 0 2 + x 1 2 + + x 2 r 1 2 = 1 ,
Here, the components of the vector are real and complex, and { | k ,   k = 0 : 2 r 1 } is the conventional basis of states. We consider the case where x is real. For the DsiHT generated by this vector, we have
H x = H x 0 , x 1 , , x 2 r 1 = ( 1,0 , , 0 ) = | 0 r .
In Example 1, such a DsiHT is described for the N = 4 case, or the 2-qubit superposition | x = ( | 0 + 2 | 1 + 2 | 2 + | 3 ) / 10 . This unitary transformation H 4 = H is real. Therefore, its inverse transformation is defined by the matrix being a transpose to H 4 , that is, H 4 1 = H 4 . We obtain H 4 | 00 = | x . Through the use of the property of the inverse operation (transposition), the matrix H 4 can be composed by the matrices of rotation by angles { ϑ 3 , ϑ 2 , ϑ 1 } as follows:
H 4 = R ϑ 3 ; ( 0,1 ) R ϑ 2 ; ( 1,2 ) R ϑ 1 ; ( 2,3 ) = R ϑ 1 ; ( 2,3 ) R ϑ 2 ; ( 1,2 ) R ϑ 3 ; ( 0,1 ) = R ϑ 1 ; ( 2,3 ) R ϑ 2 ; ( 1,2 ) R ϑ 3 ; ( 0,1 ) = I 2 R ϑ 1 P I 2 R ϑ 2 P R ϑ 3 I 2 .
To initiate the 2-qubit superposition | x from the first basis state | 00 , the quantum circuit of the inverse 2-qubit DsiHT shown in Figure 7 can be used. The angular representation of the signal x (or the superposition | x ) thus allows this superposition to be initiated by three rotations.
In the general case of r > 1 , the unitary matrix of the DsiHT generated by the real signal is real. Therefore, the inverse DsiHT is described by the matrix transpose to the matrix of the DsiHT and
H 1 | 0 r = H 1,0 , , 0 = x 0 , x 1 , , x 2 r 1 = x = | x .
Example 2. 
Consider the 8-D unit vector  x = 1,1 , 2 , 2 , 1,3 , 1,2 / 5  and the corresponding 3-qubit superposition
| x = 1 5 1 000 + 1 0 01 + 2 010 2 011 1 100 + 3 101 + 1 110 + 2 111 .
For the eight-point strong DsiHT with this generator, the transformation matrix can be written as
H 8 = i = 0 6 R ϑ 7 i ; i , i + 1 = R ϑ 7 ; 0,1 R ϑ 6 ; 1,2 R ϑ 5 ; 2,3 R ϑ 4 ; 3,4 R ϑ 3 ; 4,5 R ϑ 2 ; 5,6 R ϑ 1 ; 6,7 .
Seven rotations by the following angles (in degrees) are used:
ϑ k ; k = 1 : 7 = 78.46 ° , 78.22 ° , 65.35 ° , 62.68 ° , 75.03 ° , 36.69 ° , 63.43 ° .
The transform in the matrix form can be written as
H 8 x = D 1 1 2 2 1 3 1 2 24 1 2 2 1 3 1 2 0 23 2 2 1 3 1 2 0 0 9.5 2 1 3 1 2 0 0 0 7.5 1 3 1 2 0 0 0 0 14 3 1 2 0 0 0 0 0 5 / 3 1 2 0 0 0 0 0 0 2 1 × 1 5 1 1 2 2 1 3 1 2 = 1 0 0 0 0 0 0 0 = | 000 .
Here, the diagonal matrix
D = d i a g 0.2 ,   0.0408 ,   0.0426 , 0.0957 , 0.1185 ,   0.0690 ,   0.3586 ,   0.4472 .
The matrix of the inverse eight-point DsiHT is calculated by seven rotations in reverse order, as
H 8 = R ϑ 1 ; 6,7 R ϑ 2 ; 5,6 R ϑ 3 ; 4,5 R ϑ 4 ; 3,4 R ϑ 5 ; 2,3 R ϑ 6 ; 1,2 R ϑ 7 ; 0,1 .
The inverse transform of the first basis state  | 000  can be written with the diagonal matrix  D  as
H 8 1 0 0 0 0 0 0 0 = 1 24 0 0 0 0 0 0 1 1 23 0 0 0 0 0 2 2 2 9.5 0 0 0 0 2 2 2 2 7.5 0 0 0 1 1 1 1 1 14 0 0 3 3 3 3 3 3 5 / 3 0 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 1 D × 1 0 0 0 0 0 0 0 = 1 5 1 1 2 2 1 3 1 2 = | x .
This diagonal matrix  D  was introduced to better illustrate the process of constructing this matrix  H 8 . The first basis function of this transformation is the generator  x  itself (the first column of the matrix). Each next basis function is a result of motion of the previous basis functions (for more detail, see [31]).
Any r -qubit superposition | x can be obtained from the zero state | 0 r by the unitary inverse heap transform H 2 r generated by x . The DsiHT requires only ( 2 r 1 ) rotations, and it is defined by the angular representation of x . Not all of these Givens rotations act on adjacent bit planes, which are defined by the path of the transformation. However, there are paths that allow us to perform all calculations only on adjacent bit planes.

6. Path in the DsiHT

In this section, we discuss the path, which is an important characteristic of the DsiHT. The path, or the order in which components of both the generator and input signal are processed, can be chosen in different ways (for more detail, see [17]). Two more paths are shown in Figure 8. These are paths with partitioning into pairs. The path shown in part (a) resembles the path that is used in the eight-point fast Fourier transform (FFT) with decimation-in-frequency [35]. Only the eight-point DsiHT uses seven rotations (as butterflies) rather than 4 3 = 12 butterflies in the FFT. These rotations T k are denoted by the circles with numbers k in the figure. The angles ϑ k of these rotations change when the path of the DsiHT changes. We will call the path in part (a) fast path #1 (or simply fast path), and fast path #2 is the path in part (b). The small open circles in these diagrams are used to indicate that these transform outputs are zero when the input is the generator x .
The path can be defined in such a way that the computation complexity of the transformation and its inverse will be minimized. For instance, it is possible to define a path that allows for simplification of quantum circuits of the r -qubit QsiHT with only controlled gates of rotation. No permutations are required. The representation of the QsiHT matrix is still in the form shown in Equation (17); only the order of processing the input data and therefore the angles of rotations must be changed accordingly. The r -qubit QsiHT always requires a maximum of ( 2 r 1 ) rotations on different bit planes (some of the 2   ×   2 rotations may be trivial). In the case of the strong QsiHT, for many rotations, these bit planes do not differ by only one bit and require additional permutations, as shown in the R ϑ 2 ; 1,2 rotation example above. Other paths require rotations in other planes. Therefore, it is necessary to find better ways to simplify the calculations [36]. To illustrate this fact, we first consider the fast path, which is shown in Figure 8a, for the 8-point DsiHT, or 3-qubit QsiHT. Then, the example for the 2-qubit QsiHT is presented and compared with Example 1.
The notation R ϑ ; ( i , j ) will be used for the rotation R ϑ by the angle ϑ in planes numbered i and j , where integer j i { 0,1 , , r 1 } . The 3-qubit DsiHT with the fast path is calculated by seven rotations in the following way. In stage 1, four rotations are used, as shown below with the corresponding bit planes:
R ϑ 1 ; ( 0,1 ) 000 001 ,           R ϑ 2 ; ( 2,3 ) 010 011 ,           R ϑ 3 ; ( 4,5 ) 100 101 ,           R ϑ 4 ; ( 6,7 ) 110 111 .
The circuit elements for these controlled rotation gates are shown in Figure 9.
The second stage uses two rotations, and the last stage uses one rotation, as shown below:
R ϑ 5 ; ( 0,2 ) 000 010 ,         R ϑ 6 ; ( 4,6 ) 100 110 ,           a n d           R ϑ 7 ; ( 0,4 ) 000 100 .
The circuit elements of these rotation gates are shown in Figure 10.
Summarizing the above reasonings, we obtain the quantum circuit for the 3-qubit QsiHT with the fast path, which is shown in Figure 11. Seven controlled gates of rotations with 2 control qubits are used; there are no additional permutations. All rotations operate on adjacent bit planes, that is, on bit planes that differ by only one bit. Such bit planes are also called adjacent qubits.
Based on this scheme, the circuit for the inverse 3-qubit QsiHT can be easily composed, and it is shown in Figure 12. The signs of all angles change, and seven controlled gates of rotation are executed in reverse order. Here, the input is a 3-qubit superposition | y and the output is H 8 | y . In the case where the input is the first basis state, | y = | 000 , the output of the circuit is the 3-qubit superposition, | x . Thus, to initiate a 3-qubit superposition, only a maximum of seven rotation gates is required.
Now, let us analyze this circuit and compare it with the circuit of the strong 3-qubit DsiHT.
Example 3. 
Consider the quantum circuit of the 3-qubit QsiHT with the fast path, which is given in Figure 13. The generator  x = 1,1 , 2 , 2 , 1,3 , 1,2  and its 3-qubit  | x  are the same as in Example 2. The angular representation of the generator with the fast path equals
A x = ϑ 1 , ϑ 2 , , ϑ 7 = 45 ° , 45 ° ,   71.5651 ° , 63.4349 ° ,   63.4349 ° ,   35.2644 ° ,   50.7685 ° .  
The matrix of this transformation can be written as
H 8 ; f a s t = D 1 1 2 2 1 3 1 2 1 1 0 0 0 0 0 0 2 2 1 1 0 0 0 0 0 0 2 2 0 0 0 0 2 2 3 3 1 3 1 2 0 0 0 0 3 1 0 0 0 0 0 0 1 3 2 4 0 0 0 0 0 0 2 1
where  D = d i a g 0.2 ,   0.7071 ,   0.3162 ,   0.3536 ,   0.1633 ,   0.3162 ,   0.1826 ,   0.4472 .  This matrix has 32 zero coefficients compared to 21 zeros in the matrix  H 8  for the strong DsiHT, which is given in Equation (31).
Now we describe the quantum circuit for the 3-qubit strong DsiHT. This transform is composed of seven rotations:
H 8 = R ϑ 7 ; 0,1 R ϑ 6 ; 1,2 R ϑ 5 ; 2,3 R ϑ 4 ; 3,4 R ϑ 3 ; 4,5 R ϑ 2 ; 5,6 R ϑ 1 ; 6,7 .
The angles ϑ k ; k = 1 : 7 are from the set in Equation (30). The block diagram of the transform is shown in Figure 14.
Four matrices from the above list, namely R ϑ 7 ; 0,1 , R ϑ 5 ; 2,3 , R ϑ 3 ; 4,5 , and R ϑ 1 ; 6,7 , are described by the controlled rotation gates similarly to those shown in Figure 9, only with different angles ϑ 7 ,   ϑ 5 , ϑ 3 , and ϑ 1 in parts (a)–(d), respectively. Three rotations by the angles ϑ 2 ,   ϑ 4 , and ϑ 6 operate on the nonadjacent bit planes 5 and 6, 3 and 4, and 1 and 2, respectively. For example, in binary representation, the numbers 5 = ( 101 ) and 6 = ( 110 ) differ by two bits. Therefore, these three rotations should be fulfilled by the rotation gates on nearest-neighbor bit planes. The circuit elements for the other three rotation gates R ϑ 2 ; 5,6 , R ϑ 4 ; 3,4 , and R ϑ 6 ; 1,2 can be described as follows:
(1)
By the permutation ( 4,5 ) , the matrix of the rotation on bit planes 5 and 6 is presented as
R ϑ 2 ; 5,6 = I 4       X       I 2 R ϑ 2 ; 4,6 I 4       X       I 2 .
The permutation ( 4,5 ) is the controlled NOT, that is, I 4 X I 2 . The controlled gate for the rotation on bit planes 4 and 6 is shown in Figure 10 in part (b). Therefore, the operation R ϑ 2 ; 5,6 can be fulfilled by using the rotation gate R ϑ 2 ; 4,6 . The circuit element of the operation in Equation (40) is shown in Figure 15.
(2)
By two permutations ( 2,3 ) and ( 4,6 ) , the matrix of the rotation on bit planes 3 and 4 is presented as
R ϑ 4 ; 3,4 = I 2       X       P 0,2 R ϑ 4 ; 2,6 I 2       X       P 0,2 ,           P 0,2 = 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 1 .
Here, P 0,2 is the permutation (0,2). The circuit element of this rotation is shown in Figure 16. The operation is reduced to the rotation gate on the adjacent bit planes 2 = ( 010 ) and 6 = ( 110 ) .
(3)
By the permutation ( 0,1 ) , the matrix of the rotation on bit planes 1 and 2 is presented as
R ϑ 6 ; 1,2 = X       I 2       I 4 R ϑ 6 ; 0,2 X       I 2       I 4
This operation is fulfilled by using the rotation gate R ϑ 6 ; 0,2 . This controlled gate of the rotation on adjacent bit planes 0 and 2 is shown in Figure 10 in part (a). The permutation ( 0,1 ) is the controlled NOT, X I 2 I 4 . The circuit element of the operation in Equation (42) is shown in Figure 17.
The entire quantum circuit for the 3-qubit QsiHT is shown in Figure 18. Together with seven controlled rotation gates, eight controlled NOTs are used. All these gates are controlled by two bits (qubits).
The circuit for the inverse 3-qubit strong QsiHT is shown in Figure 19. Here, the rotation matrix R ϑ k denotes the inverse matrix to R ϑ k , that is, R ϑ k = R ϑ k , for k = 1 : 7 . There is some symmetry in this scheme (as well as in Figure 18). The change in each controlled NOT from one rotation operation to the next one is accomplished by adding ( 2,2 ) to the bit-plane numbers. Indeed, these changes are 0,1 ( 2,3 ) ( 4,5 ) ( 6,7 ) . Quantum circuits for r -qubit strong QsiHTs can be described similarly for numbers of qubits r 4 .
The above comparison of 3-qubit QsiHTs shows how important it is to choose a path that leads to a simplified circuit. The fast path for the 3-qubit QsiHT allows an effective quantum circuit to be built. This circuit is without permutations. The results of simulation of this circuit in Qiskit for the 3-qubit superposition | x in Example 3 are shown in Table 3 and Table 4. For comparison, the results of using the circuit in Figure 13 with the QsiHT by the fast path are also given in these tables. One can note that the DsiHT with the fast path improves (reduces) the computational errors.
Example 4. 
Now we consider the four-point DsiHT and its inverse transform with the fast path shown in Figure 20. This is a two-stage path with partitioning into three pairs.
In these two stages of calculation, the rotations are described as
R ϑ 1 ; ( 0,1 ) 00 01 ,           R ϑ 2 ; ( 2,3 ) 10 11 ,           a n d           R ϑ 3 ; ( 0,2 ) 00 10 .
The corresponding circuit elements of these controlled rotation gates are shown in Figure 21. Two gates are with the 0 control bit, and the gate for the second rotation is with the 1 control bit. Connected together, these gates compose the 2-qubit QsiHT.
It directly follows from this circuit that the inverse 2-qubit DsiHT with the fast path is described by the circuit given in Figure 22. Thus, this circuit can be used to initiate the 2-qubit superposition  | x  from the basis state  | 00 .
Compared with the quantum scheme in Figure 7, the above circuit does not require permutations, which makes this circuit more effective. The angular representations  A x  of the same signal  x  are different, due to their different paths. For the fast path, this representation is  A x = ϑ 1 , ϑ 2 , ϑ 3 = 63.4349 ° , 26.5651 ° , 45 ° .  The matrix of the DsiHT with four zero coefficients is equal to
H 4 ; f a s t = 0.3162 0.6325 0.6325 0.3162 0.8944 0.4472 0 0 0.3162 0.6325 0.6325 0.3162 0 0 0.4472 0.8944 = D 1 2 2 1 2 1 0 0 1 2 2 1 0 0 1 2 ,
where the diagonal matrix  D = d i a g 0.3162 ,   0.4472 ,   0.3162 ,   0.4472 .
The new circuit for calculating this 2-qubit superposition  | x = ( | 0 + 2 | 1 + 2 | 2 + | 3 ) / 10  is given in Figure 23. The rotation by  ϑ 3 = 45 °  is  R 45 = 1 / 2 [ 1 1 ;   1   1 ] . Also, note that the 2-qubit  | x  is not the tensor product of qubits; that is,  | x  is an entangled superposition.
The results of simulation of this circuit in Qiskit are shown in Table 5 and Table 6. For comparison, the results of using the inverse QsiHT with the strong path (with the circuit in Figure 7) are also given in these tables.
We can also consider the transformation of two 2-qubit superpositions | y to | x , by using two 2-qubit QsiHTs.
Example 5. 
Consider the same 2-qubit  | x = ( | 0 + 2 | 1 + 2 | 2 + | 3 ) / 10 .  Let the second superposition be  | y = 1,3 , 4,1 / 27 .  Denoting by  H y  and  H x  the 2-qubit QsiHTs generated by  | y  and  | x , respectively, we obtain the 2-qubit  | x , by two steps:  ( 1 )   H y | y = | 00 ,   a n d   ( 2 )   H x | 00 = | x .  Calculating the angular representation of  | y ,   A y = θ 1 , θ 2 , θ 3 = { 71.5651 ° ,   14.0362 ° ,   52.5131 ° } , we obtain
| x = H x H y | y = R ϑ 1 ; ( 0,1 ) R ϑ 2 ; ( 2,3 ) R ϑ 3 ; ( 0,2 ) R θ 3 ; ( 0,2 ) R θ 1 ; ( 2,3 ) R θ 1 ; ( 0,1 ) | y ,
or
| x = R ϑ 1 ; ( 0,1 ) R ϑ 2 ; ( 2,3 ) R θ 3 ϑ 3 ; ( 0,2 ) R θ 1 ; ( 2,3 ) R θ 1 ; ( 0,1 ) | y .
The quantum circuit for this 2-qubit transform with five controlled rotation gates is given in Figure 24.
From the circuits in Figure 11, Figure 12, Figure 18, Figure 19 and Figure 24, it is not difficult to notice a recursive structure of the direct and inverse QsiHTs with the fast path and construct the quantum circuits, to initiate any r -qubit superposition by ( 2 r 1 ) rotations, for r 2 . To show this, we describe the 4-qubit QsiHT.
Example 6. 
Let  | x  be the 4-qubit superposition  x 0 | 0 + x 1 | 1 + + x 15 | 15  with real amplitudes  x k ,   k = 0 : 15 . The 4-qubit QsiHT by this generator  | x  can be calculated by the quantum circuit given in Figure 25. Fifteen angles are used: the angles of the angular representation of the generator, A x = ϑ k ,   k = 1 : 15 .  To simplify the notations in this circuit, all rotations are denoted by  R k = R ϑ k .  Four stages of calculations are shown, with a total of 15 gates with three control bits. In the first stage, the eight rotation gates and the corresponding bit planes are
R ϑ 1 ; ( 0,1 ) 0000 0001 ,       R ϑ 2 ; ( 2,3 ) 0010 0011 ,       R ϑ 3 ; ( 4,5 ) 0100 0101 ,       R ϑ 4 ; ( 6,7 ) 0110 0111 ,  
R ϑ 5 ; ( 8,9 ) 1000 1001 ,       R ϑ 6 ; ( 10,11 ) 1010 1011 ,       R ϑ 7 ; ( 12,13 ) 1100 1101 ,       R ϑ 8 ; ( 14,15 ) 1110 1111 .
In the second stage, four rotation gates have the last control bit 0,
R ϑ 9 ; ( 0,2 ) 0000 0010 ,           R ϑ 10 ; ( 4,6 ) 0100 0110 ,           R ϑ 11 ; ( 8,10 ) 1000 1010 ,           R ϑ 12 ; ( 12,14 ) 1100 1110 .
Two rotation gates with the last two 0 control bits are used in stage 3, and the last rotation with three 0 control bits is used in stage 4:
R ϑ 13 ; ( 0,4 ) 0000 0100 ,           R ϑ 14 ; ( 8,12 ) 1000 1100 ,           a n d           R ϑ 15 ; ( 0,8 ) 0000 1000 .
The circuit for the inverse 4-qubit DsiHT is obtained directly from the above circuit and is shown in Figure 26. All rotations are performed in reverse order, and the notations  R k  =  R ϑ k  are used, for  k = 1 : 15 .
Let us consider, for example, the 4-qubit superposition | x with amplitudes of the normalized vector
x = 1 , 1,2 , 4 , 2 , 1,2 , 6 , 1,1 , 4 , 2,4 , 1,1 , 2 / 111 .  
With the fast path, the angular representation of this vector is the set of angles (rounded to two decimals)
A x = 45 ° , 63.43 ° , 26.56 ° , 71.56 ° , 45 ° , 26.56 ° , 14.04 ° , 63.43 ° ,   72.45 ° , 70.53 ° , 72.45 ° , 28.47 ° ,   55.04 ° , 45 ° ,   39.02 ° .
The results of simulation of the above circuit for the 4-qubit superposition | x are given in Table 7 and Table 8.
Now, we consider the circuit symbols used in [37] for the k -fold uniformly controlled 1-qubit gate, which is a full sequence of k -fold controlled gates of rotation. Figure 27 shows the equivalent circuit of Figure 25.
Here, the notation R I stands for the set of controlled rotations R 1 ,   R 2 ,   ,   R 8 . Also, R I I stands for rotations R 9 ,   R 10 ,   R 11 ,   R 12 ; R I I I for two rotations R 13 ,   R 14 ; and R I V = R 15 . This circuit does not use any permutations. With these notations for the k -fold uniformly controlled 1-qubit gates, the quantum scheme in Figure 26 can be presented, as shown in Figure 28.
If we combine these two quantum circuits, we obtain a simple circuit for preparing the state | x from another state | y . This diagram is shown in Figure 29. Here, in order to not complicate the notations in circuit elements, two parts of the circuits are colored in distinct colors. The angles of rotations in both parts are different. The first part of this circuit uses the set of rotations with 15 angles of the angular representation A y of the vector y . The second part of the circuit is composed of the set of inverse rotations with the 15 angles of the angular representation A x of the vector x . This circuit requires 30 angles of these two vectors, or only 15 angles of A x , if the state | y = | 0000 .
Then, two controlled gates in the middle of the circuit can be united as one rotation. Therefore, the total number of rotation gates in this circuit with 4-qubit input equals g 4 = 2 8 + 4 + 2 + 1 1 = 2   ×   2 4 1 1 = 2   ×   2 4 3 = 29 . In a general case of r -qubits, these two numbers are equal to g r = 2 × 2 r 3 .
It should be noted that the path with partitioning into pairs, which is shown in part (b) in Figure 8, can also be used for the eight-point DsiHT. However, its implementation for the 3-qubit QsiHT is facing difficulties. The first four rotations R ϑ k ,   k = 1 : 4 , operate on inputs and outputs on different bit planes. This stage is described by the matrix
H 8 ; 1 = c 1 0 0 0 s 1 0 0 0 s 1 0 0 0 c 1 0 0 0 0 c 2 0 0 0 s 2 0 0 0 s 2 0 0 0 c 2 0 0 0 0 c 3 0 0 0 s 3 0 0 0 s 3 0 0 0 c 3 0 0 0 0 c 4 0 0 0 s 4 0 0 0 s 4 0 0 0 c 4 ,
where c k = cos ϑ k and s k = sin ϑ k ,   k = 1 : 4 . Also, in stage 2, the fifth rotation uses the inputs numbered 0 and 4, but outputs numbered 0 and 2. The sixth rotation uses the inputs numbered 2 and 6, and outputs numbered 4 and 6. These rotations are not on the same pair of adjacent bit planes. Thus, we assume that this path is not suitable for the 3-qubit QsiHT. However, there are other effective paths for the r -qubit QsiHT, which will be shown in the next section. The larger the number of qubits, the more such paths can be found.

7. The DsiHT in the General Form

In this section, we consider the concept of the DsiHT in the general definition introduced by Grigoryan in 2006 [30] and show a fast way to accomplish the state-to-state transformation. Namely, the state transformation will be calculated by using only one QsiHT. This is a one-step process and does not require the use of the inverse DsiHT in the method shown above in Figure 29 for 4-qubit superpositions.
The DisHT by rotations in its original definition consists of the following 2   ×   2 elementary rotations [16,30]:
T ϑ x y = cos ( ϑ ) x sin ( ϑ ) y a .
Here, the parameter a is given and the angle is calculated by
ϑ = arccos a x 2 + y 2 + arctan x y ,           a 2 x 2 + y 2 ,
ϑ = arcsin a x ,           i f           y = 0 .
Thus, the angle of rotation is defined from the angular equation sin ( ϑ ) x + cos ( ϑ ) y = a . The N -point DsiHT generated by the vector x is defined with a given vector of parameters a = { a 1 , a 2 , , a N 1 } . It is clear that in this case, when the vector parameter is zero, a = { 0,0 , , 0 } , the DsiHT is the transform described above in Section 1, Section 2, Section 3, Section 4, Section 5 and Section 6.
As an example, Figure 30 shows the calculation of the eight-point strong DsiHT with the given parameters { a 1 , a 2 , , a 7 } . The value x 0 ( 7 ) contains the information of the energy of the generator minus the number a = a 1 2 + a 2 2 + + a 7 2 . It is assumed that a x . Thus, x 0 ( 7 ) = ± x 2 a 2 . When performing the DsiHT, the angles of rotations T k = T ϑ k   ,   k = 1 : 7 , are calculated by Equation (55).
The DsiHT with the vector parameter is defined similarly for other paths. The vector parameter changes the angular representation of the generator, that is, the set of angles of rotations. Figure 31 shows the diagrams for calculating the four- and eight-point DsiHTs with the fast path in parts (a) and (b), respectively.
Example 7 
(2-qubit transformation). Consider two 4-D vectors  x = ( 1,2 , 1,3 )  and  y = ( 4 , 1,1 , 2 )  after normalization by  x = 15  and  y = 22 .  The corresponding 2-qubit superpositions are
| x = 1 15 0 + 2 1 2 + 3 3
and
| y = 1 22 4 | 0 | 1 + | 2 + 2 | 3 .
These 2-qubits are entangled. The vector parameter for the DsiHT is taken to be equal to
a = y 1 , y 2 , y 3 = 1 22 1,1 , 2 .
The norm of this vector equals  a = 1 + 1 + 4 / 22   = 6 / 22  =  3 / 11 . The DsiHT signal-flow graph with the generator  x  and this vector parameter is shown in Figure 32.
The matrix of the DsiHT is equal to
H 4 = 0.2984 0.2664 0.7012 0.5901 0.6661 0.7459 0 0 0.6836 0.6105 0.3061 0.2576 0 0 0.6439 0.7651 ,           det H 4 = 1 .
The angular representation of the generator is equal to  A x = ϑ 1 , ϑ 2 , ϑ 3 = 138.2359 ° , 40.0829 ° , 66.4201 ° .  The transform of the generator equals
H 4 x = 1 22 4 , 1,1 , 2 .  
The amplitude of the first state  | 0  is  4 / 22 , not  4 / 22 , as in the state  | y .  Therefore, with the additional 0-controlled phase shift gate
P π = 1 0 0 1 ,
 we obtain the following matrix equation:
P π I 2 H 4 x = 1         1         1         1 H 4 x = 1 22 4 1 1 2 = y .  
Thus, with three rotations  { R ϑ 1 ; 0,1 , R ϑ 2 ; 2,3 , R ϑ 3 ; ( 0,2 ) }  plus the 0-controlled phase shift gate, the following 2-qubit transformation of states holds:
| x = 1 15 0 + 2 1 2 + 3 3 | y = 1 22 4 | 0 | 1 + | 2 + 2 | 3 .  
The corresponding circuit for this 2-qubit transform is shown in Figure 33.
Table 9 and Table 10 show the results of measurement of the 2-qubit  | y  by implementing this circuit in Qiskit.
The same circuit can be used for obtaining the 2-qubit  | y  from other 2-qubits. Only the angles of three rotation gates will be changed. For example, the transformation of 2-qubits
| x 1 = 1 46 0 + 5 1 + 2 2 + 4 3 | y = 1 22 4 | 0 | 1 + | 2 + 2 | 3
requires a new set of angles,  A x 1 = ϑ 1 , ϑ 2 , ϑ 3 = 52.3485 ° , 33.8996 ° , 21.7498 ° , in the circuit in Figure 33.
We can also consider another path for such a 2-qubit QsiHT, which is illustrated in Figure 34. The order of the last two rotations changes, and this results in a change in the rotation angles.
In this case, the matrix of the 2-qubit QsiHT transform is equal to
H 4 = 0.3870 0.7662 0.3925 0.3303 0.4614 0.6426 0.4680 0.3939 0.7983 0 0.4608 0.3878 0 0 0.6439 0.7651 ,           det H 4 = 1 .
This matrix has three zero coefficients, and the matrix in Equation (59) has four zero coefficients.
The angular representation of the generator for this transform is equal to A x = ϑ 1 , ϑ 2 , ϑ 3 = 40.0829 ° , 233.9712 ° , 50.0125 ° . The corresponding circuit is shown in Figure 35.
It should be noted for comparison that the existent estimation of rotation gates at a number of μ 1 r = 2 r + 1 2 [14,15,37] gives us the number 6, for the r = 2 case. However, some operations, such as a global phase and normalization, were not considered, and these publications do not contain a single illustrative example of implementing the schemes | x | y . The circuits in Figure 33 and Figure 35 use one phase shift gate and only three controlled elementary rotations, that is, μ r = 2 r 1 , and this estimation is valid for integers r 2 .
Example 8 
(3-qubit preparation). Consider two 8-D vectors  x = ( 1,2 , 1,3 , 1,2 , 3 , 1 )  and  y = ( 8 , 1,1 , 2,1 , 2,3 , 1 )  after normalizing them by  x = 30  and  y = 85 ,  respectively. These two vectors represent the 3-qubit superpositions  | x  and  | y ,
| x = 1 30 0 + 2 1 2 + 3 3 + 4 + 2 5 3 6 7
and
| y = 1 85 8 | 0 | 1 + 2 + 2 3 + 4 2 5 + 3 6 + 7 .  
Our goal is to obtain the vector  y  from  x  using only one eight-point DsiHT, or 3-qubit QsiHT. Therefore, the vector parameter for the eight-point DsiHT with the generator  | x  is taken to be equal to
a = y 1 , y 2 , y 3 , , y ( 7 ) = 1 85 1,1 , 2,1 , 2,3 , 1 .
The norm of this vector is equal to  a = 85 64 / 85   = 21 / 85 = 0.4971 . The angular representation of the vector  x  equals
A x = ϑ k ; k = 1 : 7 = 131.9727 ° , 49.4953 ° , 148.6630 ° , 29.2633 ° , 63.0605 ° , 87.9558 ° , 48.5902 ° .
The matrix of the eight-point DsiHT has 32 zero coefficients and is equal to
H 8 = 0.2004 0.2228 0.3830 0.4484 0.0229 0.0139 0.6539 0.3664 0.7435 0.6688 0 0 0 0 0 0 0.5962 0.6628 0.2943 0.3445 0 0 0 0 0 0 0.7604 0.6495 0 0 0 0 0.2272 0.2526 0.4343 0.5084 0.0202 0.0123 0.5767 0.3231 0 0 0 0 0.5201 0.8541 0 0 0 0 0 0 0.8536 0.5197 0.0311 0.0174 0 0 0 0 0 0 0.4888 0.8724
The transform of the generator  x  equals
H 8 x = 1 85 8 , 1,1 , 2,1 , 2,3 , 1 .
Here, the sign of the first component should be changed, because  y 0 = 8 .  As in Example 5, we can use the phase shift gate  P π  with two control qubits, that is,  P π I 6 , and reconstruct the sign of  y 0 .  We obtain the given vector  y :
P π I 6 H 8 x = 1         1         I 2         I 4 H 8 x = 1 85 8 1 1 2 1 2 3 1 = y .
Thus, with seven rotations plus the 0-controlled phase shift gate, the following 3-qubit transformation holds:  | x | y .  The circuit for this transformation is shown in Figure 36. In this figure, the rotations in three stages are defined by
R I = R ϑ 1 ; 0,1 , R ϑ 2 ; 2,3 , R ϑ 3 ; 4,5 , R ϑ 4 ; 6,7 ,           R I I = R ϑ 5 ; 0,2 , R ϑ 6 ; 4,6 } ,           R I I I = { R ϑ 7 ; 0,4 .
The results of simulation of this circuit in Qiskit are shown in Table 11 and Table 12.
When comparing with the known estimation  μ 1 r = 2 r + 1 2  for the  r = 3  case, we obtain the number 14. The circuit of  | x | y  transformation in Figure 34 includes seven elementary rotations, that is,  μ 3 = 7 .  
It should be noted that the quantum circuits in Examples 7 and 8 can be simplified; namely, they can be used without the last phase shift gate  P π .  For this, the last rotation in DsiHT should be performed as shown in Equations (54) and (55), but with parameter  a  instead of  a . Then, the angle  ϑ  should be changed by  ϑ = ϑ + π .
In the quantum circuits for the 4-qubit state-to-state transformation, which are given in Figure 25, Figure 26, Figure 27 and Figure 28, only angles  ϑ k ,   k = 1 : 7 ,  should be changed according to the vector parameter  a = y 1 , y 2 , , y 7 . This vector changes the angular representation of  A x  of the generator. Similarly, with the complete set of  k -fold uniformly controlled 1-qubit gates on  n  qubits, the quantum circuit can be described for the  r -qubit state-to-state transformation, when  r 2 .

8. Conclusions

In this work, we describe in detail a new method of state-to-state transformation with only elementary rotations, by using the concept of the DsiHT in its general form. This transformation is generated by the given superposition and the set of angular equations with the given parameters. The analog of this transform, namely, the QsiHT, is described, and the quantum circuits of its implementation are considered. Amplitudes of quantum superpositions are considered real. In the examples with the DsiHT with strong and fast paths, the importance of this characteristic for the transform is shown. The QsiHT with the fast path allows us to build the circuit for r -qubit state-to-state transformation with only ( 2 r 1 ) elementary rotations, each with only one angle. The number of such possible paths increases with the number r of qubits, and they can be found, while the best ones can be selected for a specific implementation of the proposed method. The problem of state preparation with complex amplitudes can also be considered and solved by the complex QsiHT [32,36].
It is important to mention the following. We present a “permutation-free method” for transforming one quantum superposition into another. This is our vision for building quantum circuits for multi-qubit gates. If there is a desire (or need) to modify the proposed quantum circuits into circuits with (not controlled) rotations, then the following should be considered. As shown in [14], the ( r 1 ) -fold uniformly controlled one-qubit gates on n -qubits can be implemented by 2 r 1 CNOTs controlled by one qubit. Therefore, no more than 2 r 1 + 2 r 2 + + 2 + 1 = 2 r 1 one-qubit CNOTs are required, or seven CNOTs, for the realization of the 3-qubit QsiHT in the circuit in Figure 36. One controlled 1-qubit phase shift gate is needed only to change the sign of the first amplitude in the transformed superposition | y . This is the trivial operation of the sign change, y 0 y 0 , on the first bit. Note that the probability p 0 = | y 0 | 2 of observing the first state | 0 in | y does not require this operation. The best-known number of CNOTs is 2 ( 2 r r 1 ) [14,37], or eight for the 3-qubit case, and 22 and 52 CNOTs for the 4- and 5-qubit cases, respectively. For 4- and 5-qubit state-to-state transformations, the modified circuits will require no more than 2 4 1 = 15 and 2 5 1 = 31 CNOTs, respectively.
Additionally, these quantum circuits are realized and simulated through IBM’s Qiskit and Qiskit’s AerSimulator, respectively. Two different types of quantum simulations are conducted: a noise-free simulation and a simulation with synthetic quantum channel noise. Ideal, noise-free, channel state vector simulations through Qiskit’s AerSimulator default Sampler interface are used to confirm that the proposed quantum circuits properly realize the target amplitudes under near-perfect unitary execution through various different shots. Realistic noisy simulations are performed using Qiskit’s GenericBackendV2 in its default configuration since this backend is able to simulate depolarizing gate noise, thermal relaxation decoherence, and measurement errors. Together, these two simulations help in assessing the robustness of the proposed quantum circuits under near-theoretical conditions and conditions somewhat representative of current quantum hardware.

Author Contributions

Conceptualization, A.M.G.; methodology, A.M.G.; software, A.M.G. and A.A.G.; validation, A.M.G. and A.A.G.; formal analysis, A.M.G., A.A.G. and S.S.A.; investigation, A.M.G.; resources, A.M.G. and A.A.G.; data curation, A.M.G. and A.A.G.; writing—original draft preparation, A.M.G.; writing—review and editing, A.M.G. and A.A.G.; visualization, A.M.G., A.A.G. and S.S.A.; supervision, A.M.G.; project administration, A.M.G.; funding acquisition, A.M.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The authors agree to share their data publicly, so supporting data will be available.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DsiHTDiscrete signal-induced heap transform
QsiHTQuantum signal-induced heap transform
MSREMean square root error
BPBit plane

References

  1. Deutsch, D. Quantum computational networks. Proc. R. Soc. Lond. A Math. Phys. Sci. 1989, 425, 73–90. [Google Scholar]
  2. Deutsch, D.; Barenco, A.; Ekert, A. Universality in quantum computation. Proc. R. Soc. Lond. A Math. Phys. Sci. 1995, 449, 669–677. [Google Scholar]
  3. Barenco, A.; Bennett, C.H.; Cleve, R.; DiVincenzo, D.P.; Margolus, N.; Shor, P.; Sleator, T.; Smolin, J.A.; Weinfurter, H. Elementary gates for quantum computation. Phys. Rev. A 1995, 52, 3457. [Google Scholar] [CrossRef] [PubMed]
  4. Knill, E. Approximation by Quantum Circuits; LANL Rep. LAUR-95-2225; Los Alamos National Laboratory: Los Alamos, NM, USA, 1995. [Google Scholar]
  5. Shende, V.V.; Markov, I.L. Quantum circuits for incompletely specified two-qubit operators. Quantum Inf. Comput. 2005, 5, 49–58. [Google Scholar] [CrossRef]
  6. Bärtschi, A.; Eidenbenz, S. Deterministic preparation of Dicke states. In International Symposium on Fundamentals of Computation Theory; Springer International Publishing: Cham, Switzerland, 2019. [Google Scholar]
  7. Plesch, M.; Brukner, C. Quantum state preparation with universal gate decompositions. arXiv 2010, arXiv:1003.5760v2. [Google Scholar] [CrossRef]
  8. Volya, D.; Mishra, P. State preparation on quantum computers via quantum steering. arXiv 2023, arXiv:2302.13518v3. [Google Scholar] [CrossRef]
  9. Wang, H.; Bochen, T.D.; Cong, J. Quantum state preparation circuit optimization exploiting don’t cares. arXiv 2024, arXiv:2409.01418. [Google Scholar]
  10. Pinto, D.F.; Friedrich, L.; Maziero, J. Preparing general mixed quantum states on quantum computers. arXiv 2024, arXiv:2402.04212. [Google Scholar] [CrossRef]
  11. Zhang, X.M.; Li, T.; Yuan, X. Quantum state preparation with optimal circuit depth: Implementations and applications. arXiv 2023, arXiv:2201.11495v4. [Google Scholar] [CrossRef]
  12. Vartiainen, J.J.; Möttönen, M.; Salomaa, M.M. Efficient decomposition of quantum gates. Phys. Rev. Lett. 2004, 92, 177902. [Google Scholar] [CrossRef]
  13. Möttönen, M.; Vartiainen, J.J.; Bergholm, V.; Salomaa, M.M. Quantum circuits for general multiqubit gates. Phys. Rev. Lett. 2004, 93, 130502. [Google Scholar] [CrossRef] [PubMed]
  14. Bergholm, V.; Vartiainen, J.J.; Möttönen, M.; Salomaa, M.M. Quantum circuits with uniformly controlled one-qubit gates. arXiv 2004, arXiv:quant-ph/0410066v2. [Google Scholar] [CrossRef]
  15. Shende, V.V.; Bullock, S.S.; Markov, I.L. Synthesis of quantum-logic circuits. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 2006, 25, 1000–1010. [Google Scholar] [CrossRef]
  16. Grigoryan, A.M.; Grigoryan, M.M. Brief Notes in Advanced DSP: Fourier Analysis with MATLAB; CRC Press; Taylor and Francis Group: Boca Raton, FL, USA, 2009. [Google Scholar]
  17. Grigoryan, A.M.; Agaian, S.S. Quantum Image Processing in Practice: A Mathematical Toolbox; Wiley: Hoboken, NJ, USA, 2025. [Google Scholar]
  18. Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information; Cambridge University Press: Cambridge, UK, 2000. [Google Scholar]
  19. Rieffel, E.G.; Polak, W.H. Quantum Computing: A Gentle Introduction; The MIT Press: Cambridge, UK, 2011. [Google Scholar]
  20. Karafyllidis, I.G. Visualization of the quantum Fourier transform using a quantum computer simulator. Quantum Inf. Process. 2003, 2, 271–288. [Google Scholar] [CrossRef]
  21. Heo, J.; Kang, M.S.; Hong, C.H.; Yang, H.; Choi, S.G. Discrete quantum Fourier transform using weak cross-Kerr nonlinearity and displacement operator and photon-number-resolving measurement under the decoherence effect. Quantum Inf. Process. 2016, 15, 4955–4971. [Google Scholar] [CrossRef]
  22. Yoran, N.N.; Short, A. Efficient classical simulation of the approximate quantum Fourier transform. Phys. Rev. A 2007, 76, 042321. [Google Scholar] [CrossRef]
  23. Shor, P.W. Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM J. Comput. 1997, 26, 1484–1509. [Google Scholar] [CrossRef]
  24. Beauregard, S. Circuit for Shor’s algorithm using 2n + 3 qubits. Quantum Inf. Comput. 2003, 3, 175–185. [Google Scholar] [CrossRef]
  25. Coppersmith, D. An Approximate Fourier Transform Useful in Quantum Factoring; IBM Research Report RC19642; IBM: Armonk, NY, USA, 1994. [Google Scholar]
  26. Cheung, D. Using Generalized Quantum Fourier Transforms in Quantum Phase Estimation Algorithms. Master’s Thesis, University of Waterloo, Waterloo, ON, Canada, 2003. [Google Scholar]
  27. Ahmed, N.; Rao, K.R. Orthogonal Transforms for Digital Signal Processing; Springer: Berlin/Heidelberg, Germany, 1975. [Google Scholar]
  28. Bracewell, R.N. The Hartley Transform; Oxford University Press: New York, NY, USA, 1986. [Google Scholar]
  29. Pratt, W.; Chen, W.H.; Welch, L. Slant transform image coding. IEEE Trans. Commun. 1974, 22, 1075–1093. [Google Scholar] [CrossRef]
  30. Grigoryan, A.M.; Grigoryan, M.M. Nonlinear approach of construction of fast unitary transforms. In Proceedings of the 2006 40th Annual Conference on Information Sciences and Systems, Princeton, NJ, USA, 22–24 March 2006; pp. 1073–1078. [Google Scholar]
  31. Grigoryan, A.M.; Grigoryan, M.M. Discrete unitary transforms generated by moving waves. In Proceedings of the SPIE Optics + Photonics 2007, Wavelets XII, San Diego, CA, USA, 28–30 August 2007; Volume 6701, p. 670125. [Google Scholar]
  32. Grigoryan, A.M. Effective methods of QR-decompositions of square complex matrices by fast discrete signal-induced heap transforms. Adv. Linear Algebra Matrix Theory 2023, 12, 87–110. [Google Scholar] [CrossRef]
  33. Qiskit Development Team. Qiskit: An Open-Source Framework for Quantum Computing (Version 1.3.2) [Computer Software]; IBM Quantum: Poughkeepsie, NY, USA, 2019. [Google Scholar]
  34. Mykhailova, M. Quantum Programming in Depth Solving Problems with Q# and Qiskit; Manning: Shelt Island, NY, USA, 2025. [Google Scholar]
  35. Cooley, J.W.; Tukey, J.W. An algorithm for the machine calculation of complex Fourier series. Math. Comput. 1965, 19, 297–301. [Google Scholar] [CrossRef]
  36. Grigoryan, A.M. New Permutation-Free Quantum Circuits for Implementing 3- and 4-Qubit Unitary Operations. Information 2025, 16, 621. [Google Scholar] [CrossRef]
  37. Möttönen, M.; Vartiainen, J.J. Decompositions of general quantum gates. arXiv 2005, arXiv:quant-ph/0504100v1. [Google Scholar] [CrossRef]
Figure 1. The circuit elements of the local gates (a) U 2 I 2 , (b) I 2 U 2 , (c) I 2 U 2 , and (d) U 2 I 2 .
Figure 1. The circuit elements of the local gates (a) U 2 I 2 , (b) I 2 U 2 , (c) I 2 U 2 , and (d) U 2 I 2 .
Information 16 00689 g001
Figure 2. The 8 -point DsiHT using the regular path.
Figure 2. The 8 -point DsiHT using the regular path.
Information 16 00689 g002
Figure 3. The diagram of the 4 -point weak 2-wheel carriage DsiHT applied to a signal z = ( z 0 , z 1 , z 2 , z 3 ) .
Figure 3. The diagram of the 4 -point weak 2-wheel carriage DsiHT applied to a signal z = ( z 0 , z 1 , z 2 , z 3 ) .
Information 16 00689 g003
Figure 4. The 8 -point strong DsiHT on the generator.
Figure 4. The 8 -point strong DsiHT on the generator.
Information 16 00689 g004
Figure 5. The 8 -point DsiHT (with the 2-wheel strong carriage).
Figure 5. The 8 -point DsiHT (with the 2-wheel strong carriage).
Information 16 00689 g005
Figure 6. The quantum scheme of the 2-qubit QsiHT with the generator x = ( 1,2 , 2,1 ) .
Figure 6. The quantum scheme of the 2-qubit QsiHT with the generator x = ( 1,2 , 2,1 ) .
Information 16 00689 g006
Figure 7. The quantum scheme for initiation of the 2-qubit superposition | x by the 2-qubit inverse QsiHT.
Figure 7. The quantum scheme for initiation of the 2-qubit superposition | x by the 2-qubit inverse QsiHT.
Information 16 00689 g007
Figure 8. The 8 -point DsiHTs using (a) fast path #1 and (b) fast path #2 with splitting into pairs.
Figure 8. The 8 -point DsiHTs using (a) fast path #1 and (b) fast path #2 with splitting into pairs.
Information 16 00689 g008
Figure 9. Four 3-qubit rotation gates with two control bits.
Figure 9. Four 3-qubit rotation gates with two control bits.
Information 16 00689 g009
Figure 10. Three 3-qubit gates with two control qubits in the second stage.
Figure 10. Three 3-qubit gates with two control qubits in the second stage.
Information 16 00689 g010
Figure 11. The circuit for the 3-qubit QsiHT with seven controlled rotation gates.
Figure 11. The circuit for the 3-qubit QsiHT with seven controlled rotation gates.
Information 16 00689 g011
Figure 12. The circuit for the inverse 3-qubit QsiHT with seven controlled rotation gates.
Figure 12. The circuit for the inverse 3-qubit QsiHT with seven controlled rotation gates.
Information 16 00689 g012
Figure 13. The circuit for the initiation of the 3-qubit state | x .
Figure 13. The circuit for the initiation of the 3-qubit state | x .
Information 16 00689 g013
Figure 14. The circuit for the 3-qubit QsiHT with seven rotations.
Figure 14. The circuit for the 3-qubit QsiHT with seven rotations.
Information 16 00689 g014
Figure 15. The circuit for the 3-qubit rotation on the bit planes 5 and 6 with two controlled NOTs.
Figure 15. The circuit for the 3-qubit rotation on the bit planes 5 and 6 with two controlled NOTs.
Information 16 00689 g015
Figure 16. The circuit for the 3-qubit rotation on the bit planes 3 and 4 with four controlled NOTs.
Figure 16. The circuit for the 3-qubit rotation on the bit planes 3 and 4 with four controlled NOTs.
Information 16 00689 g016
Figure 17. The circuit for the 3-qubit rotation on the bit planes 1 and 2 with two controlled NOTs.
Figure 17. The circuit for the 3-qubit rotation on the bit planes 1 and 2 with two controlled NOTs.
Information 16 00689 g017
Figure 18. The circuit for the 3-qubit strong QsiHT.
Figure 18. The circuit for the 3-qubit strong QsiHT.
Information 16 00689 g018
Figure 19. The circuit for the inverse 3-qubit strong QsiHT.
Figure 19. The circuit for the inverse 3-qubit strong QsiHT.
Information 16 00689 g019
Figure 20. The 4 -point DsiHT using the path with splitting into pairs.
Figure 20. The 4 -point DsiHT using the path with splitting into pairs.
Information 16 00689 g020
Figure 21. The 2-qubit gates with control bit 0 or 1.
Figure 21. The 2-qubit gates with control bit 0 or 1.
Information 16 00689 g021
Figure 22. The circuit for the inverse 2-qubit QsiHT with 3 controlled rotation gates.
Figure 22. The circuit for the inverse 2-qubit QsiHT with 3 controlled rotation gates.
Information 16 00689 g022
Figure 23. The circuit for the initiation of the 2-qubit state | x = ( 1,2 , 2,1 ) / 10 .
Figure 23. The circuit for the initiation of the 2-qubit state | x = ( 1,2 , 2,1 ) / 10 .
Information 16 00689 g023
Figure 24. The circuit for the initiation of the 2-qubit state | x from | y .
Figure 24. The circuit for the initiation of the 2-qubit state | x from | y .
Information 16 00689 g024
Figure 25. The circuit for the 4-qubit QsiHT by fast path #1.
Figure 25. The circuit for the 4-qubit QsiHT by fast path #1.
Information 16 00689 g025
Figure 26. The circuit for the 4-qubit inverse QsiHT by fast path #1.
Figure 26. The circuit for the 4-qubit inverse QsiHT by fast path #1.
Information 16 00689 g026
Figure 27. The circuit for the 4-qubit QsiHT by fast path #1 with uniformly controlled gates.
Figure 27. The circuit for the 4-qubit QsiHT by fast path #1 with uniformly controlled gates.
Information 16 00689 g027
Figure 28. The circuit for the inverse 4-qubit QsiHT by fast path #1.
Figure 28. The circuit for the inverse 4-qubit QsiHT by fast path #1.
Information 16 00689 g028
Figure 29. The circuit for transforming one 4-qubit state into another, | y | x , by using two 4-qubit QsiHTs by fast path #1.
Figure 29. The circuit for transforming one 4-qubit state into another, | y | x , by using two 4-qubit QsiHTs by fast path #1.
Information 16 00689 g029
Figure 30. The 8 -point strong DsiHT with vector-parameter a .
Figure 30. The 8 -point strong DsiHT with vector-parameter a .
Information 16 00689 g030
Figure 31. (a) The 4-point DsiHT and (b) the 8-point DsiHT with the paths with splitting into pairs.
Figure 31. (a) The 4-point DsiHT and (b) the 8-point DsiHT with the paths with splitting into pairs.
Information 16 00689 g031
Figure 32. The signal-flow graph of the 4 -point DsiHT with the fast path.
Figure 32. The signal-flow graph of the 4 -point DsiHT with the fast path.
Information 16 00689 g032
Figure 33. The circuit for transforming the 2-qubit | x into the 2-qubit | y with the fats path.
Figure 33. The circuit for transforming the 2-qubit | x into the 2-qubit | y with the fats path.
Information 16 00689 g033
Figure 34. The second signal-flow graph of the 4 -point DsiHT.
Figure 34. The second signal-flow graph of the 4 -point DsiHT.
Information 16 00689 g034
Figure 35. The second circuit for transforming the 2-qubit | x into the 2-qubit | y .
Figure 35. The second circuit for transforming the 2-qubit | x into the 2-qubit | y .
Information 16 00689 g035
Figure 36. The circuit for the 3-qubit transformation of states, | x | y .
Figure 36. The circuit for the 3-qubit transformation of states, | x | y .
Information 16 00689 g036
Table 1. The measured magnitudes for 2-qubit superposition H 4 | z by the 2-qubit QsiHT without channel noise.
Table 1. The measured magnitudes for 2-qubit superposition H 4 | z by the 2-qubit QsiHT without channel noise.
Basis
States
Magnitudes   of   H 4 | z
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
00 0.9487 0.9497 0.9602 0.9479 0.9494
01 0.1054 0.1095 0.0837 0.1034 0.1045
10 0.2981 0.2933 0.2665 0.3011 0.2962
MSRE 1.21 × 10 3 9.55 × 10 3 7.75 × 10 4 5.96 × 10 4
Table 2. The measured magnitudes for 2-qubit superposition H 4 | z by the 2-qubit QsiHT with channel noise.
Table 2. The measured magnitudes for 2-qubit superposition H 4 | z by the 2-qubit QsiHT with channel noise.
Basis
States
Magnitudes   of   H 4 | z
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
00 0.9487 0.9145 0.9150 0.9171 0.9121
01 0.1054 0.1807 0.1721 0.1549 0.1897
10 0.2981 0.3267 0.3288 0.3286 0.3406
MSRE 4.4673 × 10 2 4.4379 × 10 2 4.4287 × 10 2 4.0503 × 10 2
Table 3. The measured magnitudes of the 3-qubit state | x by the 3-qubit QsiHTs without channel noise.
Table 3. The measured magnitudes of the 3-qubit state | x by the 3-qubit QsiHTs without channel noise.
Basis
States
Magnitudes   of   | x
TheoreticalInverse Strong QsiHTInverse Fast QsiHT
10,000 Shots100,000 Shots10,000 Shots100,000 Shots
0000.20000.19690.20050.20040.1989
0010.20000.19780.19950.20080.2019
1100.20000.20120.20070.20030.1995
1110.40000.40120.39860.39820.3994
MSRE 4.24 × 10 4 2.56 × 10 4 4.04 × 10 4 1.92 × 10 4
Table 4. The measured magnitudes of the 3-qubit state | x by the 3-qubit QsiHTs with channel noise.
Table 4. The measured magnitudes of the 3-qubit state | x by the 3-qubit QsiHTs with channel noise.
Basis
States
Magnitudes   of   | x
TheoreticalInverse Strong QsiHTInverse Fast QsiHT
10,000 Shots100,000 Shots10,000 Shots100,000 Shots
0000.20000.18100.18200.24450.2454
0010.20000.24440.24100.22890.2296
1100.20000.21900.21700.24720.2429
1110.40000.31750.31900.38540.3847
MSRE 4.40 × 10 2 4.21 × 10 2 1.41 × 10 2 1.33 × 10 2
Table 5. Qiskit-measured magnitudes for 2-qubit state | x by the 2-qubit QsiHTs without channel noise.
Table 5. Qiskit-measured magnitudes for 2-qubit state | x by the 2-qubit QsiHTs without channel noise.
Basis
States
Magnitudes   of   | x
TheoreticalInverse Strong QsiHTInverse Fast QsiHT
10,000 Shots100,000 Shots10,000 Shots100,000 Shots
00 0.3162 0.3211 0.3169 0.3135 0.3188
01 0.6325 0.6288 0.6309 0.6356 0.6320
10 0.6325 0.6333 0.6337 0.6298 0.6315
11 0.3162 0.3167 0.3163 0.3178 0.3164
MSRE 1.42 × 10 3 6.42 × 10 4 1.39 × 10 3 5.31 × 10 4
Table 6. Qiskit-measured magnitudes for 2-qubit state | x by the 2-qubit QsiHTs with channel noise.
Table 6. Qiskit-measured magnitudes for 2-qubit state | x by the 2-qubit QsiHTs with channel noise.
Basis
States
Magnitudes   of   | x
TheoreticalInverse Strong QsiHTInverse Fast QsiHT
10,000 Shots100,000 Shots10,000 Shots100,000 Shots
00 0.3162 0.29000.29500.37420.2828
01 0.6325 0.61000.62500.61640.6317
10 0.6325 0.65000.64000.64030.6481
11 0.3162 0.33000.32000.26460.3178
MSRE 2.05 × 10 2 1.20 × 10 2 1.99 × 10 2 9.22 × 10 3
Table 7. Measured magnitudes for the 4-qubit | x through the DsiHT with the fast path and without channel noise.
Table 7. Measured magnitudes for the 4-qubit | x through the DsiHT with the fast path and without channel noise.
Basis
States
Magnitudes   of   | x
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
0000 0.0949 0.0775 0.0943 0.0936 0.0950
000 1 0.0949 0.1095 0.0872 0.0976 0.0963
1110 0.0949 0.1225 0.0894 0.0970 0.0952
1111 0.1898 0.1844 0.1913 0.1891 0.1887
MSRE 1.83 × 10 3 5.97 × 10 4 1.75 × 10 4 6.56 × 10 5
Table 8. Measured magnitudes for the 4-qubit | x through the DsiHT with the fast path and with channel noise.
Table 8. Measured magnitudes for the 4-qubit | x through the DsiHT with the fast path and with channel noise.
Basis
States
Magnitudes   of   | x
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
0000 0.0949 0.05800.06200.06400.0660
000 1 0.0949 0.17200.17800.17400.1700
1110 0.0949 0.07200.07600.07800.0800
1111 0.1898 0.16000.16400.16800.1720
MSRE 4.57 × 10 2 4.48 × 10 2 4.37 × 10 2 4.10 × 10 2
Table 9. Measured magnitudes of the 2-qubit state | y after transferring the state | x without channel noise.
Table 9. Measured magnitudes of the 2-qubit state | y after transferring the state | x without channel noise.
Basis
States
Magnitudes   of   | y
Theoretical1000 Shots10,000 Shots100,000 Shots
00 0.8528 0.8555 0.8518 0.8531
01 0.2132 0.2000 0.2128 0.2128
10 0.2132 0.2121 0.2145 0.2149
11 0.4264 0.4278 0.4278 0.4252
MSRE 7.56 × 10 3 1.42 × 10 3 6.42 × 10 4
Table 10. Measured magnitudes of the 2-qubit state | y after transferring the state | x with channel noise.
Table 10. Measured magnitudes of the 2-qubit state | y after transferring the state | x with channel noise.
Basis
States
Magnitudes   of   | y
Theoretical1000 Shots10,000 Shots100,000 Shots
00 0.8528 0.75780.76530.7728
01 0.2132 0.30820.30070.2932
10 0.2132 0.11820.12570.1332
11 0.4264 0.33140.33890.3464
MSRE 9.50 × 10 2 8.75 × 10 2 8.00 × 10 2
Table 11. Measured magnitudes of the 3-qubit after state transformation | x | y without channel noise.
Table 11. Measured magnitudes of the 3-qubit after state transformation | x | y without channel noise.
Basis
States
Magnitudes   of   | y
Theoretical1000 Shots10,000 Shots100,000 Shots
000 0.8667 0.8672 0.8682 0.8678
001 0.1085 0.1000 0.1105 0.1101
110 0.3254 0.3271 0.3239 0.3262
111 0.1085 0.1048 0.1086 0.1086
MSRE 1.33 × 10 3 3.44 × 10 4 1.60 × 10 4
Table 12. Measured magnitudes of the 3-qubit after state transformation | x | y with channel noise.
Table 12. Measured magnitudes of the 3-qubit after state transformation | x | y with channel noise.
Basis
States
Magnitudes   of   | y
Theoretical1000 Shots10,000 Shots100,000 Shots
000 0.8667 0.67080.66950.6717
001 0.1085 0.24080.23930.2382
110 0.3254 0.36050.34920.3473
111 0.1085 0.19740.22090.1089
MSRE 4.77 × 10 3 4.83 × 10 3 4.81 × 10 3
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Grigoryan, A.M.; Gomez, A.A.; Agaian, S.S. A Novel Approach to State-to-State Transformation in Quantum Computing. Information 2025, 16, 689. https://doi.org/10.3390/info16080689

AMA Style

Grigoryan AM, Gomez AA, Agaian SS. A Novel Approach to State-to-State Transformation in Quantum Computing. Information. 2025; 16(8):689. https://doi.org/10.3390/info16080689

Chicago/Turabian Style

Grigoryan, Artyom M., Alexis A. Gomez, and Sos S. Agaian. 2025. "A Novel Approach to State-to-State Transformation in Quantum Computing" Information 16, no. 8: 689. https://doi.org/10.3390/info16080689

APA Style

Grigoryan, A. M., Gomez, A. A., & Agaian, S. S. (2025). A Novel Approach to State-to-State Transformation in Quantum Computing. Information, 16(8), 689. https://doi.org/10.3390/info16080689

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop