Patent attributes
A hybrid data processing environment comprising a classical computing system and a quantum computing system is configured. A configuration of a first quantum circuit is produced from the classical computing system, the first quantum circuit being executable using the quantum computing system. Using the quantum computing system, the first quantum circuit is executed. Using a pattern recognition technique, a portion of the first quantum circuit that can be transformed using a first transformation operation to satisfy a constraint on the quantum circuit design is identified. The portion is transformed to a second quantum circuit according to the first transformation operation, wherein the first transformation operation comprises reconfiguring a gate in the first quantum circuit such that a qubit used in the gate complies with the constraint on the quantum circuit design while participating in the second quantum circuit. Using the quantum computing system, the second quantum circuit is executed.