mqt-core 3.0.2__cp311-cp311-win_amd64.whl → 3.1.0__cp311-cp311-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mqt-core might be problematic. Click here for more details.

Files changed (105) hide show
  1. mqt/core/__init__.py +3 -3
  2. mqt/core/_version.py +2 -2
  3. mqt/core/bin/mqt-core-algorithms.dll +0 -0
  4. mqt/core/bin/mqt-core-circuit-optimizer.dll +0 -0
  5. mqt/core/bin/mqt-core-dd.dll +0 -0
  6. mqt/core/bin/mqt-core-ds.dll +0 -0
  7. mqt/core/bin/mqt-core-ir.dll +0 -0
  8. mqt/core/bin/mqt-core-na.dll +0 -0
  9. mqt/core/bin/mqt-core-qasm.dll +0 -0
  10. mqt/core/bin/mqt-core-zx.dll +0 -0
  11. mqt/core/dd.cp311-win_amd64.pyd +0 -0
  12. mqt/core/include/mqt-core/dd/Approximation.hpp +45 -0
  13. mqt/core/include/mqt-core/dd/Complex.hpp +6 -0
  14. mqt/core/include/mqt-core/dd/ComplexNumbers.hpp +0 -18
  15. mqt/core/include/mqt-core/dd/ComputeTable.hpp +4 -1
  16. mqt/core/include/mqt-core/dd/DDDefinitions.hpp +0 -7
  17. mqt/core/include/mqt-core/dd/Edge.hpp +16 -0
  18. mqt/core/include/mqt-core/dd/Export.hpp +1 -2
  19. mqt/core/include/mqt-core/dd/Node.hpp +26 -49
  20. mqt/core/include/mqt-core/dd/Operations.hpp +27 -0
  21. mqt/core/include/mqt-core/dd/Package.hpp +138 -120
  22. mqt/core/include/mqt-core/dd/RealNumber.hpp +49 -66
  23. mqt/core/include/mqt-core/dd/RealNumberUniqueTable.hpp +14 -25
  24. mqt/core/include/mqt-core/dd/StateGeneration.hpp +143 -0
  25. mqt/core/include/mqt-core/dd/UnaryComputeTable.hpp +6 -4
  26. mqt/core/include/mqt-core/dd/UniqueTable.hpp +13 -39
  27. mqt/core/include/mqt-core/dd/statistics/PackageStatistics.hpp +8 -7
  28. mqt/core/include/mqt-core/dd/statistics/UniqueTableStatistics.hpp +0 -10
  29. mqt/core/include/mqt-core/ir/QuantumComputation.hpp +3 -0
  30. mqt/core/include/mqt-core/ir/operations/CompoundOperation.hpp +2 -0
  31. mqt/core/include/mqt-core/ir/operations/Operation.hpp +2 -2
  32. mqt/core/ir.cp311-win_amd64.pyd +0 -0
  33. mqt/core/lib/mqt-core-algorithms.lib +0 -0
  34. mqt/core/lib/mqt-core-circuit-optimizer.lib +0 -0
  35. mqt/core/lib/mqt-core-dd.lib +0 -0
  36. mqt/core/lib/mqt-core-ds.lib +0 -0
  37. mqt/core/lib/mqt-core-ir.lib +0 -0
  38. mqt/core/lib/mqt-core-na.lib +0 -0
  39. mqt/core/lib/mqt-core-qasm.lib +0 -0
  40. mqt/core/lib/mqt-core-zx.lib +0 -0
  41. mqt/core/plugins/__init__.py +0 -8
  42. mqt/core/plugins/qiskit/qiskit_to_mqt.py +6 -0
  43. mqt/core/share/cmake/mqt-core/AddMQTPythonBinding.cmake +52 -0
  44. mqt/core/share/cmake/mqt-core/PackageAddTest.cmake +4 -4
  45. mqt/core/share/cmake/mqt-core/mqt-core-config-version.cmake +3 -3
  46. mqt/core/share/cmake/mqt-core/mqt-core-config.cmake +1 -0
  47. mqt/core/share/cmake/mqt-core/mqt-core-targets.cmake +1 -1
  48. mqt_core-3.1.0.dist-info/DELVEWHEEL +2 -0
  49. {mqt_core-3.0.2.dist-info → mqt_core-3.1.0.dist-info}/METADATA +46 -21
  50. {mqt_core-3.0.2.dist-info → mqt_core-3.1.0.dist-info}/RECORD +54 -101
  51. {mqt_core-3.0.2.dist-info → mqt_core-3.1.0.dist-info}/WHEEL +1 -1
  52. mqt_core.libs/msvcp140.dll +0 -0
  53. mqt/core/include/nlohmann/adl_serializer.hpp +0 -55
  54. mqt/core/include/nlohmann/byte_container_with_subtype.hpp +0 -103
  55. mqt/core/include/nlohmann/detail/abi_macros.hpp +0 -100
  56. mqt/core/include/nlohmann/detail/conversions/from_json.hpp +0 -497
  57. mqt/core/include/nlohmann/detail/conversions/to_chars.hpp +0 -1118
  58. mqt/core/include/nlohmann/detail/conversions/to_json.hpp +0 -446
  59. mqt/core/include/nlohmann/detail/exceptions.hpp +0 -257
  60. mqt/core/include/nlohmann/detail/hash.hpp +0 -129
  61. mqt/core/include/nlohmann/detail/input/binary_reader.hpp +0 -3009
  62. mqt/core/include/nlohmann/detail/input/input_adapters.hpp +0 -492
  63. mqt/core/include/nlohmann/detail/input/json_sax.hpp +0 -727
  64. mqt/core/include/nlohmann/detail/input/lexer.hpp +0 -1633
  65. mqt/core/include/nlohmann/detail/input/parser.hpp +0 -519
  66. mqt/core/include/nlohmann/detail/input/position_t.hpp +0 -37
  67. mqt/core/include/nlohmann/detail/iterators/internal_iterator.hpp +0 -35
  68. mqt/core/include/nlohmann/detail/iterators/iter_impl.hpp +0 -751
  69. mqt/core/include/nlohmann/detail/iterators/iteration_proxy.hpp +0 -242
  70. mqt/core/include/nlohmann/detail/iterators/iterator_traits.hpp +0 -61
  71. mqt/core/include/nlohmann/detail/iterators/json_reverse_iterator.hpp +0 -130
  72. mqt/core/include/nlohmann/detail/iterators/primitive_iterator.hpp +0 -132
  73. mqt/core/include/nlohmann/detail/json_custom_base_class.hpp +0 -39
  74. mqt/core/include/nlohmann/detail/json_pointer.hpp +0 -988
  75. mqt/core/include/nlohmann/detail/json_ref.hpp +0 -78
  76. mqt/core/include/nlohmann/detail/macro_scope.hpp +0 -482
  77. mqt/core/include/nlohmann/detail/macro_unscope.hpp +0 -45
  78. mqt/core/include/nlohmann/detail/meta/call_std/begin.hpp +0 -17
  79. mqt/core/include/nlohmann/detail/meta/call_std/end.hpp +0 -17
  80. mqt/core/include/nlohmann/detail/meta/cpp_future.hpp +0 -171
  81. mqt/core/include/nlohmann/detail/meta/detected.hpp +0 -70
  82. mqt/core/include/nlohmann/detail/meta/identity_tag.hpp +0 -21
  83. mqt/core/include/nlohmann/detail/meta/is_sax.hpp +0 -159
  84. mqt/core/include/nlohmann/detail/meta/std_fs.hpp +0 -29
  85. mqt/core/include/nlohmann/detail/meta/type_traits.hpp +0 -795
  86. mqt/core/include/nlohmann/detail/meta/void_t.hpp +0 -24
  87. mqt/core/include/nlohmann/detail/output/binary_writer.hpp +0 -1838
  88. mqt/core/include/nlohmann/detail/output/output_adapters.hpp +0 -147
  89. mqt/core/include/nlohmann/detail/output/serializer.hpp +0 -988
  90. mqt/core/include/nlohmann/detail/string_concat.hpp +0 -146
  91. mqt/core/include/nlohmann/detail/string_escape.hpp +0 -72
  92. mqt/core/include/nlohmann/detail/value_t.hpp +0 -118
  93. mqt/core/include/nlohmann/json.hpp +0 -5258
  94. mqt/core/include/nlohmann/json_fwd.hpp +0 -75
  95. mqt/core/include/nlohmann/ordered_map.hpp +0 -359
  96. mqt/core/include/nlohmann/thirdparty/hedley/hedley.hpp +0 -2045
  97. mqt/core/include/nlohmann/thirdparty/hedley/hedley_undef.hpp +0 -158
  98. mqt/core/nlohmann_json.natvis +0 -278
  99. mqt/core/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake +0 -15
  100. mqt/core/share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake +0 -20
  101. mqt/core/share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake +0 -110
  102. mqt/core/share/pkgconfig/nlohmann_json.pc +0 -4
  103. mqt_core-3.0.2.dist-info/DELVEWHEEL +0 -2
  104. {mqt_core-3.0.2.dist-info → mqt_core-3.1.0.dist-info}/entry_points.txt +0 -0
  105. {mqt_core-3.0.2.dist-info → mqt_core-3.1.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,103 +0,0 @@
1
- // __ _____ _____ _____
2
- // __| | __| | | | JSON for Modern C++
3
- // | | |__ | | | | | | version 3.11.3
4
- // |_____|_____|_____|_|___| https://github.com/nlohmann/json
5
- //
6
- // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
7
- // SPDX-License-Identifier: MIT
8
-
9
- #pragma once
10
-
11
- #include <cstdint> // uint8_t, uint64_t
12
- #include <tuple> // tie
13
- #include <utility> // move
14
-
15
- #include <nlohmann/detail/abi_macros.hpp>
16
-
17
- NLOHMANN_JSON_NAMESPACE_BEGIN
18
-
19
- /// @brief an internal type for a backed binary type
20
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/
21
- template<typename BinaryType>
22
- class byte_container_with_subtype : public BinaryType
23
- {
24
- public:
25
- using container_type = BinaryType;
26
- using subtype_type = std::uint64_t;
27
-
28
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
29
- byte_container_with_subtype() noexcept(noexcept(container_type()))
30
- : container_type()
31
- {}
32
-
33
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
34
- byte_container_with_subtype(const container_type& b) noexcept(noexcept(container_type(b)))
35
- : container_type(b)
36
- {}
37
-
38
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
39
- byte_container_with_subtype(container_type&& b) noexcept(noexcept(container_type(std::move(b))))
40
- : container_type(std::move(b))
41
- {}
42
-
43
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
44
- byte_container_with_subtype(const container_type& b, subtype_type subtype_) noexcept(noexcept(container_type(b)))
45
- : container_type(b)
46
- , m_subtype(subtype_)
47
- , m_has_subtype(true)
48
- {}
49
-
50
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
51
- byte_container_with_subtype(container_type&& b, subtype_type subtype_) noexcept(noexcept(container_type(std::move(b))))
52
- : container_type(std::move(b))
53
- , m_subtype(subtype_)
54
- , m_has_subtype(true)
55
- {}
56
-
57
- bool operator==(const byte_container_with_subtype& rhs) const
58
- {
59
- return std::tie(static_cast<const BinaryType&>(*this), m_subtype, m_has_subtype) ==
60
- std::tie(static_cast<const BinaryType&>(rhs), rhs.m_subtype, rhs.m_has_subtype);
61
- }
62
-
63
- bool operator!=(const byte_container_with_subtype& rhs) const
64
- {
65
- return !(rhs == *this);
66
- }
67
-
68
- /// @brief sets the binary subtype
69
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/set_subtype/
70
- void set_subtype(subtype_type subtype_) noexcept
71
- {
72
- m_subtype = subtype_;
73
- m_has_subtype = true;
74
- }
75
-
76
- /// @brief return the binary subtype
77
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/subtype/
78
- constexpr subtype_type subtype() const noexcept
79
- {
80
- return m_has_subtype ? m_subtype : static_cast<subtype_type>(-1);
81
- }
82
-
83
- /// @brief return whether the value has a subtype
84
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/has_subtype/
85
- constexpr bool has_subtype() const noexcept
86
- {
87
- return m_has_subtype;
88
- }
89
-
90
- /// @brief clears the binary subtype
91
- /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/clear_subtype/
92
- void clear_subtype() noexcept
93
- {
94
- m_subtype = 0;
95
- m_has_subtype = false;
96
- }
97
-
98
- private:
99
- subtype_type m_subtype = 0;
100
- bool m_has_subtype = false;
101
- };
102
-
103
- NLOHMANN_JSON_NAMESPACE_END
@@ -1,100 +0,0 @@
1
- // __ _____ _____ _____
2
- // __| | __| | | | JSON for Modern C++
3
- // | | |__ | | | | | | version 3.11.3
4
- // |_____|_____|_____|_|___| https://github.com/nlohmann/json
5
- //
6
- // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
7
- // SPDX-License-Identifier: MIT
8
-
9
- #pragma once
10
-
11
- // This file contains all macro definitions affecting or depending on the ABI
12
-
13
- #ifndef JSON_SKIP_LIBRARY_VERSION_CHECK
14
- #if defined(NLOHMANN_JSON_VERSION_MAJOR) && defined(NLOHMANN_JSON_VERSION_MINOR) && defined(NLOHMANN_JSON_VERSION_PATCH)
15
- #if NLOHMANN_JSON_VERSION_MAJOR != 3 || NLOHMANN_JSON_VERSION_MINOR != 11 || NLOHMANN_JSON_VERSION_PATCH != 3
16
- #warning "Already included a different version of the library!"
17
- #endif
18
- #endif
19
- #endif
20
-
21
- #define NLOHMANN_JSON_VERSION_MAJOR 3 // NOLINT(modernize-macro-to-enum)
22
- #define NLOHMANN_JSON_VERSION_MINOR 11 // NOLINT(modernize-macro-to-enum)
23
- #define NLOHMANN_JSON_VERSION_PATCH 3 // NOLINT(modernize-macro-to-enum)
24
-
25
- #ifndef JSON_DIAGNOSTICS
26
- #define JSON_DIAGNOSTICS 0
27
- #endif
28
-
29
- #ifndef JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
30
- #define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON 0
31
- #endif
32
-
33
- #if JSON_DIAGNOSTICS
34
- #define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS _diag
35
- #else
36
- #define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS
37
- #endif
38
-
39
- #if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
40
- #define NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON _ldvcmp
41
- #else
42
- #define NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON
43
- #endif
44
-
45
- #ifndef NLOHMANN_JSON_NAMESPACE_NO_VERSION
46
- #define NLOHMANN_JSON_NAMESPACE_NO_VERSION 0
47
- #endif
48
-
49
- // Construct the namespace ABI tags component
50
- #define NLOHMANN_JSON_ABI_TAGS_CONCAT_EX(a, b) json_abi ## a ## b
51
- #define NLOHMANN_JSON_ABI_TAGS_CONCAT(a, b) \
52
- NLOHMANN_JSON_ABI_TAGS_CONCAT_EX(a, b)
53
-
54
- #define NLOHMANN_JSON_ABI_TAGS \
55
- NLOHMANN_JSON_ABI_TAGS_CONCAT( \
56
- NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS, \
57
- NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON)
58
-
59
- // Construct the namespace version component
60
- #define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX(major, minor, patch) \
61
- _v ## major ## _ ## minor ## _ ## patch
62
- #define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT(major, minor, patch) \
63
- NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX(major, minor, patch)
64
-
65
- #if NLOHMANN_JSON_NAMESPACE_NO_VERSION
66
- #define NLOHMANN_JSON_NAMESPACE_VERSION
67
- #else
68
- #define NLOHMANN_JSON_NAMESPACE_VERSION \
69
- NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT(NLOHMANN_JSON_VERSION_MAJOR, \
70
- NLOHMANN_JSON_VERSION_MINOR, \
71
- NLOHMANN_JSON_VERSION_PATCH)
72
- #endif
73
-
74
- // Combine namespace components
75
- #define NLOHMANN_JSON_NAMESPACE_CONCAT_EX(a, b) a ## b
76
- #define NLOHMANN_JSON_NAMESPACE_CONCAT(a, b) \
77
- NLOHMANN_JSON_NAMESPACE_CONCAT_EX(a, b)
78
-
79
- #ifndef NLOHMANN_JSON_NAMESPACE
80
- #define NLOHMANN_JSON_NAMESPACE \
81
- nlohmann::NLOHMANN_JSON_NAMESPACE_CONCAT( \
82
- NLOHMANN_JSON_ABI_TAGS, \
83
- NLOHMANN_JSON_NAMESPACE_VERSION)
84
- #endif
85
-
86
- #ifndef NLOHMANN_JSON_NAMESPACE_BEGIN
87
- #define NLOHMANN_JSON_NAMESPACE_BEGIN \
88
- namespace nlohmann \
89
- { \
90
- inline namespace NLOHMANN_JSON_NAMESPACE_CONCAT( \
91
- NLOHMANN_JSON_ABI_TAGS, \
92
- NLOHMANN_JSON_NAMESPACE_VERSION) \
93
- {
94
- #endif
95
-
96
- #ifndef NLOHMANN_JSON_NAMESPACE_END
97
- #define NLOHMANN_JSON_NAMESPACE_END \
98
- } /* namespace (inline namespace) NOLINT(readability/namespace) */ \
99
- } // namespace nlohmann
100
- #endif