Next Article in Journal
Illuminating Industry Evolution: Reframing Artificial Intelligence Through Transparent Machine Reasoning
Previous Article in Journal
Enhancing Weakly Supervised Video Anomaly Detection with Object-Centric Features
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Circuits for Simultaneously Initiating Two Different Quantum Superpositions

by
Artyom M. Grigoryan
* and
Alexis A. Gomez
Department of Electrical and Computer Engineering, The University of Texas at San Antonio, San Antonio, TX 78249, USA
*
Author to whom correspondence should be addressed.
Information 2025, 16(12), 1043; https://doi.org/10.3390/info16121043
Submission received: 8 October 2025 / Revised: 4 November 2025 / Accepted: 28 November 2025 / Published: 30 November 2025

Abstract

This article presents, for the first time, a new approach to building quantum circuits for the initialization of two multi-qubit superpositions, namely, two different superpositions in one circuit, not in two separate circuits. For this, we introduce the concept of the discrete two signal-induced heap transformation (D2siHT). This transformation is generated by two signals, or vectors, which we call generators. The quantum analogue of the D2siHT is described. It allows us to build a quantum circuit to transform two superpositions | x and | y into the first conventual basis states | 000 0 and | 010 0 , respectively. Therefore, we can build a single quantum circuit to initiate two multi-qubit superpositions | x and | y from the basis states | 000 0 and | 010 0 , respectively. Examples with quantum circuits for the preparation and transformation of two 2- and 3-qubit superpositions are described in detail. The results of circuit simulation using Qiskit are also presented. The main characteristic of the D2siHT is its path of processing the data of two generators and input qubits. We consider different paths to effectively compute the D2siHT. Such paths can reduce, for instance, the depth of the resulting quantum circuits, which can lead to a reduction in execution times and susceptibility to decoherence and noise. Multi-qubit superpositions are considered with real amplitudes, but the presented approach can be extended to initiate two such superpositions with complex amplitudes, as well.

1. Introduction

In quantum computation, the main objects are qubits and the operations performed on them, which can only be unitary. Qubits of number r are mathematically represented as a linear superposition of 2 r possible basis states with amplitudes describing the probabilities of being in one of these states. The preparation of such superpositions representing different data, including signals and images, is an especially important task, and it is the first task in quantum computing [1,2,3,4,5,6,7,8,9,10,11]. The traditional approach to initiating a multi-qubit superposition | x starts with composing a unitary transformation of | x into the conventual basis state, for instance, the first one, as U x : | x | 00 0 . Then, a quantum circuit is built to calculate the inverse transform, U x 1 : | 00 0 | x . And because the operation is unitary, the inverse operator U x 1 is easy to calculate. Based on this approach, another important task of transferring one multi-qubit superposition to another, | x | y , can be accomplished as well. This operation is fulfilled by two transformations to the same conventual basis state, U x :   | x | 00 0 and U y :   | y | 00 0 . This results in the traditional two-stage approach with the transformation T = U y 1 U x : | x | 00 0 | y , which is known as the state-to-state preparation task. To initiate quantum superpositions, different methods can be used. We mention the Householder transformations [12,13,14] and Given rotations [15,16]. Methods with Givens rotations are simple, and many quantum circuits have been developed [17,18,19]. These circuits contain many permutations, namely, the CNOT and controlled CNOT operations. Therefore, much attention has been paid to minimizing the number of such gates. It was found that the number of elementary rotation gates is around 2 ( 2 r 1 ) , and that of CNOTs is 2 ( 2 r r 1 ) [20,21,22]. Such a large number of CNOTs is understandable because quantum circuits require all gates to operate on adjacent, or nearest-neighbour, bit planes (BPs). Permutations with Gray code are used for this purpose [22,23]. Recently, it was shown that a multi-qubit superposition | x can be obtained from another multi-qubit superposition | y in only one step. Namely, the | x | y transformation can be accomplished without transferring the superpositions to the basis state | 00 0 [24]. This effective method is based on the discrete signal-induced heap transform (DsiHT) and uses only ( 2 r 1 ) rotation gates (in the real case of amplitudes) without any permutation [25].
In this work, we analyze the method of composing a unitary transformation which is composed of 3D rotations. Namely, we introduce the discrete two signal-induced heap transform (D2siHT), which is generated by two generators. These unitary transformations can be used to initiate two different multi-qubit superpositions with real amplitudes. The quantum analogue of the N -point D2siHT is the r -qubit quantum two signal-induced heap transform (Q2siHT). The key contributions of this work are the following:
  • We develop a unitary transformation generated by two vectors, or two quantum superpositions, by using 3D rotations.
  • We propose quantum circuits, each of which allows us to calculate two different multi-qubit superpositions.
  • We present examples with different paths for initiating two 2- and 3-qubit superpositions. These circuits are constructed, tested, and validated using the Qiskit framework.
The rest of this paper is organized as follows. The DsiHT with one generator is described in Section 2. In Section 3, the new concept of the D2siHT is presented, and examples are described in detail. In Section 4, we discuss the importance of the path in the initialization of the qubit superpositions with examples for 2- and 3-qubit superpositions. Finally, the presented circuits are analyzed using the Qiskit framework in Section 5.

2. The DsiHT with One Generator

The DsiHT is defined by a special selection of parameters that are initiated by vector-generators through so-called decision equations [26]. Let f 0 ( z , ϑ 1 , , ϑ m ) , …, f N 1 ( z , ϑ 1 , , ϑ m ) be parameterized functions of an N -dimensional vector variable z = ( z 0 , z 1 , , z N 1 ) , where N   > 1 , and m ( N     1 ) . Parameters ϑ 1 , , ϑ m are chosen to adjust the transformation
T ϑ 1 , , ϑ m : z f 0 z , ϑ 1 , , ϑ m , , f N 1 z , ϑ 1 , , ϑ m ,
to make it, for instance, unique, separable, unitary, and fast. The transformation T ϑ 1 ,   , ϑ m is considered separable, which means that there exist such transformations T ϑ 1 , T ϑ 2 , …, T ϑ m that
T ϑ 1 , , ϑ m = T ϑ i ( m ) T ϑ i 2 T ϑ i 1
where i ( k ) is a permutation of numbers k = 1,2 , , m .
Here, we limit ourselves with the case when each transformation T ϑ i ( m ) changes only two components of the vector z . Thus, T ϑ i ( k ) is described as a transformation
T ϑ i k : z z 0 , , z k 1 , f k 1 z , ϑ k , z k 1 + 1 , , z k 2 1 , f k 2 z , ϑ k , z k 2 + 1 , , z m ,
where the pair of numbers ( k 1 , k 2 ) is uniquely defined by k , and 0 k 1 < k 2 m . This means that these transformations are isomorphic to the two-dimensional transformations (see Figure 1)
T k 1 , k 2 ϑ k : z k 1 , z k 2 f k 1 z k 1 , z k 2 , ϑ k , f k 2 z k 1 , z k 2 , ϑ k .
We add one more simplification by assuming that all the first functions f k 1 z k 1 , z k 2 , ϑ k in this equation are equal to a function f z k 1 , z k 2 , ϑ k , and all functions f k 2 z k 1 , z k 2 , ϑ k are equal to a function g z k 1 , z k 2 , ϑ k . Then, the problem of the construction of the N -D transformation T = T ϑ 1 , , ϑ m is reduced to defining unitary transformations
T k 1 , k 2 ϑ k : z k 1 , z k 2 f z k 1 , z k 2 , ϑ k , g z k 1 , z k 2 , ϑ k .
And finally, we propose the following method of selecting parameters ϑ k , k   = 1 : m . The selection of these parameters is based on specified vector-generators, the number of which is defined through a given system of decision equations, to achieve the uniqueness of parameters and desired properties of the transformation T . The number of decision equations defines the complexity of transformations.
First, we describe the case of two decision equations with one vector-generator x . We assume that the functions f and g are linear,
f z k 1 , z k 2 , ϑ k = a k z k 1 + b k z k 2 ,
g z k 1 , z k 2 , ϑ k = c k z k 1 + d k z k 2 ,
where the coefficients a k ,   b k ,   c k , and d k are functions of ϑ k . Thus, we have two functions f x , y , ϑ and g x , y , ϑ . The parameter ϑ refers to the rotation parameter, such as the angle, and x and y the coordinates of the point ( x , y ) on the plane. These variables may have other meanings as well. It is assumed that, for a given set of parameters a = a 1 , a 2 , ,   a m , the equation g x , y , ϑ = a has a unique solution with respect to ϑ , for each point ( x , y ) on the plane or its chosen subset. The system of equations
    f x , y , ϑ = y 0 g x , y , ϑ = a
is called the system of decision equations. The value of ϑ is calculated from the second equation, which we call the angular equation. Then, the value of y 0 is calculated from the given input ( x , y ) and ϑ . It is also assumed that the two-point transformation
T ϑ k : z k 1 , z k 2 f z k 1 , z k 2 , ϑ k , g z k 1 , z k 2 , ϑ k ,
which is derived (or whose matrix is calculated) from the given decision equations by
T ϑ k : x k 1 , x k 2 f x k 1 , x k 2 , ϑ k , a k
and which we call the basic transformation, is unitary. The transformations T ϑ k are the little building blocks from which we construct a unitary transformation.
As an example, we consider the decision equations with the elementary rotations
f x , y , ϑ = x cos ϑ y sin ϑ , g x , y , ϑ = x sin ϑ + y cos ϑ .
The basis transformation is defined as the rotation of the point ( x , y ) to the horizontal Y = a ,
T ϑ : x , y x cos ϑ y sin ϑ , a .
The rotation angle is calculated by
ϑ = acos a x 2 + y 2 + atan x y
and ϑ = asin ( a / x ) , when y = 0 . Here, the following condition is required: a 2 x 2 + y 2 . Then, the basic transformations T ϑ k in Equation (9) are defined from the decision equations
f x k 1 , x k 2 , ϑ k = x k 1 cos ϑ k x k 2 sin ϑ k , g x k 1 , x k 2 , ϑ k = a k .
The special case when all parameters a k = 0 leads to the N -point DsiHT, which operates on the generator as H N x = ± x , 0 , , 0 . Here, the apostrophe denotes the transpose operation. The transform collects the generator’s energy in one place or heap. The order of processing the components of the generator, which is called the path of the transformation, can be chosen in different ways. For instance, the following path can be considered
T ϑ 1 : x 0 , x 1 x ~ 0 , 0 , T ϑ 2 : x ~ 0 , x 2 x ~ 0 , 0 , , T ϑ N 1 : x ~ 0 , x N 1 x ~ 0 , 0 = ± x , 0 .
Here, at each step, the first value of the generator is updated as x ~ 0 . The N -point DsiHT with this natural order of processing the components of the generators is called the weak DsiHT [26]. The transform of an input z = ( z 0 , z 1 , ,   z N 1 ) is processed with the same path,
T ϑ 1 : z 0 , z 1 z ~ 0 , z ~ 1 , T ϑ 2 : z ~ 0 , z 2 z ~ 0 , z ~ 2 , , T ϑ N 1 : z ~ 0 , z N 1 z ~ 0 , z ~ 1 .
Thus, the concept of the N -point DsiHT is based on creating a unitary transformation from a given signal or vector (or a multi-qubit superposition in quantum computation). The matrix of this transformation is composed of elementary rotations, and the rotation angles are determined by the generator and the path.
Example 1: Consider the generator x = 2 , 1,3 , 4,1 , 2,5 , 1 / 61 . Seven rotations with angles ϑ k ,   k = 1 : 7 = { 26.56 ° , 53.30 ° , 46.91 ° , 10.34 ° , 19.75 ° , 40.20 ° , 7.35 ° } (in degrees) are used in the calculation of the 8-point weak DsiHT, which has the matrix
H 8 = 0.2561 0.1280 0.3841 0.5121 0.1280 0.2561 0.6402 0.1280 0.4472 0.8944 0 0 0 0 0 0 0.7171 0.3586 0.5976 0 0 0 0 0 0.3904 0.1952 0.5855 0.6831 0 0 0 0 0.0656 0.0328 0.0984 0.1312 0.9837 0 0 0 0.1214 0.0607 0.1822 0.2429 0.0607 0.9411 0 0 0.2182 0.1091 0.3273 0.4364 0.1091 0.2182 0.7638 0 0.0331 0.1265 0.0496 0.0661 0.0165 0.0331 0.0826 0.9918 .
The determinant of this matrix is equal to 1, and the first row is the generator x .

3. Decision Equations with Two Vector-Generators

In this section, we consider transformations which are defined by three decision equations with two generators. These are equations that allow us to calculate transformation parameters. Obviously, these equations must be solvable. The method of the composition of such transformations is based on the approach described in Section 2, for the DsiHT with one generator and two decision equations. Here, we consider the case when basic transformations T θ k operate with only three components of an input vector z = ( z 0 , z 1 , , z N 1 ) . Namely, at each stage k of calculations, two components out of three from stage ( k 1 ) are updated, and the third one is chosen from the rest of z . To avoid complex notations in equations, the same symbols z k will be used for the original components of the input and for the updated ones. Thus, we consider an isomorphic 3D transformation T θ k   defined as follows:
T k 1 , k 2 , k 3 θ k : z k 1 , z k 2 , z k 3 f k 1 z , θ k , f k 2 z , θ k , f k 3 z , θ k = f k 1 z k 1 , z k 2 , z k 3 , θ k , f k 2 z k 1 , z k 2 , z k 3 , θ k , f k 3 z k 1 , z k 2 , z k 3 , θ k k 1 , k 2 , k 3 0,1 , , N 1 ,
where the triple of numbers ( k 1 , k 2 , k 3 ) is uniquely defined by k . We also assume that the functions f k 1 , f k 2 , and f k 3 are equal to the same functions which we denote by f 1 , f 2 , and g , respectively. The problem of constructing an N -point transformation is reduced to defining 3-point basic transformations T θ k = T k 1 , k 2 , k 3 θ k as
T θ k : z k 1 , z k 2 , z k 3 f 1 z k 1 , z k 2 , z k 3 , θ k , f 2 z k 1 , z k 2 , z k 3 , θ k , g z k 1 , z k 2 , z k 3 , θ k .
Here, θ k are vector parameters; for instance, θ k = ( φ k , ψ k ) , when k = 1 : ( N 2 ) .

Rotations in 3D Space

To define a transformation generated by two vectors (generators), we consider two 2D rotations in the 3D space. Namely, we consider the performance of rotations around the x - and y -axes, and two given vector-generators will be rotated simultaneously to the plane x - y . In this case, the basic transformation T φ , ψ has the form
x y z f 1 x , y , z , φ , ψ f 2 x , y , z , φ , ψ g x , y , z , φ , ψ ,
where v = ( x , y , z ) is an input vector, and ( φ , ψ ) are angle parameters. These parameters are determined by two given vectors v 1 = x 1 , y 1 , z 1 and v 2 = x 2 , y 2 , z 2 . Thus, the transformation is defined by three decision functions f 1 , f 2 , and g . We can also write T φ , ψ = T v 1 , v 2 .
It is assumed that parameters ( φ , ψ ) can be found from the angular equations
g x 1 , y 1 , z 1 , φ , ψ = a 1 g x 2 , y 2 , z 2 , φ , ψ = a 2
for given parameters a 1 and a 2 . The transformation T φ , ψ is defined by two rotations around the y- and x-axes,
T φ , ψ = cos φ 0 sin φ 0 1 0 sin φ 0 cos φ 1 0 0 0 cos ψ sin ψ 0 sin ψ cos ψ = cos φ sin ψ sin φ sin φ cos ψ 0 cos ψ sin ψ sin φ sin ψ cos φ cos ψ cos φ .
The angular equations for the vector-generators v 1 and v 2 can be written as
x 1 sin φ + y 1 sin ψ cos φ + z 1 cos ψ cos φ = a 1 x 2 sin φ + y 2 sin ψ cos φ + z 2 cos ψ cos φ = a 2 .
We consider the particular case when a 1 = a 2 = 0 . It is not difficult to see that angles φ and ψ , being vector functions of v 1 and v 2 , are determined from the above angular equations as follows:
tan ψ = x 2 z 1 z 2 x 1 y 2 x 1 x 2 y 1 , tan φ = 1 x 1 y 1 tan ψ + z 1 1 + tan 2 ψ ,
and φ = π / 2 if x 1 = 0 .
To compose the transform of the N -dimension vector z = ( z 0 , z 1 , ,   z N 1 ) , we consider two vector-generators x = ( x 0 , x 1 , ,   x N 1 ) and y = ( y 0 , y 1 , ,   y N 1 ) . The order of choosing all triplets ( k 1 , k 2 , k 3 ) in Equation (19) is called the path of the D2siHT. We consider the case when the path of the transformation H is defined in the natural order, from left to right, as 0,1 , 2 , , ( N 1 ) .   In other words, let us define the following triplets:
x 1 = x 0 , x 1 , x 2 , y 1 = y 0 , y 1 , y 2 , z 1 = z 0 , z 1 , z 2 , x 2 = x ~ 0 , x ~ 1 , x 3 , y 2 = y ~ 0 , y ~ 1 , y 3 , z 2 = z ~ 0 , z ~ 1 , z 3 , x 3 = x ~ 0 , x ~ 1 , x 4 , y 3 = y ~ 0 , y ~ 1 , y 4 , z 3 = z ~ 0 , z ~ 1 , z 4 , x k = x ~ 0 , x ~ 1 , x k + 1 , y k = y ~ 0 , y ~ 1 , y k + 1 , z k = z ~ 0 , z ~ 1 , z k + 1 ,
when k = 2 : N 2 . The first two components of each triplet are updated from the ( k 1 ) -th stage as
x ~ 0 , x ~ 1 , 0 = T φ k , ψ k x ~ 0 , x ~ 1 , x k + 1 y ~ 0 , y ~ 1 , 0 = T φ k , ψ k y ~ 0 , y ~ 1 , y k + 1 z ~ 0 , z ~ 1 , z k = T φ k , ψ k z ~ 0 , z ~ 1 , z k + 1 .
Before the last stage of the transform calculation, that is, when k = ( N 2 ) , we obtain the following transforms of the generators:
x = x 0 , x 1 , , x N 1 x ^ = x ~ 0 , x ~ 1 , 0 , , 0 , y = y 0 , y 1 , , y N 1 y ^ = y ~ 0 , y ~ 1 , 0 , , 0 ,
and for the input, z = z 0 , z 1 , ,   z N 1 z ~ 0 , z ~ 1 , z ~ 2 , , z ~ N 1 . Our goal is to transfer these two vectors into the first and second Cartesian unit vectors,
x ^ 1,0 , 0 , , 0 a n d y ^ 0,1 , 0 , , 0 .
Therefore, the transformation D which is applied to the two-dimension vector ( z ~ 0 , z ~ 1 ) has the following matrix:
D = 1 x ~ 0 y ~ 1 y ~ 0 x ~ 1 y ~ 1 y ~ 0 x ~ 1 x ~ 0 , det D = 1 x ~ 0 y ~ 1 y ~ 0 x ~ 1
Indeed, it is not difficult to see that
D x ~ 0 x ~ 1 = 1 0 a n d D y ~ 0 y ~ 1 = 0 1 .
It is assumed that the vectors x ~ 0 , x ~ 1 and y ~ 0 , y ~ 1 are independent. At this stage, the first two components of the transform z ~ 0 , z ~ 1 , z ~ 2 , , z ~ N 1 are processed by this matrix, z ~ 0 , z ~ 1 D z ~ 0 , z ~ 1 . The N -point D2siHT of the input signal is
H z = ( z ~ 0 , z ~ 1 ) D , z ~ 2 , , z ~ N 1 .
Thus, the discrete two signal-induced heap transformation (D2siHT) composed of the basic transformations (rotations) T φ , ψ is defined as
H z = ( D T ) z = D T φ N 2 , ψ N 2 z N 2 T φ 2 , ψ 2 z 2 T φ 1 , ψ 1 z 1 ,
where the vector triples z k , k = 1 : ( N 2 ) , and angles φ k and ψ k are determined based on the processing of z data and the generators x k and y k .
Comment 1: If the vectors x ~ 0 , x ~ 1 and y ~ 0 , y ~ 1 at the last stage of calculation in Equation (27) are dependent, then y ~ 0 , y ~ 1 = ± x ~ 0 , x ~ 1 when x = y = 1 . In this case, the matrix D is considered to be the elementary rotation, and
D x ~ 0 x ~ 1 = 1 0 a n d D y ~ 0 y ~ 1 = ± 1 0 .
Two generators x and y are transformed to the vectors ± 1,0 , 0 , , 0 .
Comment 2: We may assume that the vector-generators are unit vectors; that is, x = 1 , and y = 1 . Then, the transforms in Equation (28) can be written as x ^ x , 0 ,   0 , ,   0   a n d   y ^ 0 , y ,   0 , ,   0 . In the case, when x 1 and y 1 , such a matrix D does not exist. In other words, at the last stage of the DsiHT, it is not possible to find a matrix D such that
D x ~ 0 x ~ 1 = x 0 a n d D y ~ 0 y ~ 1 = 0 y .
Comment 3: All matrices of the transformations in Equation (32), except the matrix D , are rotation matrices. Therefore, the D2siHT is not unitary, and its matrix, H , has determinant det H = det D . To apply the D2siHT in quantum computation, for the case when N is a power of 2, we will replace the matrix D with a rotation around the z -axis. One of the following transforms is considered:
x ^ x , 0 , 0 , , 0 a n d y ^ y ~ 0 , y ~ 1 R ϑ 1 , 0 , , 0
and
y ^ 0 , y , ,   0 a n d x ^ x ~ 0 , x ~ 1 R ϑ 2 ,   0 , ,   0 .
Here, R ϑ 1 and R ϑ 2 are the matrices of elementary rotations (the Givens rotations) defined as
R ϑ 1 x ~ 0 x ~ 1 = cos ϑ 1 sin ϑ 1 sin ϑ 1 cos ϑ 1 x ~ 0 x ~ 1 = x 0
and
R ϑ 2 y ~ 0 y ~ 1 = cos ϑ 2 sin ϑ 2 sin ϑ 2 cos ϑ 2 y ~ 0 y ~ 1 = 0 y .
The angles are calculated by
ϑ 1 = arctan x ~ 1 / x ~ 0 , a n d   ϑ 1 = π / 2   if   x ~ 0 = 0 ,
ϑ 2 = arctan y ~ 0 / y ~ 1 , a n d   ϑ 2 = π / 2   if   y ~ 1 = 0 .
The normalization of the generators, x x / x and y y / y , is not required. Thus, the modified N -point D2siHT is considered as the transform
H z = ( R ϑ T ) z = R ϑ T φ N 2 , ψ N 2 z N 2 T φ 2 , ψ 2 z 2 T φ 1 , ψ 1 z 1 ,
where ϑ = ϑ 1 or ϑ 2 . This can also be written as H z = ( z ~ 0 , z ~ 1 ) R ϑ , z ~ 2 , , z ~ N 1 . The transformation is unitary and uses ( N 2 ) 3D rotations and one 2D rotation. All angles of this transformation can be written as shown in Table 1. Only one of the angles ϑ 1 and ϑ 2 is used. The total number of angles in the D2siHT is equal to 2 N 2 + 1 = 2 N 3 .
Example 2: ( N = 8 ) Consider two generators x = 1 , 2,4 , 5 ,   2 ,   5,1 , 3 and y = 2,7 , 6,4 ,   1 , 2,5 , 2 . The D2siHT has a matrix calculated by
H 8 = R z ; ϑ 1 0,1 T = R z ; ϑ 1 0,1 k = 0 5 R y ; φ 7 k ( 0,7 k ) R x ; ψ 7 k ( 1,7 k ) ,
and it is equal to
H 8 = 0.1085 0.2169 0.4339 0.5423 0.2169 0.5423 0.1085 0.3254 0.1889 0.5668 0.4466 0.4294 0.0515 0.0859 0.4466 0.2233 0.6684 0.5849 0.4595 0 0 0 0 0 0.6900 0.4139 0.4769 0.3539 0 0 0 0 0.0348 0.1019 0.1803 0.1916 0.9588 0 0 0 0.0778 0.1736 0.3340 0.3987 0.1637 0.8164 0 0 0.2139 0.2723 0.1664 0.3358 0.0114 0.0521 0.8759 0 0.0843 0.0609 0.0451 0.2964 0.0643 0.1712 0.1469 0.9188 .
Here, for axes k = x , y , and z, the notation R k , ϑ i , j , is used for the rotation gate R k , ϑ   that operates on the biplanes i and j , i j . All angles for this 8-point transformation are given in Table 2.
The transforms of the generators are
H 8 x = x , 0,0 , , 0 = 9.2195,0 , 0 , , 0 , H 8 y = 1.8439,11.6447,0 , , 0 .
The inverse transformation is defined by the matrix
H 8 = T R z ; ϑ 1 0,1 = k = 2 7 R x ; ψ k 1 , k R y ; φ k 0 , k R z ; ϑ 1 0,1 .
If in the last rotation around the z -axis, we use the angle ϑ 2 = 38.86 ° instead of ϑ 1 = 60.14 ° , we obtain a D2siHT with the matrix H 8 ; 2 , in which only the first two rows differ from the matrix in Equation (43),
H 8 ; 2 = 0.1696 0.5937 0.5089 0.3393 0.0848 0.1696 0.4221 0.1696 0.1367 0.1256 0.3587 0.6028 0.2062 0.5222 0.1770 0.3563 .
Then, the transforms of the generators are
H 8 ; 2 y = y , 0,0 , , 0 = 11.7898,0 , 0 , , 0 , H 8 ; 2 x = 1.4419 , 9.1061,0 , , 0 .
If we use the D2siHT in the original form, that is, with the matrix D ,
D = 0.0689 0.0745 0.0855 0.0428 , det D = 0.0093 ,
then the matrix of the transform calculated by
H 8 ; 3 = D 0,1 k = 0 5 R y ; φ 7 k ( 0,7 k ) R x ; ψ 7 k ( 1,7 k )
changes only in the first two rows in the matrix H 8 in Equation (43), as shown below
H 8 ; 3 = 0.0150 0.0138 0.0394 0.0662 0.0226 0.0573 0.0194 0.0391 0.0162 0.0487 0.0383 0.0369 0.0044 0.0074 0.0383 0.0192 .
This transformation is not unitary and over the generators results in the unit vectors H 8 ; 3 x = 1,0 , 0 , , 0 and H 8 ; 3 y = 0,1 , 0 , , 0 .
Example 3: For the N = 16 case, we can represent two generators x and y as 4-qubit superpositions
| x = x 0 | 0 + x 1 | 1 + + x 15 | 15 , | y = y 0 | 0 + y 1 | 1 + + y 15 | 15 ,
and the input z as | z = z 0 | 0 + z 1 | 1 + + z 15 | 15 . Here, | k , k = 0 : 15 , denote the computational basis states [27]. The 4-qubit Q2siHT is described by the matrix of the 16-point D2siHT, H 16 , generated by x and y . The circuit for calculating this transform is given in Figure 2, and the circuit for calculating the inverse 4-qubit Q2siHT is given in Figure 3. The 2D rotation R ϑ operates on bit planes 0 and 1. Therefore, this rotation is shown in the diagram as three zero-controlled rotation gate.
Example 4: The 4-point D2siHT is described by the following matrix:
H 4 = R ϑ I 2 T φ 2 , ψ 2 T φ 1 , ψ 1 = R ϑ I 2 R 3 φ 2 R 4 ( ψ 2 ) R 1 φ 1 R 2 ( ψ 1 ) ,
where
T φ 1 , ψ 1 = R 1 φ 1 R 2 ψ 1 = cos φ 1 0 sin φ 1 0 0 1 0 0 sin φ 1 0 cos φ 1 0 0 0 0 1 1 0 0 0 0 cos ψ 1 sin ψ 1 0 0 sin ψ 1 cos ψ 1 0 0 0 0 1 ,
T φ 2 , ψ 2 = R 3 φ 2 R 4 ψ 2 = cos φ 2 0 0 sin φ 2 0 1 0 0 0 0 1 0 sin φ 2 0 0 cos φ 2 1 0 0 0 0 cos ψ 2 0 sin ψ 2 0 0 1 0 0 sin ψ 2 0 cos ψ 2 ,
R ϑ I 2 = cos ϑ sin ϑ 0 0 sin ϑ cos ϑ 0 0 0 0 1 0 0 0 0 1 .
The rotations R 2 ψ 1 and R 3 φ 2 operate on non-adjacent bit planes. We need to move these rotations on adjacent bit planes. For this, we consider the matrix of permutation P 0,1 = ( 0,1 ) and write the matrices of these rotations as
R 2 ψ 1 = 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 cos ψ 1 0 sin ψ 1 0 0 1 0 0 sin ψ 1 0 cos ψ 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 ,
R 3 φ 2 = 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 cos φ 2 0 sin φ 2 0 0 1 0 0 sin φ 2 0 cos φ 2 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 .
Thus,
H 4 = R ϑ I 2 [ P 0,1 R 4 ( φ 2 ) P 0,1 R 4 ( ψ 2 ) ] [ R 1 φ 1 P 0,1 R 1 ψ 1 P 0,1 ] .
The circuit of this transformation is given in Figure 4. The permutation ( 0,1 ) represents the 0 -controlled X gate or NOT gate; that is, P 0,1 = X I 2   [28].
The quantum circuit for the inverse transformation is given in Figure 5. This circuit can be used to initiate the 2-qubit superpositions | x and | y from the states | 0 and | 1 , respectively. Namely, the state | x = H 4 | 0 when ϑ = ϑ 1 , and the state | y = H 4 | 1 , when ϑ = ϑ 2 .
Let us consider, for example, the following 2-qubit superpositions:
| x = 2 | 0 + 3 | 1 + | 2 + 4 | 3 30 a n d | y = | 0 + 4 | 1 5 | 2 + 2 | 3 46 .
The angles of the transformation H 4 are given in Table 3.
The matrices of the D2siHTs are
H 4 ; ϑ 1 = 0.3651 0.5477 0.1826 0.7303 0.2938 0.4250 0.8552 0.0420 0.8008 0.3793 0.4636 0 0.3730 0.6128 0.1429 0.6818 ,
H 4 ; ϑ 2 = 0.1474 0.5898 0.7372 0.2949 0.4449 0.3644 0.4703 0.6694 0.8008 0.3793 0.4636 0 0.3730 0.6128 0.1429 0.6818 .
The transforms of the generators are
H 4 ; ϑ 1 x = 1,0 , 0,0 , H 4 ; ϑ 1 y = 0.3499 , 0.9368,0 , 0 , H 4 ; ϑ 2 y = 0,1 , 0,0 , H 4 ; ϑ 2 x = 0.3499,0.9368,0 , 0 .
Figure 6 shows the roadmap of this transformation. Five rotations in this transformation are marked with crosses, which we call butterflies. Each 3D rotation is shown as a pair of butterflies. The zero outputs of these butterflies are marked with open circles. The red circles represent the points at which the signal energy is transformed, or the last non-zero outputs of the generator transformations. The butterflies marked with a red dashed circles operate on non-adjacent bit planes. Finding a path with three adjacent bit planes for all 3D rotations T φ k , ψ k is a difficult task and probably impossible.
Now, we consider the roadmap that is similar to the concept of the strong DsiHT with one generator [25,26]. As shown in Figure 7, the data are processed starting from the last three components of two generators x and y .
For the above generators, the angles of this transformation are given in Table 4.
The matrix of the transformation is equal to
H 4 ; ϑ 1 = 0.3651 0.5477 0.1826 0.7303 0.2938 0.4250 0.8552 0.0420 0.8834 0.0851 0.3599 0.2879 0 0.7157 0.3253 0.6181 .

4. The 3-Qubit Q2siHT

For large values of N , many different roadmaps can be used for the N -point D2siHT. We describe such roadmaps for the N = 8 case. First, we consider the roadmap for the 8-point D2siHT (or the 3-qubit Q2siHT) that is used in Example 2. It is shown in Figure 8. One can note that with each step of calculation, control (that is, the butterfly operation) is carried out with increasingly distant signal components, which we attribute to “the weakness” of such a path in the roadmap. This is why we call the transformation with such a path, or path #1, the weak D2siHT.
Figure 9 shows the roadmap for the 8-point D2siHT, which we call a strong D2siHT. The path of processing data is different. With each step of calculation, the butterflies operate on the nearest component signals, which we consider to be a strong characteristic of such a path. This path will be called path #2.
It should be noted that when using path #1 and path #2, there are 3D butterflies whose two 2D butterflies operate on non-disjoint BPs. For instance, when using path #1, the first butterfly in T φ 5 , ψ 5 operates on BPs 001 and 110, and the second one operates on BPs 000 and 110. When using path #2, such a 3D butterfly is T φ 4 , ψ 4 which operates on BPs 011 and 100 and then on 010 and 100.
Example 5: Let vectors x and y be two generators considered in Example 2. Then, the 8-point strong D2siHT is described by rotations with the angles given in Table 5.
The matrix of this transformation is equal to
H 8 ; 2 = 0.1085 0.2169 0.4339 0.5423 0.2169 0.5423 0.1085 0.3254 0.1889 0.5668 0.4466 0.4294 0.0515 0.0859 0.4466 0.2233 0.9760 0.0856 0.0382 0.1434 0.0141 0.0436 0.0985 0.0794 0 0.7902 0.4436 0.1746 0.0950 0.2058 0.3012 0.0794 0 0 0.6435 0.0612 0.2466 0.5644 0.4502 0.0050 0 0 0 0.6832 0.0964 0.2825 0.5048 0.4352 0 0 0 0 0.9332 0.3308 0.0954 0.1027 0 0 0 0 0 0.3827 0.4710 0.7948 .
As an example, Figure 10 shows another roadmap of the 8-point transformation.
The path with partitioning, or path #3, in this map with five steps of calculations can be considered more effective than path #1, which is used in Example 2. It is not difficult to see that in this roadmap, in all 3D butterflies, only one of two 2D butterflies operates on non-disjoint BPs. This is also true in the general case of N = 2 r ,   r > 2 . The number of stages or the depth of the circuit corresponding to this roadmap is equal to 2 r 1 + 1 . For the roadmaps with paths #1 and #2, the number of stages in the calculations is equal to N 2 + 1 .
We consider the same two generators x and y that are used in Example 2. The matrix of the 8-point D2siHT with path #3 is equal to
H 8 ; 3 = 0.1085 0.2169 0.4339 0.5423 0.2169 0.5423 0.1085 0.3254 0.1889 0.5668 0.4466 0.4294 0.0515 0.0859 0.4466 0.2233 0.6684 0.5849 0.4595 0 0 0 0 0 0.6900 0.4139 0.4769 0.3539 0 0 0 0 0.0779 0.2281 0.4037 0.4290 0.2771 0.6627 0.1912 0.2058 0.1538 0.2575 0.1041 0.4606 0.0507 0.0588 0.7220 0.3996 0 0 0 0 0.9255 0.3771 0.0343 0 0 0 0 0 0.1196 0.3371 0.4793 0.8014 .
The matrix changed only in the second part, when compared with the matrix H 8 in Equation (43). The number of zero coefficients is 18, compared to 15 in H 8 and H 8 ; 2 . This is also true in the general case of generators. Each path defines the structure of the transformation matrix. All angles for this 8-point transformation are given in Table 6.
The quantum circuit for the transformation is given in Figure 11. This circuit is composed of 13 controlled rotation gates and 12 controlled NOT gates. All these gates are controlled by two qubits. In the general case, the number of rotation gates to initiate r -qubit superposition is equal to n R = 2 ( 2 r 1 ) plus n X = 2 ( 2 r 2 ) controlled X gates.
One can note that two controlled X gates connected in series at the junction of the operators T φ 4 , ψ 4 and T φ 5 , ψ 5 represent one X gate controlled by the second qubit. The circuit for calculating the inverse 3-qubit Q2siHT is given in Figure 12. The inverse rotations are denoted by R φ = R φ .
For comparison, we consider the traditional method | 000 | x of the preparation of the 3-qubit superposition by the Givens rotations. For this, we use the 8-point DsiHT with a fast path (for details, see [25]). The roadmap of this transformation of the 8D vector x ( 1,0 , , 0 ) is shown in Figure 13. Seven 2D rotations, or butterflies, are used, and all these rotations R ϑ k ;   k = 1 : 7 operate on the adjacent bit planes.
The quantum circuit with seven 2-qubit controlled rotation gates for calculating this transformation, | x | 000 , is given in Figure 14. This is a permutation-free circuit.
Figure 15 shows a roadmap of the inverse 8-point DsiHT. The transformation requires seven rotations with angles ϑ k ,   k = 1 : 7 . This transformation allows us to prepare the vector x when the input is the vector 1,0 , , 0 .
If we consider the generator x = ( 1 , 2,4 , 5 , 2,5 , 1,3 ) , then the 8-point DsiHT is calculated by the rotations with the following angles:
A x = ϑ k , k = 1 : 7 = 63.4349 ° , 51.3402 ° , 68.1986 ° , 71.5651 ° , 70.7500 ° , 30.4223 ° , 42.6381 ° .
The matrix of this transformation is equal to
H 8 ; x = 0.1085 0.2169 0.4339 0.5423 0.2169 0.5423 0.1085 0.3254 0.8944 0.4472 0 0 0 0 0 0 0.4222 0.8444 0.2060 0.2574 0 0 0 0 0 0 0.7809 0.6247 0 0 0 0 0.0999 0.1997 0.3995 0.4994 0.2356 0.5890 0.1178 0.3534 0 0 0 0 0.9285 0.3714 0 0 0 0 0 0 0.1881 0.4702 0.2727 0.8181 0 0 0 0 0 0 0.9487 0.3162 .
One can note that the first row of this matrix is the normalized vector x / x , as in the matrix H 8 for the 8-point D2siHT in Equation (43) (and in Equations (64) and (65)). The structure of this matrix (with 32 zeros) differs from that of the matrix of the 8-point weak DsiHT, which is shown in Equation (17) (and has only 21 zero coefficients). Therefore, the DsiHT with the fast path is considered more effective than the weak path DsiHT [26].
The 8-point DsiHT with the generator y = ( 2,7 , 6,4 , 1 , 2,5 , 2 ) has the following matrix (with the first row y / y ):
H 8 ; y = 0.1696 0.5937 0.5089 0.3393 0.0848 0.1696 0.4241 0.1696 0.9615 0.2747 0 0 0 0 0 0 0.1933 0.6767 0.5911 0.3941 0 0 0 0 0 0 0.5547 0.8321 0 0 0 0 0.0965 0.3379 0.2896 0.1931 0.1491 0.2981 0.7453 0.2981 0 0 0 0 0.8944 0.4472 0 0 0 0 0 0 0.4130 0.8260 0.3561 0.1424 0 0 0 0 0 0 0.3714 0.9285 .
The angular representation of the generator is
A y = ϑ k , k = 1 : 7 = 74.0546 ° , 33.6901 ° , 63.4349 ° , 21.8014 ° , 44.7272 ° , 67.4504 ° , 29.6417 .
The quantum circuit for the inverse 3-qubit QsiHT with the roadmap in Figure 15 is shown in Figure 16. This circuit can be used for the preparation of any 3-qubit superposition | z , by using the corresponding seven angles, A z . To prepare the 3-qubit superpositions | x and | y , we need two separate circuits, that is, one circuit with angles of rotations of A x for | x and another circuit with the angles of A y for | y . Each such circuit requires only seven 2-qubit controlled rotation gates.

5. Circuit Simulation and Analysis Using IBM’s Qiskit Framework

The quantum circuits implementing the Q2siHT transform were simulated and analyzed using IBM’s open-source Qiskit framework [29]. Qiskit is a framework for designing, optimizing, and executing quantum circuits. It includes realistic backends, various simulators, and visualization tools that enable direct comparison between ideal and noisy circuit executions within the same computational framework [30].
Two types of simulations were performed to evaluate the accuracy and noise sensitivity of the proposed circuits. The first simulation was conducted under noise-free (ideal) conditions to obtain the theoretical probability distributions of the output quantum states. The second simulation incorporated a noise model using Qiskit’s GenericBackendV2, where the default noise parameters were applied. These parameters represent typical operational characteristics of IBM Quantum hardware such as gate readout errors and finite qubit coherence times. This allows for an approximate estimation of circuit behaviour under realistic experimental conditions [31].
To quantify the deviation between the simulated and theoretical results, the Root Mean Square Error (RMSE) was used as a performance metric, mathematically defined as
R M S E =   1 N   i = 0 N 1 p i sim p i ideal 2 ,
where p i sim and p i ideal denote the simulated and theoretical probabilities of the i -th quantum state, and N is the total number of possible output states. As shown in Equation (70), the RMSE provides a quantitative measure of the average deviation between the simulation results and theoretical expectations. A smaller RMSE indicates closer arrangement between simulated and theoretical distributions, which demonstrates the accuracy of the proposed Q2siHT-based quantum superposition preparation circuits under both ideal and noisy simulation environments.
The RMSE values and corresponding error distributions were obtained for the inverse Q2siHT fast path circuits of both the 2-qubit and 3-qubit systems. For each configuration, the results were generated under noise-free and noisy conditions. The numerical RMSE results are summarized in Table 7, Table 8, Table 9 and Table 10, and their corresponding visual representations of the error distributions are shown in Figure 17, Figure 18, Figure 19 and Figure 20.
It should be noted that the numerical examples presented in this work are used solely to demonstrate the operation and implementation of the proposed method and do not represent any specific physical or practical quantum systems. Furthermore, the described Q2siHT-based approach requires solving the decision equations to determine the rotation parameters. In this work, a classical computer is used to solve such equations.
When implementing these circuits through IBM’s Qiskit framework, the single and controlled qubit rotation gates are represented in IEEE-754 double-precision format, which provides around 15–16 significant digits of numerical accuracy. In our simulations, all rotation parameters were maintained with a precision of 0.01°. It is important to note that the Qiskit transpiler may omit extremely small rotations (less than 10−8 rad) during optimization, so to prevent such removals, each computed rotation was preserved with at least four significant digits in degrees.

6. Conclusions

In this work, we present, for the first time, the discrete two signal-induced heap transformation (D2sHT). This transformation is generated by two given vectors or superpositions. The quantum analogue of this transform, namely the Q2siHT, is described, and the quantum circuits of its implementation are considered. We propose a new method of the preparation of the two states with 3D rotations by using the concept of the D2siHT. The amplitudes of quantum superpositions are considered real. Examples for 2- and 3-qubit superpositions are described with quantum circuits. It is also shown that this transformation can be implemented by using different paths of processing generators and input signals. Regarding the examples with the 3-qubit Q2siHT with strong and fast paths, the importance of this characteristic for the transformation is shown. Simulations using the Qiskit framework using the inverse Q2siHT fast path state preparation approach demonstrate that the Q2siHT is reliable and efficient for quantum state preparation. The low RMSE values in the noise-free simulations verify the theoretical precision of the proposed circuits, while the moderate error observed under noisy conditions demonstrates convergence and resilience to common sources of quantum decoherence. These results highlight their practical feasibility and application in future implementations on real quantum hardware. Although this work focuses primarily on the simultaneous preparation of two states in the same quantum circuit, the method of preparing individual states is demonstrated as well in Figure 15 and Figure 16. This is performed to highlight that either quantum algorithm can be easily implemented for various design constraints where circuit fidelity may need to be minimized but certain gate parameters can be changed. In the case where only one gate parameter can be changed, the Q2siHT is able to “multiplex”, or switch between, two quantum superpositions by only changing the angle of one rotation gate.
The problem of two state preparation with complex amplitudes can also be considered and solved by the complex Q2siHT with three decision equations and complex rotation operations [25,32]. This case requires careful study. We need to initiate two superpositions x and y. The real basic transformations T φ , ψ = R φ R ψ defined in Equation (22) are defined by the angles which are calculated from three 3D vectors, as shown in Equation (24). We need to solve angular Equation (23) when all triplets in Equation (26) are complex. We do not yet have a simple analytical solution to this problem. One possible way to resolve this is to remove the phases from the generators first
x = e i λ 0 | x 0 | , e i λ 1 | x 1 | , , e i λ N 1 | x N 1 | x ^ = | x 0 | , | x 1 | , , | x N 1 | , y = e i γ 0 | y 0 | , e i γ 1 | y 1 | , , e i γ N 1 | y N 1 | y ^ = | y 0 | , | y 1 | , , | y N 1 | ,
and then initiate the superpositions x ^ and y ^ by the Q2siHTs described above. After that, we need to add the phase gates in the described circuits to restore the original superpositions x and y . We will consider the solution of this problem in our future work.
Finally, although the Q2siHT is presented in an abstract algorithmic framework, its implementation in experimental quantum platforms with coherent control and multi-qubit superpositions may be achieved. For instance, cavity quantum electrodynamics systems provide the precise control of atom photon interactions and have been used to realize complex superpositions of atomic states [33]. Similarly, superconducting qubits and trapped ions enable scalable and high-fidelity multi-qubit operations that could potentially serve as realistic environments for testing the proposed Q2siHT circuits. In these experimental platforms, the controlled rotations and operations required by the Q2siHT could be directly available as gate primitives, which would allow the proposed circuits to be benchmarked using current hardware to evaluate their resilience to noise, decoherence, and gate depth constraints [34].

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. and A.A.G.; investigation, A.M.G.; resources, A.M.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. and A.A.G.; 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 original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DsiHTDiscrete signal-induced heap transform
D2siHTDiscrete two signal-induced heap transform
Q2siHTQuantum two signal-induced heap transform
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. Long, G.-L.; Sun, Y. Efficient scheme for initializing a quantum register with an arbitrary superposed state. Phys. Rev. A 2001, 64, 014303. [Google Scholar] [CrossRef]
  6. Shende, V.V.; Markov, I.L. Quantum circuits for incompletely specified two-qubit operators. Quantum Inf. Comput. 2005, 5, 49–58. [Google Scholar] [CrossRef]
  7. Bärtschi, A.; Eidenbenz, S. Deterministic preparation of Dicke states. In International Symposium on Fundamentals of Computation Theory; Springer: Cham, Switzerland, 2019. [Google Scholar]
  8. Plesch, M.; Brukner, C. Quantum state preparation with universal gate decompositions. arXiv 2010, arXiv:1003.5760v2. [Google Scholar] [CrossRef]
  9. Gleinig, N.; Hoefler, T. An efficient algorithm for sparse quantum state preparation. In Proceedings of the 58th ACM/IEEE Design Automation Conference, San Francisco, CA, USA, 5–9 December 2021; IEEE: New York, NY, USA, 2021. [Google Scholar]
  10. de Veras, T.M.; da Silva, L.D.; da Silva, A.J. Double sparse quantum state preparation. Quantum Inf. Process. 2002, 21, 204. [Google Scholar] [CrossRef]
  11. Volya, D.; Mishra, P. State preparation on quantum computers via quantum steering. arXiv 2023, arXiv:2302.13518v3. [Google Scholar] [CrossRef]
  12. Householder, A.S. Unitary Triangulation of a Nonsymmetric Matrix. J. ACM 1958, 5, 339–342. [Google Scholar] [CrossRef]
  13. Rutishause, H. Simultaneous Iteration Method for Symmetric Matrices. In Linear Algebra. Handbook for Automatic Computation; Bauer, F.L., Ed.; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
  14. Golub, G.H.; Van Loan, C.F. Matrix Computations, 3rd ed.; Johns Hopkins Press: Baltimore, ML, USA, 1996. [Google Scholar]
  15. Bindel, D.; Demmel, J.; Kahan, W.; Marques, O. On Computing Givens Rotations Reliably and Efficiently; LAPACK Working Note 148; UT-CS-00-449; University of Tennessee: Knoxville, TN, USA, 2001. [Google Scholar]
  16. Demmel, J.; Grigori, L.; Hoemmen, M.; Langou, J. Communication-optimal parallel and sequential QR and LU factorizations. SIAM J. Sci. Comp. 2012, 34, 206–239. [Google Scholar] [CrossRef]
  17. Wang, H.; Bochen, T.D.; Cong, J. Quantum state preparation circuit optimization exploiting don’t cares. arXiv 2024, arXiv:2409.01418. [Google Scholar]
  18. Pinto, D.F.; Friedrich, L.; Maziero, J. Preparing general mixed quantum states on quantum computers. arXiv 2024, arXiv:2402.04212. [Google Scholar] [CrossRef]
  19. Zhang, X.M.; Li, T.; Yuan, X. Quantum state preparation with optimal circuit depth: Implementations and applications. Phys. Rev. Lett. 2022, 129, 230504. [Google Scholar] [CrossRef] [PubMed]
  20. Vartiainen, J.J.; Möttönen, M.; Salomaa, M.M. Efficient decomposition of quantum gates. Phys. Rev. Lett. 2004, 92, 177902. [Google Scholar] [CrossRef] [PubMed]
  21. 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]
  22. 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]
  23. 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]
  24. Grigoryan, A.M.; Gomez, A.; Agaian, S.S. A Novel approach to state-to-state transformation in quantum computing. Information 2025, 16, 689. [Google Scholar] [CrossRef]
  25. Grigoryan, A.M. New permutation-free quantum circuits for implementing 3- and 4-qubit unitary operations. Information 2025, 16, 621. [Google Scholar] [CrossRef]
  26. Grigoryan, A.M.; Grigoryan, M.M. Brief Notes in Advanced DSP: Fourier Analysis with MATLAB; CRC Press: Boca Raton, FL, USA; Taylor, and Francis Group: Abingdon, UK, 2009. [Google Scholar]
  27. Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information; Cambridge University Press: Cambridge, UK, 2000. [Google Scholar]
  28. Rieffel, E.G.; Polak, W.H. Quantum Computing: A Gentle Introduction; The MIT Press: Cambridge, MA, USA, 2011. [Google Scholar]
  29. Qiskit Development Team. Qiskit: An Open-Source Framework for Quantum Computing, Version 1.3.2. Computer Software. IBM Quantum: Poughkeepsie, NY, USA, 2019.
  30. Mykhailova, M. Quantum Programming in Depth Solving problems with Q# and Qiskit; Manning: Shelt Island, NY, USA, 2025. [Google Scholar]
  31. IBM Quantum. Exact and Noisy Simulation with Qiskit Aer Primitives. IBM Quantum Documentation—Guides, 2024–2025. Available online: https://quantum.cloud.ibm.com/docs/guides/simulate-with-qiskit-aer (accessed on 1 November 2025).
  32. Grigoryan, A.M. Effective methods of QR-decompositions of square complex matrices by fast discrete signal-induced heaptransforms. Adv. Linear Algebra Matrix Theory (ALAMT) 2023, 12, 87–110. [Google Scholar] [CrossRef]
  33. Haroche, S.; Raimond, J.-M. Exploring the Quantum: Atoms, Cavities, and Photons; Oxford University Press: Oxford, UK, 2006; ISBN 0-19-850914-6. [Google Scholar]
  34. Häffner, H.; Roos, C.F.; Blatt, R. Quantum Computing with Trapped Ions. Phys. Rep. 2008, 469, 155–203. [Google Scholar] [CrossRef]
Figure 1. A block diagram of the DsiHT.
Figure 1. A block diagram of the DsiHT.
Information 16 01043 g001
Figure 2. A diagram of the 4-qubit Q2siHT.
Figure 2. A diagram of the 4-qubit Q2siHT.
Information 16 01043 g002
Figure 3. A diagram of the inverse 4-qubit Q2siHT.
Figure 3. A diagram of the inverse 4-qubit Q2siHT.
Information 16 01043 g003
Figure 4. The circuit for the 2-qubit D2siHT.
Figure 4. The circuit for the 2-qubit D2siHT.
Information 16 01043 g004
Figure 5. The circuit for the preparation of two superpositions | x and | y .
Figure 5. The circuit for the preparation of two superpositions | x and | y .
Information 16 01043 g005
Figure 6. The roadmap of the 4-point D2siHT.
Figure 6. The roadmap of the 4-point D2siHT.
Information 16 01043 g006
Figure 7. The roadmap of the 4-point strong D2siHT.
Figure 7. The roadmap of the 4-point strong D2siHT.
Information 16 01043 g007
Figure 8. The roadmap of the 8-point D2siHT with the natural path or path #1.
Figure 8. The roadmap of the 8-point D2siHT with the natural path or path #1.
Information 16 01043 g008
Figure 9. The roadmap of the 8-point D2siHT with path #2.
Figure 9. The roadmap of the 8-point D2siHT with path #2.
Information 16 01043 g009
Figure 10. The 3rd roadmap of the 8-point D2siHT.
Figure 10. The 3rd roadmap of the 8-point D2siHT.
Information 16 01043 g010
Figure 11. The quantum circuit for calculating the 3-qubit Q2siHT.
Figure 11. The quantum circuit for calculating the 3-qubit Q2siHT.
Information 16 01043 g011
Figure 12. The quantum circuit for the preparation of two 3-qubit superpositions.
Figure 12. The quantum circuit for the preparation of two 3-qubit superpositions.
Information 16 01043 g012
Figure 13. The roadmap of the 8-point DsiHT with a fast path.
Figure 13. The roadmap of the 8-point DsiHT with a fast path.
Information 16 01043 g013
Figure 14. The circuit for the 3-qubit QsiHT with seven controlled rotation gates.
Figure 14. The circuit for the 3-qubit QsiHT with seven controlled rotation gates.
Information 16 01043 g014
Figure 15. The roadmap of the 8-point inverse DsiHT with a fast path.
Figure 15. The roadmap of the 8-point inverse DsiHT with a fast path.
Information 16 01043 g015
Figure 16. The circuits for the initiation of the 3-qubit state | x .
Figure 16. The circuits for the initiation of the 3-qubit state | x .
Information 16 01043 g016
Figure 17. RMSE distribution for the inverse 2-qubit Q2siHT fast path circuit for (a) | x and (b) | y (noise-free case).
Figure 17. RMSE distribution for the inverse 2-qubit Q2siHT fast path circuit for (a) | x and (b) | y (noise-free case).
Information 16 01043 g017
Figure 18. RMSE distribution for the inverse 2-qubit Q2siHT fast path circuit for (a) | x and (b) | y (with noise).
Figure 18. RMSE distribution for the inverse 2-qubit Q2siHT fast path circuit for (a) | x and (b) | y (with noise).
Information 16 01043 g018
Figure 19. RMSE distribution for the inverse 3-qubit Q2siHT fast path circuit for (a) | x and (b) | y (noise-free case).
Figure 19. RMSE distribution for the inverse 3-qubit Q2siHT fast path circuit for (a) | x and (b) | y (noise-free case).
Information 16 01043 g019
Figure 20. RMSE distribution for the inverse 3-qubit Q2siHT fast path circuit for (a) | x and (b) | y (with noise).
Figure 20. RMSE distribution for the inverse 3-qubit Q2siHT fast path circuit for (a) | x and (b) | y (with noise).
Information 16 01043 g020
Table 1. Encoding data of angles for D2siHT.
Table 1. Encoding data of angles for D2siHT.
R y φ 1 φ 2 φ N 3 φ N 2
R x ψ 1 ψ 2 ψ N 3 ψ N 2
R z ϑ 1 ϑ 2
Table 2. Encoding data of angles for 8-point D2siHT.
Table 2. Encoding data of angles for 8-point D2siHT.
R y : 41.94 ° 68.07 ° 7.19 ° 16.39 ° 27.94 ° 21.16 °
R x : 51.28 ° 18.62 ° 14.90 ° 31.68 ° 7.48 ° 9.85 °
R z : 60.14 ° 38.86 °
Table 3. Encoding data of angles for 2-qubit Q2siHT.
Table 3. Encoding data of angles for 2-qubit Q2siHT.
R y : φ 1 = 53.20 ° φ 2 = 38.52 °
R x : ψ 1 = 39.29 ° ψ 2 = 29.37 °
R z : ϑ 1 = 218.82 ° ϑ 2 = 71.66 °
Table 4. Encoding data of angles for 2-qubit strong Q2siHT.
Table 4. Encoding data of angles for 2-qubit strong Q2siHT.
R y : φ 1 = 45.69 ° φ 2 = 62.05 °
R x : ψ 1 = 27.76 ° ψ 2 = 15.06 °
R z : ϑ 1 = 218.82 ° ϑ 2 = 18.34 °
Table 5. Encoding data of angles for 8-point strong D2siHT.
Table 5. Encoding data of angles for 8-point strong D2siHT.
R y : 22.50 ° 68.94 ° 43.09 ° 40.05 ° 52.20 ° 77.41 °
R x : 30.65 ° 85.25 ° 21.56 ° 6.28 ° 71.00 ° 39.87 °
R z : 60.14 ° 51.14 °
Table 6. Encoding data of angles for 8-point D2siHT with path #3.
Table 6. Encoding data of angles for 8-point D2siHT with path #3.
R y : 41.94 ° 67.75 ° 68.07 ° 18.41 ° 16.29 ° 35.22 °
R x : 51.28 ° 84.81 ° 18.62 ° 32.36 ° −36.53 ° 1.31 °
R z : 60.14 ° 51.14 °
Table 7. RMSE values for the inverse 2-qubit Q2siHT fast path circuit under noise-free simulation for | x and | y .
Table 7. RMSE values for the inverse 2-qubit Q2siHT fast path circuit under noise-free simulation for | x and | y .
Basis
States
Probabilities of  | x
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
00 0.13330.11600.14300.13690.1320
01 0.30000.30400.29800.30080.3007
10 0.03330.03200.04000.03260.0327
110.53330.54800.51900.52970.5346
RMSE 1.35 × 10 2 1.20 × 10 2 2.91 × 10 3 1.40 × 10 3
Basis
States
Probabilities of  | y
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
00 0.02170.02400.024000.02200.0221
01 0.34780.33400.35700.34300.3462
10 0.54350.57000.53000.54780.5459
110.08690.07200.08900.08720.0858
RMSE 1.74 × 10 2 7.30 × 10 3 2.56 × 10 3 1.56 × 10 3
Table 8. RMSE values for the inverse 2-qubit Q2siHT fast path circuit under noisy simulation (GenericBackendV2) for | x and | y .
Table 8. RMSE values for the inverse 2-qubit Q2siHT fast path circuit under noisy simulation (GenericBackendV2) for | x and | y .
Basis
States
Probabilities of | x
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
00 0.13330.15400.13800.13560.1349
01 0.30000.26800.30000.30570.2998
10 0.03330.03400.04500.03800.0382
110.53330.54400.51700.52070.5271
RMSE 2.06 × 10 2 1.61 × 10 2 8.12 × 10 3 6.89 × 10 3
Basis
States
Probabilities of  | y
Theoretical500 Shots1000 Shots10,000 Shots100,000 Shots
00 0.02170.03000.02300.02100.0227
01 0.34780.31400.33700.33790.3478
10 0.54350.57400.54600.54940.5429
110.08690.08200.09400.09170.0866
RMSE 2.24 × 10 2 7.83 × 10 3 6.30 × 10 3 1.68 × 10 3
Table 9. RMSE values for the inverse 3-qubit Q2siHT fast path circuit under noise-free simulation for | x and | y .
Table 9. RMSE values for the inverse 3-qubit Q2siHT fast path circuit under noise-free simulation for | x and | y .
Basis
States
Probabilities of | x
Theoretical1000 Shots10,000 Shots100,000 Shots1,000,000 Shots
000 0.01180.00700.00880.01180.0117
001 0.04710.04200.04640.04660.0472
110 0.01180.01100.01050.01150.0119
1110.10590.09100.10320.10700.106
RMSE 1.60 × 10 2 6.63 × 10 3 1.64 × 10 3 3.81 × 10 4
Basis
States
Probabilities of  | y
Theoretical1000 Shots10,000 Shots100,000 Shots1,000,000 Shots
000 0.02880.03200.03030.02900.0287
001 0.35250.33300.34770.35270.3516
110 0.17990.19000.17710.18050.1800
1110.02880.02900.02880.02840.0291
RMSE 9.87 × 10 3 3.17 × 10 3 1.55 × 10 3 4.83 × 10 4
Table 10. RMSE values for the inverse 3-qubit Q2siHT fast path circuit under noisy simulation (GenericBackendV2) for | x and | y .
Table 10. RMSE values for the inverse 3-qubit Q2siHT fast path circuit under noisy simulation (GenericBackendV2) for | x and | y .
Basis
States
Probabilities of | x
Theoretical1000 Shots10,000 Shots100,000 Shots1,000,000 Shots
000 0.01180.0660.06160.06230.0613
001 0.04710.1010.09680.09850.0986
110 0.01180.0680.06590.06730.0664
1110.10590.10.10540.1090.1091
RMSE 9.89 × 10 2 9.78 × 10 2 9.53 × 10 2 9.42 × 10 2
Basis
States
Probabilities of  | y
Theoretical1000 Shots10,000 Shots100,000 Shots1,000,000 Shots
000 0.02880.06100.06880.06990.0716
001 0.35250.23800.22640.23110.2313
110 0.17990.14400.15270.15180.1494
1110.02880.09000.07500.07520.0752
RMSE 1.07 × 10 1 1.05 × 10 1 1.02 × 10 1 1.01 × 10 1
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. New Circuits for Simultaneously Initiating Two Different Quantum Superpositions. Information 2025, 16, 1043. https://doi.org/10.3390/info16121043

AMA Style

Grigoryan AM, Gomez AA. New Circuits for Simultaneously Initiating Two Different Quantum Superpositions. Information. 2025; 16(12):1043. https://doi.org/10.3390/info16121043

Chicago/Turabian Style

Grigoryan, Artyom M., and Alexis A. Gomez. 2025. "New Circuits for Simultaneously Initiating Two Different Quantum Superpositions" Information 16, no. 12: 1043. https://doi.org/10.3390/info16121043

APA Style

Grigoryan, A. M., & Gomez, A. A. (2025). New Circuits for Simultaneously Initiating Two Different Quantum Superpositions. Information, 16(12), 1043. https://doi.org/10.3390/info16121043

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