Skip to main content
Ctrl+K
D-Wave Quantum Computing Products  documentation - Home D-Wave Quantum Computing Products  documentation - Home
  • Industrial Optimization
  • Quantum Research
  • Ocean SDK
  • Leap Service
  • Concepts
    • Licenses
    • Bibliography
  • GitHub
  • Leap
  • Leap
  • Industrial Optimization
  • Quantum Research
  • Ocean SDK
  • Leap Service
  • Concepts
  • Licenses
  • Bibliography
  • GitHub
  • Leap
  • Leap

Section Navigation

  • Get Started with Ocean Software
  • Reference Documentation
    • dimod — 0.12.22
      • API Reference
        • Models: BQM, CQM, QM, Others
        • Generators and Application Modeling
        • Utilities
        • Samples
        • Vartype
        • Samplers and Composites
        • API for Samplers and Composites
        • Variables
        • Exceptions
        • Typing
        • C++ API
        • Effective Sample Size
    • dwavebinarycsp — deprecated
    • dwave-cloud-client — 0.14.6
    • dwave-gate — 0.3.5
    • dwave-graphs — 1.0.0
    • dwave-hybrid — 0.6.16
    • dwave-inspector — 0.5.5
    • dwave-networkx — deprecated
    • dwave-optimization — 0.7.1
    • dwave-preprocessing — 0.6.11
    • dwave-samplers — 1.8.0
    • dwave-system — 1.35.0
    • minorminer — 0.2.22
    • penaltymodel — deprecated
  • CLI
  • Source Code
  • Ocean SDK Release Notes
  • Contribute
  • AI Policy
  • Ocean SDK
  • Reference Documentation
  • dimod
  • API Reference
  • Models: BQM, CQM, QM, Others
  • dimod.binary.BinaryQuadraticModel.shape

dimod.binary.BinaryQuadraticModel.shape#

property BinaryQuadraticModel.shape: Tuple[int, int][source]#

A 2-tuple of num_variables and num_interactions.

On this page
  • BinaryQuadraticModel.shape
Show Source

© Copyright D-Wave.

Ocean SDK version 9.4.0.