All Projects → dwave-examples → factoring

dwave-examples / factoring

Licence: Apache-2.0 License
Factor numbers using a quantum computer

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to factoring

awesome-intelligence-writing
Awesome collection of great and useful resources concerning intelligence writing such as manuals/guides, standards, books, and articles
Stars: ✭ 285 (+850%)
Mutual labels:  intelligence
GHOST
General meta-Heuristic Optimization Solving Toolkit
Stars: ✭ 28 (-6.67%)
Mutual labels:  constraint-satisfaction-problem
CASE
Cyber-investigation Analysis Standard Expression (CASE) Ontology
Stars: ✭ 46 (+53.33%)
Mutual labels:  intelligence
CS Book
🔥 Latest computer science e-books。提供最新技术类电子书下载, “我无非就是想卷死各位,或者被各位卷死!”
Stars: ✭ 40 (+33.33%)
Mutual labels:  intelligence
nurse-scheduling
A demo of a nurse scheduling model
Stars: ✭ 24 (-20%)
Mutual labels:  constraint-satisfaction-problem
pyeti
Python bindings for Yeti's API
Stars: ✭ 15 (-50%)
Mutual labels:  intelligence
nntrainer
NNtrainer is Software Framework for Training Neural Network Models on Devices.
Stars: ✭ 92 (+206.67%)
Mutual labels:  intelligence
Decider
An Open Source .Net Constraint Programming Solver
Stars: ✭ 112 (+273.33%)
Mutual labels:  constraint-satisfaction-problem
IntelArchitectureMap
Intelligence Architecture Mind Map
Stars: ✭ 41 (+36.67%)
Mutual labels:  intelligence
cortana-intelligence-energy-demand-forecasting
Energy industry solutions using the Cortana Intelligence Suite with end-to-end walkthrough.
Stars: ✭ 24 (-20%)
Mutual labels:  intelligence
TurboDataMiner
The objective of this Burp Suite extension is the flexible and dynamic extraction, correlation, and structured presentation of information from the Burp Suite project as well as the flexible and dynamic on-the-fly modification of outgoing or incoming HTTP requests using Python scripts. Thus, Turbo Data Miner shall aid in gaining a better and fas…
Stars: ✭ 46 (+53.33%)
Mutual labels:  intelligence
ThreatPursuit-VM
Threat Pursuit Virtual Machine (VM): A fully customizable, open-sourced Windows-based distribution focused on threat intelligence analysis and hunting designed for intel and malware analysts as well as threat hunters to get up and running quickly.
Stars: ✭ 1,033 (+3343.33%)
Mutual labels:  intelligence
Vendor-Threat-Triage-Lookup
Lookup file hashes, domain names and IP addresses using various vendors to assist with triaging potential threats.
Stars: ✭ 17 (-43.33%)
Mutual labels:  intelligence
Scylla
The Simplistic Information Gathering Engine | Find Advanced Information on a Username, Website, Phone Number, etc.
Stars: ✭ 424 (+1313.33%)
Mutual labels:  intelligence
YAFRA
YAFRA is a semi-automated framework for analyzing and representing reports about IT Security incidents.
Stars: ✭ 22 (-26.67%)
Mutual labels:  intelligence
facile
Python constraint programming library
Stars: ✭ 21 (-30%)
Mutual labels:  constraint-satisfaction-problem
3-D-Scene-Graph
3D scene graph generator implemented in Pytorch.
Stars: ✭ 52 (+73.33%)
Mutual labels:  intelligence
knapsack
Implementation of knapsack problem, set up for scaling to large problem size
Stars: ✭ 17 (-43.33%)
Mutual labels:  constraint-satisfaction-problem
circuit-fault-diagnosis
Find possible failing components on a circuit.
Stars: ✭ 18 (-40%)
Mutual labels:  constraint-satisfaction-problem
awesome-artificial-general-intelligence
Resources about Artificial General Intelligence
Stars: ✭ 211 (+603.33%)
Mutual labels:  intelligence

Linux/Mac/Windows build status

Factoring

This code demonstrates the use of the D-Wave system to solve a factoring problem. This is done by turning the problem into a three-bit multiplier circuit.

Usage

A minimal working example using the main interface function can be seen by running:

python demo.py

The user is prompted to enter a six-bit integer: P, which represents a product to be factored.

Input product        ( 0 <= P <= 63):

The algorithm returns possible A and B values, which are the inputs the circuit multiplies to calculate the product, P.

Code Overview

Integer factoring is the decomposition of an integer into factors that, when multiplied together, give the original number. For example, the factors of 15 are 3 and 5.

D-Wave quantum computers allow us to factor numbers in an entirely new way, by turning a multiplication circuit into a constraint satisfaction problem that allows the quantum computer to compute inputs from a predefined output. Essentially, this means running the multiplication circuit in reverse!

A Boolean logic circuit is usually viewed as computing outputs from inputs based on the logic of the gates. However, the problem can also be thought of as seeking an assignment of values to the inputs and outputs consistent with the logic of all the gates in the circuit. This perspective of constraint satisfaction has no directionality. That is, input values do not need to flow through a series of gates to yield a result, as they do in a multiplication circuit.

License

Released under the Apache License 2.0. See LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].