artiste-qb-net / qubiter

Python tools for reading, writing, compiling, simulating quantum computer circuits. Includes numpy and tensorflow backends. “Quantum Space, the final frontier. These are the voyages of the starship Qubiter. Its five-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.”
Other
120 stars 31 forks source link

Coalescing qubits in Stairs Circuit #37

Open rrtucci opened 5 years ago

rrtucci commented 5 years ago

For the Stairs Circuit, suppose, for instance, that you have 10 qubits (0, 1, 2, ..., 9) and you want to "coalesce" qubits 5 and 6. In a fully connected quantum bayesian network, qubit 5 would have qubits (6, 7, 8, 9) as parents, and qubit 6 would have qubits (7, 8, 9) as parents. By coalescing 5 and 6, we go to a non-fully connected qb net in which 5 and 6 have the same set of parents. For instance, 5 and 6 might both have (8, 9) as parents. Thus, in this example, coalescing qubits 5 and 6 produces a node 5_6 with 4 states (qudit with d=4) and 2 parents, namely qubits (8, 9).