There are properties of real quantum computers that go beyond the quantum abstract machine
(QAM) abstraction. Real devices have performance specs, limited ISAs, and restricted topologies.
AbstractDevice provides an abstract interface for accessing
properties of a real quantum device or for mocking out relevant properties for a more realistic
||A device (quantum chip) that can accept programs.|
||A shim over the AbstractDevice API backed by a NetworkX graph.|
The data structures used are documented here
||Basic Instruction Set Architecture specification.|
||Basic specifications for the device, such as gate fidelities and coherence times.|
isa_from_graph(graph, oneq_type='Xhalves', twoq_type=None)¶
Generate an ISA object from a NetworkX graph.
Parameters: Return type:
Generate a Specs object from a NetworkX graph with placeholder values for the actual specs.
Parameters: graph (
Graph) – The graph
Construct a NetworkX qubit topology from an ISA object.
This discards information about supported gates.
Parameters: isa (
ISA) – The ISA.