mqt-core 3.0.2__cp311-cp311-win_amd64.whl → 3.2.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 (111) 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/dd.pyi +9 -22
  13. mqt/core/include/mqt-core/datastructures/DirectedAcyclicGraph.hpp +4 -4
  14. mqt/core/include/mqt-core/datastructures/DirectedGraph.hpp +7 -7
  15. mqt/core/include/mqt-core/datastructures/UndirectedGraph.hpp +8 -8
  16. mqt/core/include/mqt-core/dd/Approximation.hpp +45 -0
  17. mqt/core/include/mqt-core/dd/Complex.hpp +6 -0
  18. mqt/core/include/mqt-core/dd/ComplexNumbers.hpp +0 -18
  19. mqt/core/include/mqt-core/dd/ComputeTable.hpp +4 -1
  20. mqt/core/include/mqt-core/dd/DDDefinitions.hpp +0 -7
  21. mqt/core/include/mqt-core/dd/Edge.hpp +16 -0
  22. mqt/core/include/mqt-core/dd/Export.hpp +1 -2
  23. mqt/core/include/mqt-core/dd/Node.hpp +26 -49
  24. mqt/core/include/mqt-core/dd/Operations.hpp +27 -0
  25. mqt/core/include/mqt-core/dd/Package.hpp +141 -123
  26. mqt/core/include/mqt-core/dd/RealNumber.hpp +49 -66
  27. mqt/core/include/mqt-core/dd/RealNumberUniqueTable.hpp +14 -25
  28. mqt/core/include/mqt-core/dd/StateGeneration.hpp +143 -0
  29. mqt/core/include/mqt-core/dd/UnaryComputeTable.hpp +6 -4
  30. mqt/core/include/mqt-core/dd/UniqueTable.hpp +13 -39
  31. mqt/core/include/mqt-core/dd/statistics/PackageStatistics.hpp +8 -7
  32. mqt/core/include/mqt-core/dd/statistics/UniqueTableStatistics.hpp +0 -10
  33. mqt/core/include/mqt-core/ir/QuantumComputation.hpp +3 -0
  34. mqt/core/include/mqt-core/ir/operations/CompoundOperation.hpp +2 -0
  35. mqt/core/include/mqt-core/ir/operations/Expression.hpp +1 -1
  36. mqt/core/include/mqt-core/ir/operations/Operation.hpp +2 -2
  37. mqt/core/ir/operations.pyi +58 -86
  38. mqt/core/ir.cp311-win_amd64.pyd +0 -0
  39. mqt/core/lib/mqt-core-algorithms.lib +0 -0
  40. mqt/core/lib/mqt-core-circuit-optimizer.lib +0 -0
  41. mqt/core/lib/mqt-core-dd.lib +0 -0
  42. mqt/core/lib/mqt-core-ds.lib +0 -0
  43. mqt/core/lib/mqt-core-ir.lib +0 -0
  44. mqt/core/lib/mqt-core-na.lib +0 -0
  45. mqt/core/lib/mqt-core-qasm.lib +0 -0
  46. mqt/core/lib/mqt-core-zx.lib +0 -0
  47. mqt/core/plugins/__init__.py +0 -8
  48. mqt/core/plugins/qiskit/qiskit_to_mqt.py +6 -0
  49. mqt/core/share/cmake/mqt-core/AddMQTPythonBinding.cmake +52 -0
  50. mqt/core/share/cmake/mqt-core/PackageAddTest.cmake +4 -4
  51. mqt/core/share/cmake/mqt-core/mqt-core-config-version.cmake +3 -3
  52. mqt/core/share/cmake/mqt-core/mqt-core-config.cmake +1 -0
  53. mqt/core/share/cmake/mqt-core/mqt-core-targets.cmake +2 -2
  54. mqt_core-3.2.0.dist-info/DELVEWHEEL +2 -0
  55. {mqt_core-3.0.2.dist-info → mqt_core-3.2.0.dist-info}/METADATA +49 -23
  56. {mqt_core-3.0.2.dist-info → mqt_core-3.2.0.dist-info}/RECORD +60 -107
  57. {mqt_core-3.0.2.dist-info → mqt_core-3.2.0.dist-info}/WHEEL +1 -1
  58. mqt_core.libs/msvcp140.dll +0 -0
  59. mqt/core/include/nlohmann/adl_serializer.hpp +0 -55
  60. mqt/core/include/nlohmann/byte_container_with_subtype.hpp +0 -103
  61. mqt/core/include/nlohmann/detail/abi_macros.hpp +0 -100
  62. mqt/core/include/nlohmann/detail/conversions/from_json.hpp +0 -497
  63. mqt/core/include/nlohmann/detail/conversions/to_chars.hpp +0 -1118
  64. mqt/core/include/nlohmann/detail/conversions/to_json.hpp +0 -446
  65. mqt/core/include/nlohmann/detail/exceptions.hpp +0 -257
  66. mqt/core/include/nlohmann/detail/hash.hpp +0 -129
  67. mqt/core/include/nlohmann/detail/input/binary_reader.hpp +0 -3009
  68. mqt/core/include/nlohmann/detail/input/input_adapters.hpp +0 -492
  69. mqt/core/include/nlohmann/detail/input/json_sax.hpp +0 -727
  70. mqt/core/include/nlohmann/detail/input/lexer.hpp +0 -1633
  71. mqt/core/include/nlohmann/detail/input/parser.hpp +0 -519
  72. mqt/core/include/nlohmann/detail/input/position_t.hpp +0 -37
  73. mqt/core/include/nlohmann/detail/iterators/internal_iterator.hpp +0 -35
  74. mqt/core/include/nlohmann/detail/iterators/iter_impl.hpp +0 -751
  75. mqt/core/include/nlohmann/detail/iterators/iteration_proxy.hpp +0 -242
  76. mqt/core/include/nlohmann/detail/iterators/iterator_traits.hpp +0 -61
  77. mqt/core/include/nlohmann/detail/iterators/json_reverse_iterator.hpp +0 -130
  78. mqt/core/include/nlohmann/detail/iterators/primitive_iterator.hpp +0 -132
  79. mqt/core/include/nlohmann/detail/json_custom_base_class.hpp +0 -39
  80. mqt/core/include/nlohmann/detail/json_pointer.hpp +0 -988
  81. mqt/core/include/nlohmann/detail/json_ref.hpp +0 -78
  82. mqt/core/include/nlohmann/detail/macro_scope.hpp +0 -482
  83. mqt/core/include/nlohmann/detail/macro_unscope.hpp +0 -45
  84. mqt/core/include/nlohmann/detail/meta/call_std/begin.hpp +0 -17
  85. mqt/core/include/nlohmann/detail/meta/call_std/end.hpp +0 -17
  86. mqt/core/include/nlohmann/detail/meta/cpp_future.hpp +0 -171
  87. mqt/core/include/nlohmann/detail/meta/detected.hpp +0 -70
  88. mqt/core/include/nlohmann/detail/meta/identity_tag.hpp +0 -21
  89. mqt/core/include/nlohmann/detail/meta/is_sax.hpp +0 -159
  90. mqt/core/include/nlohmann/detail/meta/std_fs.hpp +0 -29
  91. mqt/core/include/nlohmann/detail/meta/type_traits.hpp +0 -795
  92. mqt/core/include/nlohmann/detail/meta/void_t.hpp +0 -24
  93. mqt/core/include/nlohmann/detail/output/binary_writer.hpp +0 -1838
  94. mqt/core/include/nlohmann/detail/output/output_adapters.hpp +0 -147
  95. mqt/core/include/nlohmann/detail/output/serializer.hpp +0 -988
  96. mqt/core/include/nlohmann/detail/string_concat.hpp +0 -146
  97. mqt/core/include/nlohmann/detail/string_escape.hpp +0 -72
  98. mqt/core/include/nlohmann/detail/value_t.hpp +0 -118
  99. mqt/core/include/nlohmann/json.hpp +0 -5258
  100. mqt/core/include/nlohmann/json_fwd.hpp +0 -75
  101. mqt/core/include/nlohmann/ordered_map.hpp +0 -359
  102. mqt/core/include/nlohmann/thirdparty/hedley/hedley.hpp +0 -2045
  103. mqt/core/include/nlohmann/thirdparty/hedley/hedley_undef.hpp +0 -158
  104. mqt/core/nlohmann_json.natvis +0 -278
  105. mqt/core/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake +0 -15
  106. mqt/core/share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake +0 -20
  107. mqt/core/share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake +0 -110
  108. mqt/core/share/pkgconfig/nlohmann_json.pc +0 -4
  109. mqt_core-3.0.2.dist-info/DELVEWHEEL +0 -2
  110. {mqt_core-3.0.2.dist-info → mqt_core-3.2.0.dist-info}/entry_points.txt +0 -0
  111. {mqt_core-3.0.2.dist-info → mqt_core-3.2.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,147 +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 <algorithm> // copy
12
- #include <cstddef> // size_t
13
- #include <iterator> // back_inserter
14
- #include <memory> // shared_ptr, make_shared
15
- #include <string> // basic_string
16
- #include <vector> // vector
17
-
18
- #ifndef JSON_NO_IO
19
- #include <ios> // streamsize
20
- #include <ostream> // basic_ostream
21
- #endif // JSON_NO_IO
22
-
23
- #include <nlohmann/detail/macro_scope.hpp>
24
-
25
- NLOHMANN_JSON_NAMESPACE_BEGIN
26
- namespace detail
27
- {
28
-
29
- /// abstract output adapter interface
30
- template<typename CharType> struct output_adapter_protocol
31
- {
32
- virtual void write_character(CharType c) = 0;
33
- virtual void write_characters(const CharType* s, std::size_t length) = 0;
34
- virtual ~output_adapter_protocol() = default;
35
-
36
- output_adapter_protocol() = default;
37
- output_adapter_protocol(const output_adapter_protocol&) = default;
38
- output_adapter_protocol(output_adapter_protocol&&) noexcept = default;
39
- output_adapter_protocol& operator=(const output_adapter_protocol&) = default;
40
- output_adapter_protocol& operator=(output_adapter_protocol&&) noexcept = default;
41
- };
42
-
43
- /// a type to simplify interfaces
44
- template<typename CharType>
45
- using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
46
-
47
- /// output adapter for byte vectors
48
- template<typename CharType, typename AllocatorType = std::allocator<CharType>>
49
- class output_vector_adapter : public output_adapter_protocol<CharType>
50
- {
51
- public:
52
- explicit output_vector_adapter(std::vector<CharType, AllocatorType>& vec) noexcept
53
- : v(vec)
54
- {}
55
-
56
- void write_character(CharType c) override
57
- {
58
- v.push_back(c);
59
- }
60
-
61
- JSON_HEDLEY_NON_NULL(2)
62
- void write_characters(const CharType* s, std::size_t length) override
63
- {
64
- v.insert(v.end(), s, s + length);
65
- }
66
-
67
- private:
68
- std::vector<CharType, AllocatorType>& v;
69
- };
70
-
71
- #ifndef JSON_NO_IO
72
- /// output adapter for output streams
73
- template<typename CharType>
74
- class output_stream_adapter : public output_adapter_protocol<CharType>
75
- {
76
- public:
77
- explicit output_stream_adapter(std::basic_ostream<CharType>& s) noexcept
78
- : stream(s)
79
- {}
80
-
81
- void write_character(CharType c) override
82
- {
83
- stream.put(c);
84
- }
85
-
86
- JSON_HEDLEY_NON_NULL(2)
87
- void write_characters(const CharType* s, std::size_t length) override
88
- {
89
- stream.write(s, static_cast<std::streamsize>(length));
90
- }
91
-
92
- private:
93
- std::basic_ostream<CharType>& stream;
94
- };
95
- #endif // JSON_NO_IO
96
-
97
- /// output adapter for basic_string
98
- template<typename CharType, typename StringType = std::basic_string<CharType>>
99
- class output_string_adapter : public output_adapter_protocol<CharType>
100
- {
101
- public:
102
- explicit output_string_adapter(StringType& s) noexcept
103
- : str(s)
104
- {}
105
-
106
- void write_character(CharType c) override
107
- {
108
- str.push_back(c);
109
- }
110
-
111
- JSON_HEDLEY_NON_NULL(2)
112
- void write_characters(const CharType* s, std::size_t length) override
113
- {
114
- str.append(s, length);
115
- }
116
-
117
- private:
118
- StringType& str;
119
- };
120
-
121
- template<typename CharType, typename StringType = std::basic_string<CharType>>
122
- class output_adapter
123
- {
124
- public:
125
- template<typename AllocatorType = std::allocator<CharType>>
126
- output_adapter(std::vector<CharType, AllocatorType>& vec)
127
- : oa(std::make_shared<output_vector_adapter<CharType, AllocatorType>>(vec)) {}
128
-
129
- #ifndef JSON_NO_IO
130
- output_adapter(std::basic_ostream<CharType>& s)
131
- : oa(std::make_shared<output_stream_adapter<CharType>>(s)) {}
132
- #endif // JSON_NO_IO
133
-
134
- output_adapter(StringType& s)
135
- : oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {}
136
-
137
- operator output_adapter_t<CharType>()
138
- {
139
- return oa;
140
- }
141
-
142
- private:
143
- output_adapter_t<CharType> oa = nullptr;
144
- };
145
-
146
- } // namespace detail
147
- NLOHMANN_JSON_NAMESPACE_END